API introduction
Versioning
The API address contains its version: /api/v1. The API stays on this version and only grows.
How versions work#
- Within
/v1fields, calls and webhook events are only ever added, never renamed, removed or given a different meaning. Write your code so that it ignores fields it does not know, and so that it can cope with a new value in a list of choices (for example a new order source). - The original four calls (
GET /products,GET /products/{id},GET /orders,GET /orders/{number}) answer as they always did, plus fields that were added at the end. Add?expand=fullto get the extra fields: products getstatus, category_id, hsn, gst_rate, sort, created_at, updated_at, description; orders gettracking_url, cancel_reason, refund_status, refunded_amount, updated_at, gift, gift_message, packaging. Every order carries the read-onlysource. Answers to writes and webhooks always use the full shape. - Ids are stable: an id is never reused or changed.
- The API definition is released together with the platform. The OpenAPI file and the Postman collection in the downloads carry the platform version they describe (currently 1.0.97) and say they are for API v1.
- Webhook messages carry their own
api_version(currently 2026-11-21). It names the format of the message. See Webhooks.
Where to see what changed#
The API changes page lists what each platform version added to the API and the webhooks. The general Release notes cover everything else in each update.