Skip to main content

Service protection limits

E-commerce traffic is spiky by nature, so the Storefront API has no per-consumer rate limits.

We want your spikes in traffic during sales.

Unlike the Integration API, which enforces explicit rate limits for backend integrations, the Storefront API is built for user-facing traffic — all system capacity is made available to accommodate a growing business.

Internal usage policies ensure fairness, protect against abuse, and keep the platform stable, so your users’ shopping experience stays enjoyable.

Temporary backpressure​

On very rare occasions the API may temporarily respond with 429 Too Many Requests — normally only for a few seconds, while autoscaling is catching up with an exceptional traffic peak, or for bursts of mutations.

The response contains a Retry-After header according to RFC 6585: the number of seconds to wait before retrying, for example Retry-After: 5.

We expect your storefront to handle this gracefully:

  • Wait for the duration specified in the Retry-After header, then retry automatically — don’t surface an error or drop the user’s cart.
  • Show your normal loading state while waiting. If the wait stretches beyond a few seconds, tell the user what’s happening, for example: "It’s busy right now — you’re in line and your order will go through in a moment. Hold tight!"

Recommendations​

Even without hard limits, smoothing out and reducing load keeps your storefront fast. We recommend:

Request less data

  • Request only the fields you need.
  • Request data only for the relevant market/language when possible.
  • Apply sorting only when necessary.
  • Avoid excessively nested objects.
  • Use a reasonable page size for pagination.

Shape your traffic

  • Cache data when possible.
  • Spread requests more evenly as the user navigates your app, rather than bursting.
  • Combine concurrent API calls into a single request where the API allows it.
  • Avoid N+1 request patterns — one call per product, page, or list item — fetch the data in one request instead.

Fail gracefully

  • Handle all errors so requests aren’t retried when they’re likely to fail again.
  • If you receive a 429, see Temporary backpressure.