curl --request POST \
--url https://pay.chargily.net/test/api/v2/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"images": [
"<string>"
],
"metadata": {}
}'
{
"id": "01hhyjnrdbc1xhgmd34hs1v3en",
"entity": "product",
"livemode": false,
"name": "Super Product",
"description": null,
"images": [],
"metadata": [],
"created_at": 1702907011,
"updated_at": 1702911993
}
Body parameters
The description of the product.
Up to 8 URLs of images of the product.
A Set of key-value pairs that can be used to store additional information about the product.
Returns
If the request is successful, it returns a product object.
{
"id": "01hhyjnrdbc1xhgmd34hs1v3en",
"entity": "product",
"livemode": false,
"name": "Super Product",
"description": null,
"images": [],
"metadata": [],
"created_at": 1702907011,
"updated_at": 1702911993
}