REST v3, one path per store
Ecwid’s REST API is on v3, with every store under its own base path, app.ecwid.com/api/v3/{storeId}, and JSON in both directions.
Tokens that do not expire
An app gets its access when the merchant installs it, through OAuth 2.0: a secret token, plus a public token if the app asks for one. Tokens do not expire, and each one works for one app in one store. Requests carry it as a Bearer token.
Rate limits
Ecwid accepts up to 600 requests a minute per token. Over the limit, further requests are refused with a 429 and a Retry-After header saying when to try again.
Products and variations
Options live on the product. Variations, which the API calls combinations, are separate objects identified by a set of option values, each with its own price, SKU and stock; a variation’s price is its base price, before any modifiers. The API pages set no maximum number of variations per product.
Writing prices with the Batch API
Ecwid has no batch endpoint for prices, but its Batch API takes up to 500 ordinary REST requests in one call. They run one after another, or up to 100 at a time in parallel mode, and the call answers with a ticket that the results are read with later.
POST /api/v3/{storeId}/batch?stopOnFirstFailure=false Authorization: Bearer secret_… Content-Type: application/json [ { "id": "p1", "path": "/products/123", "method": "PUT", "body": { "price": 45.00 } }, { "id": "v1", "path": "/products/124/combinations/7", "method": "PUT", "body": { "price": 39.00 } } ]
Pagination and webhooks
Lists page with offset and limit, 100 items at most, which is also the default. For product changes Ecwid sends product.created, product.updated, which also fires when stock changes, and product.deleted, along with category events.