Edit Product
PUT
https://us-central1-appgregator.cloudfunctions.net/stripe/products/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
stripe-1
Headers
Name
Type
Description
x-api-key*
String
XXX
Request Body
Name
Type
Description
active
Boolean
false
{
"id": "003",
"object": "product",
"active": false,
"attributes": [],
"created": 1675735411,
"default_price": "price_1MYgWtIyq0PiFIhUAK9M3qbi",
"description": "webinar",
"images": [],
"livemode": false,
"metadata": {},
"name": "webinar3",
"package_dimensions": null,
"shippable": null,
"statement_descriptor": null,
"tax_code": null,
"type": "service",
"unit_label": null,
"updated": 1675824475,
"url": null
}
curl --location --request PUT 'https://us-central1-appgregator.cloudfunctions.net/stripe/products/003?name=ft-4&connection_name=stripe-1' \
--header 'x-api-key: XXX' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'active=false'
Last updated