Ecwid REST API: tokens, limits and batch requests

How an app gets into an Ecwid store, how fast it can call, and how it changes many prices at once with the Batch API. Every figure comes from Ecwid’s own developer documentation.

By the Zikkio team Updated

In short

API
REST v3, one base path per store
Access
OAuth 2.0 on install: a secret token per app and store
Token lifetime
Does not expire
Rate limit
600 requests a minute per token
Variations
Separate objects with their own price, SKU and stock
Bulk writes
Batch API: up to 500 requests a call

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.

Ecwid: the price of a product and of one variation, sent as one batch.
POST /api/v3/{storeId}/batch
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.

Ecwid through Zikkio

Connect your first store today.

Free plan with 5,000 API calls a month and unlimited stores. No card, and no sales call unless you ask for one.

POST /api/v1/connections
{
  "platform": "wix",
  "shop": "1a2b3c4d-…",
  "client_id": "your-wix-app-id",
  "client_secret": "…"
}
201 Created
{ "data": { "id": 12, "status": "active" } }