Products
Retrieve a product
- Documentation
- API Reference
- Community
- The Customer object
- POSTCreate a customer
- POSTUpdate a customer
- GETRetrieve a customer
- GETList all customers
- DELDelete a customer
- The Product object
- POSTCreate a product
- POSTUpdate a Product
- GETRetrieve a product
- GETList all products
- DELDelete a product
- GETRetrieve a products's prices
Customers
Products
Products
Retrieve a product
Retrieves all the information of an already-existing product by providing it’s unique identifier (ID).
GET
/
products
/
{id}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
id
string
id
string
The ID of the product.
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
}
Path parameters
id
string
The ID of the product.
Returns
If a valid ID is provided, it returns a product object.
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
}