Update adjustments by cart

Updates one or more adjustment records for the given cartId.

Mandatory Fields (each adjustment):

  • Id - required to identify the record to update
  • LineItemId - links the adjustment to a specific line item
  • AdjustmentType and AdjustmentAmount - both required together when applying an adjustment

Required Fields:

  • cartId (route) - required
  • adjustmentLineItems (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.
  • Duplicate records with the same Id are removed before processing (last wins).
  • Updated adjustments trigger asynchronous re-pricing (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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The cart's unique identifier

Body Params

The adjustment line items

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
200

Adjustments updated successfully.

202

Adjustment update accepted and is being processed.

500

An unexpected error occurred while updating adjustments.

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json