Versioning
This page
This API serves 2 versions at once. The version is part of the path, so a request names the version it wants.
Versions#
| Version | Status | Endpoints |
|---|---|---|
v2 |
current | 15 |
v1 |
deprecated — retires 2026-09-01 | 9 |
New integrations should use v2.
v2 compared with v1#
New in v2:
PATCH /api/v2/customers/{customer}— Update a customerDELETE /api/v2/customers/{customer}— Delete a customerGET /api/v2/orders/{order}— Retrieve an orderPOST /api/v2/orders/{order}/refunds— Refund an orderGET /api/v2/products/{product}— Retrieve a productGET /api/v2/webhooks— List webhook endpointsPOST /api/v2/webhooks— Register a webhook endpoint
In v1 but not in v2:
GET /api/v1/products/search— Search products
The other 8 operations exist in both versions at the same path. Each one's page links to its newer edition.
What changed in the operations both versions have:
GET /api/v2/customers— List customers- accepts a new optional query parameter
q
- accepts a new optional query parameter
POST /api/v2/orders— Create an order- requires a new header parameter
Idempotency-Key
- requires a new header parameter
Free while you are building.
Get an API key