Size limits on cart requests, and rate limits in observe mode
Cart requests are capped at 100 lines and 10,000 units a line. Per-buyer and per-storefront rate limits on cart and checkout are being measured, not enforced.
Shipped Entry updated AddedChanged
The expensive half of the storefront API is the part that writes: carts, promotion codes, delivery quotes and checkout.
Changed
- Cart requests have a size limit. One request can carry at most 100 lines and 10,000 units on a line. Larger requests are refused with a validation error that names the limit.
Added
- Rate limits, measured first. Cart, quote, checkout and promotion-code calls have limits per signed-in buyer and per storefront. For now they run in observe mode: calls over a limit are logged, not refused. In enforce mode an over-limit call gets a
429with the codeRATE_LIMITEDand aRetry-Afterheader. Reads are not limited.

