Skip to main content

Update Quantity Break

PATCH 

/api/admin/portal/pricing/quantity-breaks/:quantityBreak

Update a volume break.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Ladder rules. A volume ladder must never make a larger quantity cost more per unit, so a rung is rejected with 422 when it would:

  • cost more per unit than any rung with a smaller minimum quantity (or less than one above it),
  • sit above the tier's own base price for that product — a volume break outranks the base price, so a rung dearer than list would actually be charged,
  • reuse a minimum quantity that already has a rung for this tier and product.

These rejections return {"error": "..."} with a message naming the conflicting rung. Field-level validation failures return the standard {"message", "errors"} shape.

Request

Responses

OK

Response Headers
    Content-Type