Docs
Add Line Item Group
POST /Orders/{orderId}/line-groups
POST
/Orders/{orderId}/line-groupsAdds a group with a name and optional notes to the end of the order's groups, for organising lines. Refused while the order is Paid, or Abandoned or Canceled (reopen first); an internal order only once Canceled. Returns the new group's id. Works the same on an organization-level order (org token).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| notes | string | Optional |
Response
Type: uuid