Update summary groups by cart

Updates summary groups for the given cart ID, based on user adjustments.

Mandatory Fields (each summary group):

  • Id - required to identify which summary group to update
  • LineType - must be: Subtotal, Total, Grand Total, Group Total, or Category Total
  • GroupType - must be: Category, Product, or Ad hoc
  • AdjustmentAmount - required when AdjustmentType is set
  • AdjustmentType - required when AdjustmentAmount is set

Required Fields:

  • cartId (route) - required
  • summaryGroups (body) - must not be null or empty

Responses

  • 200 OK: the summary groups were updated.
  • 400 Bad Request: validation failed for the summary groups.
  • 500 Internal Server Error: an unexpected error occurred.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

A unique identifier of the cart

Body Params

A list of summary groups

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

500

Internal Server Error

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