Docs
Add Extracted Group
POST /extractions/{extractionId}/groups
POST
/extractions/{extractionId}/groupsAdds a named group with an entered subtotal to the extraction and returns its id. Use it at Group pricing level, where lines carry no price of their own. Only while the extraction is Ready, Flagged or NoLineItems. Needs Order.Edit on its order (Expense.Edit at the event for an expense extraction).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| extractionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| subtotal | number | Optional |
Response
Type: uuid