Bulk Apply Quantity Break Ladder
POST/api/admin/portal/pricing/quantity-break-products/bulk-apply-ladder
Give many products the same quantity-break ladder on one pricing tier. Each step's price is the product's own price on that tier less percent_off, rounded to cents. It replaces the tier's existing breaks on those products; products with no price on the tier are skipped and counted in skipped. Calculated tiers are rejected (they follow their base tier).
customers:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Target either ids (product ids, max 1,000) or apply_to_all: true with filters (the same search / filter_groups the list endpoint takes) to act on every matching product. More than 1,000 matches returns 422.
Body: tier_id (required), steps (1-9 items, each min_quantity integer 2+ and distinct, percent_off 0-100).
Requires the products.manage_pricing permission. Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.