Create multiple AdHoc Groups.

Creates a list of AdHoc Groups for the specified cart.
Validates for duplicate names and sequences within the cart.
Returns the created groups or validation errors.
Currently only Name, Id and Sequence hold significance.

Mandatory Fields (each record):

  • Name - required on POST; duplicate names not allowed
  • Sequence - when provided must be greater than 0; no duplicates allowed

Required Fields:

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

Behavior

  • Requires the EnableCartAdhocGroups feature to be enabled; returns 500 with a localized message when disabled.
  • The body must be a non-empty array; each record is validated for duplicate Name and Sequence within the cart.
  • Only Name, Id, and Sequence are currently significant; other fields are accepted but not used.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

The list of AdHoc Groups to create.

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

500

The AdHoc Groups feature is not enabled or an unexpected error occurred.

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