cURL
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 }
Creates a new product.