Request body includes optional mode (default append). append: add new PUBLIC receipts to existing non-internal receipts. overwrite: replace existing non-internal receipts with only the lines sent in this request (idempotent full sync). Multiple lines for the same reservation combine in request order. Optional closed: last line per reservation wins.
- Method:
POST
- Path:
/venues/{venueId}/admission-groups/bulk-receipts
- Operation ID:
bulkCreateReceipts
- Tags: Admission Groups
Path Parameters
| Name | Type | Required | Description |
|---|
venueId | string | Yes | |
Header Parameters
| Name | Type | Required | Description |
|---|
x-tl-api-key | string | Yes | |
Request Body
application/json
Schema: object
| Field | Type | Required | Description |
|---|
mode | string | No | append: add new PUBLIC receipts to existing non-internal receipts; overwrite: replace non-internal receipts with only the lines in this request (idempotent full sync per reservation). |
receipts | array<object> | Yes | One object per receipt line; match reservation by admissionGroupId or posCode. |
Responses
201
{ updated, errors } per line.
- Content-Type:
application/json
| Field | Type | Required | Description |
|---|
updated | array<object> | Yes | |
errors | array<object> | Yes | |
default
unexpected error
- Content-Type:
application/json
| Field | Type | Required | Description |
|---|
message | string | Yes | |
errors | array<object> | Yes | |
errorData | object | No | |