Create a product
POST
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
name*
String
sepatu adidas
id
String
012
description
String
sepatu olahraga
active
Boolean
true
{
"id": "012",
"object": "product",
"active": true,
"attributes": [],
"created": 1675823585,
"default_price": null,
"description": "sepatu olahraga",
"images": [],
"livemode": false,
"metadata": {},
"name": "sepatu adidas",
"package_dimensions": null,
"shippable": null,
"statement_descriptor": null,
"tax_code": null,
"type": "service",
"unit_label": null,
"updated": 1675823585,
"url": null
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/stripe/products?name=ft-4&connection_name=stripe-1' \
--header 'x-api-key: XXX' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=sepatu adidas' \
--data-urlencode 'active=true' \
--data-urlencode 'description=sepatu olahraga' \
--data-urlencode 'id=012'
Last updated