put
https://rls.congacloud.com/api/cart/v1/carts//items//usage-tiers
Updates existing usage price tiers for a specific line item within a cart. This operation modifies the pricing structure tiers based on usage volumes or quantities. Each usage price tier in the request must include an ID to identify which tier to update. Duplicate tier IDs in the request are automatically removed before processing. The cartId and lineItemId must be valid and the request must include at least one usage price tier with an ID.
Note: The object must have an ID to update the usage price tier.
Mandatory Fields (each usage price tier):
Id- required to identify which tier to updateSequence- 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 updated.
- 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
