Update ad hoc summary groups

Updates ad hoc summary groups for a cart by specifying a line item field name to dynamically group cart line items. Ad hoc groups allow flexible grouping of line items based on any line item field without predefined configuration. This enables on-demand summary grouping for reporting and display purposes.

Required Fields:

  • cartId (route) - required
  • adhocGroup (body) - required

Responses

  • 200 OK: the ad hoc summary groups were updated.
  • 400 Bad Request: the request payload is invalid.
  • 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

The cart's unique identifier

Body Params

Ad hoc group model - Line Item field name

string | null

LineItem Field Name to be used for Adhoc totaling.

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