post
https://rls.congacloud.com/api/cart/v1/carts//items//usage-tiers
Creates usage price tiers for a specific line item within a cart. Usage price tiers define pricing structures based on usage volumes or quantities. Each tier specifies a range and corresponding pricing that applies when usage falls within that range. The cartId and lineItemId must be valid and the request must include at least one usage price tier.
Mandatory Fields (each usage price tier):
Sequence- required and must be greater than 0LineItem- requiredLineItem.Id- required and must match theitemIdroute valueTierStartValue- required when tier values are applicable
Required Fields:
cartId(route) - requireditemId(route) - required
Responses
- 200 OK: the usage tiers were created.
- 400 Bad Request: the request payload is empty or invalid.
- 500 Internal Server Error: an unexpected error occurred.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
500Internal Server Error
