REST V3, V2 and GraphQL
BigCommerce’s REST API serves products under V3, while some resources, orders among them, are still on V2. GraphQL APIs exist alongside. Every REST request goes to api.bigcommerce.com, with the hash of the store in the path; the OAuth token exchange at install goes to login.bigcommerce.com.
Access tokens from the install
When a merchant installs an app, BigCommerce runs an OAuth authorization code flow, and the app exchanges the code for an access token for that store. The token goes in the X-Auth-Token header. It does not expire with time and cannot be invalidated by hand; a new one replaces it when the app’s OAuth scopes change or when the merchant’s email address changes.
A rate limit shared by every app
BigCommerce counts requests per store, not per app: every app installed on a store shares the store’s quota, refreshed every 30 seconds. The quota depends on the store’s plan, Performance stores have quotas set by plan and resource, and response headers such as X-Rate-Limit-Requests-Left and X-Rate-Limit-Time-Reset-Ms say how much is left and when it resets.
| Store plan | Every 30 seconds | Every hour |
|---|---|---|
| Growth and Core | 150 requests | 20,000 requests |
| Scale | 450 requests | 60,000 requests |
Scroll sideways to see every column.
Variants and SKUs
Each variant is a separate object with its own SKU, made of a combination of variant option values; a product without options still has one base variant. A product can have up to 600 SKUs.
Writing prices in batches
Three endpoints change many prices in one request: a batch update for products, one for variants, and bulk records for price lists, with up to two price list upserts running at once. The variants limit, the docs say, is subject to change.
| Scope | Endpoint, under /v3 | Per request |
|---|---|---|
| Products | catalog/products |
Up to 10 products |
| Variants | catalog/variants |
Up to 50 variants |
| Price lists | pricelists/{id}/records |
Up to 1,000 records |
Scroll sideways to see every column.
PUT /stores/{store_hash}/v3/catalog/variants X-Auth-Token: … Content-Type: application/json [ { "id": 382, "price": 45.00 }, { "id": 383, "price": 45.00, "sale_price": 39.00 } ]
Pagination and webhooks
Lists page with page and limit: 50 items by default and up to 250, with totals and links in meta.pagination. For product changes BigCommerce sends webhooks such as store/product/created, store/product/updated and store/product/deleted, store/sku events for variants, and inventory events for both.