Comprehensively update a receipt with multiple fields
cid and id fields must not change. If different values are sent, the system will treat it as a new receipt and return an error.order_status, order_number, fiscal_id, lock) and can update receipts after they are closed.delivery_fee, description, guests, discount_type, discount_value, discount_rate, customer_id, and can also close receipts.| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier of the receipt to update. |
| Field | Type | Required | Description |
|---|---|---|---|
cid | string (UUID) | Yes | Client identifier. Must match the existing receipt’s CID - cannot be changed. |
id | number | Yes | Receipt ID. Must match the path parameter - cannot be changed. |
delivery_fee | integer | No | Delivery fee amount. |
description | string | No | Receipt description. Maximum 500 characters. |
order_number | string | No | Order number identifier (e.g., "002"). |
order_status | string (enum) | No | Order status. Valid values: "NEW", "SCHEDULED", "IN_PROGRESS", "READY", "PICKED_UP", "COMPLETED", "CANCELLED". |
guests | number | No | Number of guests. |
discount_rate | integer | No | Discount rate. |
discount_type | integer (enum) | No | Discount type. Valid values: 1 (percent), 2 (amount). |
discount_value | number | No | Discount value. Required when discount_type is 2 (amount). |
customer_id | integer | No | Customer identifier. When adding or changing a customer, you must also provide the meta.customer data structure. |
closed_at | string | No | Timestamp when the receipt was closed. Can be set to close the receipt. Format: "YYYY-MM-DD HH:MM:SS" or empty string "" to keep open. |
meta.customer | object | No | Customer metadata object. Required when customer_id is provided. See Customer Meta Data structure below. |
meta.customer data structure in your request. This data is not automatically fetched - you need to include it manually. The customer data can be obtained from the Customers API.
The meta.customer structure should follow this format:
cid or id in the request body does not match the existing receipt, an error will be returned:
| Field | Type | Description | Constraints |
|---|---|---|---|
cid | string (UUID) | Client identifier | Required. Must match existing receipt CID - cannot be changed. |
id | number | Receipt ID | Required. Must match path parameter - cannot be changed. |
delivery_fee | integer | Delivery fee amount | Optional |
description | string | Receipt description | Optional. Maximum 500 characters. |
order_number | string | Order number identifier | Optional |
order_status | string (enum) | Order status | Optional. Valid values: "NEW", "SCHEDULED", "IN_PROGRESS", "READY", "PICKED_UP", "COMPLETED", "CANCELLED". |
guests | number | Number of guests | Optional |
discount_rate | integer | Discount rate | Optional |
discount_type | integer (enum) | Discount type | Optional. 1 = percent, 2 = amount |
discount_value | number | Discount value | Optional. Required when discount_type is 2 (amount). |
customer_id | integer | Customer identifier | Optional. When provided, you must also include meta.customer data structure. |
meta.customer | object | Customer metadata | Optional. Required when customer_id is provided. Must be manually included in the request. |
closed_at | string | Timestamp when receipt was closed | Optional. Can be set to close the receipt. Format: "YYYY-MM-DD HH:MM:SS" or "" to keep open. |
cid and id fields must not change. If different values are sent, the system will treat it as a new receipt and return an error.closed_at field.customer_id is provided, you must also include the meta.customer data structure in your request. This data is not automatically fetched - you need to provide it manually. You can obtain customer data from the Customers API.Access token obtained from /auth endpoint
Brand identifier
Venue identifier
Receipt ID