Retrieves all the prices of a product.
cURL
curl --request GET \ --url https://pay.chargily.net/test/api/v2/products/{id}/prices \ --header 'Authorization: Bearer <token>'
{ "livemode": false, "current_page": 1, "data": [ { "id": "01hkfeqh157vnbtv7xrrcgchpr", "entity": "price", "amount": 5000, "currency": "dzd", "metadata": { "brand": "apple" }, "created_at": 1704547042, "updated_at": 1704547042, "product_id": "01hkfdv9grv7eyyzxrzqz72596" }, { "id": "01hkfekvqyc5tnhw7pyg5yw2vs", "entity": "price", "amount": 5000, "currency": "dzd", "metadata": { "color": "red" }, "created_at": 1704546922, "updated_at": 1704546922, "product_id": "01hkfdv9grv7eyyzxrzqz72596" } ], "first_page_url": "http://pay.chargily.local/test/api/v2/products/01hkfdv9grv7eyyzxrzqz72596/prices?page=1", "last_page": 1, "last_page_url": 1, "next_page_url": null, "path": "http://pay.chargily.local/test/api/v2/products/01hkfdv9grv7eyyzxrzqz72596/prices", "per_page": 10, "prev_page_url": null, "total": 2 }
Documentation IndexFetch the complete documentation index at: https://dev.chargily.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://dev.chargily.com/llms.txt
Use this file to discover all available pages before exploring further.
per_page