Retrieves all the information of an already-existing product by providing it’s unique identifier (ID).
curl --request GET \
--url https://pay.chargily.net/test/api/v2/products/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "01hhyjnrdbc1xhgmd34hs1v3en",
"entity": "product",
"livemode": false,
"name": "Super Product",
"description": null,
"images": [],
"metadata": [],
"created_at": 1702907011,
"updated_at": 1702911993
}
The ID of the product.
If a valid ID is provided, it returns a product object.
{
"id": "01hhyjnrdbc1xhgmd34hs1v3en",
"entity": "product",
"livemode": false,
"name": "Super Product",
"description": null,
"images": [],
"metadata": [],
"created_at": 1702907011,
"updated_at": 1702911993
}
curl --request GET \
--url https://pay.chargily.net/test/api/v2/products/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "01hhyjnrdbc1xhgmd34hs1v3en",
"entity": "product",
"livemode": false,
"name": "Super Product",
"description": null,
"images": [],
"metadata": [],
"created_at": 1702907011,
"updated_at": 1702911993
}