post
https://rls.congacloud.com/api/cart/v1/carts//adjustments
Creates one or more adjustments.
Mandatory Fields (each adjustment):
LineItemId- links the adjustment to a specific line itemAdjustmentTypeandAdjustmentAmount- both required together when applying an adjustment
Required Fields:
cartId(route) - requiredadjustmentLineItems(body) - must not be null or empty
Behavior
- The body must be a non-empty array; an empty or null list returns 400 Bad Request.
- Adjustments are applied to the referenced line items and the cart is re-priced asynchronously (202 Accepted while processing).
- Access to the product configuration is enforced by the configuration access filter (403 Forbidden when not permitted).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Adjustments created successfully.
202Adjustment request accepted and is being processed.
500An unexpected error occurred while creating adjustments.
