Orders
Commerce7 Fulfillment parity: creates an order fulfillment record and automatically marks every order line as fulfilled.
Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/order/string/fulfillment/all" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "type": "Shipped", "fulfillmentDate": "2019-08-24T14:15:22Z", "packageCount": 0, "sendTransactionEmail": true }'{ "id": "string", "orderNumber": 0, "customerId": "string", "locationId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableLabel": "string", "seatCount": 0, "note": "string", "lineItems": [ { "id": "string", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0 } ] } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "fulfillments": [ { "id": "string", "type": "Shipped", "fulfillmentDate": "2019-08-24T14:15:22Z", "packageCount": 0, "items": [ { "sku": "string", "quantityFulfilled": 1 } ], "shipped": { "trackingNumbers": [ "string" ], "carrier": "string" }, "pickedUp": { "pickedUpBy": "string" } } ]}Commerce7 Fulfillment parity: create the documented fulfillment variant on the order and return the updated order object.
Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/order/string/fulfillment" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "fulfillmentDate": "2019-08-24T14:15:22Z", "packageCount": 0, "sendTransactionEmail": true, "type": "Shipped", "items": [ { "sku": "string", "quantityFulfilled": 1 } ], "shipped": { "trackingNumbers": [ "string" ] } }'{ "id": "string", "orderNumber": 0, "customerId": "string", "locationId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableLabel": "string", "seatCount": 0, "note": "string", "lineItems": [ { "id": "string", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0 } ] } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "fulfillments": [ { "id": "string", "type": "Shipped", "fulfillmentDate": "2019-08-24T14:15:22Z", "packageCount": 0, "items": [ { "sku": "string", "quantityFulfilled": 1 } ], "shipped": { "trackingNumbers": [ "string" ], "carrier": "string" }, "pickedUp": { "pickedUpBy": "string" } } ]}Commerce7 Fulfillment parity: removes the fulfillment record from the order and returns a 204 response.
Path Parameters
Fulfillment id
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
curl -X DELETE "https://example.com/order/string/fulfillment/{id}" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"Exact Commerce7-style singular order list path.
Query Parameters
date-timedate-timeHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/order" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "orders": [ { "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } } ], "total": 0}Exact Commerce7-style singular order creation path.
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/order" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "locationId": "string", "fulfillmentMode": "dine_in", "lineItems": [ { "productId": "string", "quantity": 1 } ] }'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Exact Commerce7-style upsert path.
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/order/upsert" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "locationId": "string", "fulfillmentMode": "dine_in", "lineItems": [ { "productId": "string", "quantity": 1 } ] }'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/order/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/order-number" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "orderNumber": 1 }'{ "orderNumber": 1, "updatedAt": "2019-08-24T14:15:22Z"}Commerce7 basis: Orders and Fulfillment. This resource includes open-ticket behavior needed for dine-in service as well as completed order records.
Query Parameters
date-timedate-timeHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "orders": [ { "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } } ], "page": { "total": 0 }}Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "locationId": "string", "fulfillmentMode": "dine_in", "lineItems": [ { "productId": "string", "quantity": 1 } ] }'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/orders/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/string/off-premise/state" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "state": "batch_ready" }'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Query Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/receipt-template" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "id": "string", "locationId": "string", "templateNumber": "string", "headerLines": [ "string" ], "footerLines": [ "string" ], "logoUrl": "string", "showLargeOrderNumberInHeader": true, "orderNumberDisplay": "show", "showTabName": true, "guestCountDisplay": "show", "printGuestDetailsTakeout": "full", "printGuestDetailsDelivery": "full", "showFreeModifiersOnDineIn": true, "showFreeItemsOnDineIn": true, "itemModifiersDisplay": "always", "itemModifiersLayout": "inline", "showSpecialRequestsOnDineIn": true, "serviceChargeFont": "normal", "displayDiscountsAboveSubtotal": true, "printPayments": true, "itemizeQuickOrderReceipts": true, "itemizeTableServiceReceipts": true, "displayTipLine": true, "gratuityTipLineText": "tip", "combineItems": true, "roomChargePrompt": "none", "printPromoArea": true, "displayTipPercentages": true, "displayCharityTipLine": true, "closedCheckReceiptMode": "automatic", "creditCardReceiptCopies": "merchant_and_customer", "houseAccountDisplay": "number", "displayItemQuantity": "always", "printBarcode": true, "separatorStyle": "line", "showOrderTimestamps": true, "showLineItemDetails": true, "showCourseOnReceipt": true, "showSeatNumbersOnReceipt": true, "showGuestOnReceipt": true, "showItemCountFooter": true, "widthChars": 20, "updatedAt": "2019-08-24T14:15:22Z"}Query Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/orders/receipt-template" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "locationId": "string", "templateNumber": "string", "headerLines": [ "string" ], "footerLines": [ "string" ], "logoUrl": "string", "showLargeOrderNumberInHeader": true, "orderNumberDisplay": "show", "showTabName": true, "guestCountDisplay": "show", "printGuestDetailsTakeout": "full", "printGuestDetailsDelivery": "full", "showFreeModifiersOnDineIn": true, "showFreeItemsOnDineIn": true, "itemModifiersDisplay": "always", "itemModifiersLayout": "inline", "showSpecialRequestsOnDineIn": true, "serviceChargeFont": "normal", "displayDiscountsAboveSubtotal": true, "printPayments": true, "itemizeQuickOrderReceipts": true, "itemizeTableServiceReceipts": true, "displayTipLine": true, "gratuityTipLineText": "tip", "combineItems": true, "roomChargePrompt": "none", "printPromoArea": true, "displayTipPercentages": true, "displayCharityTipLine": true, "closedCheckReceiptMode": "automatic", "creditCardReceiptCopies": "merchant_and_customer", "houseAccountDisplay": "number", "displayItemQuantity": "always", "printBarcode": true, "separatorStyle": "line", "showOrderTimestamps": true, "showLineItemDetails": true, "showCourseOnReceipt": true, "showSeatNumbersOnReceipt": true, "showGuestOnReceipt": true, "showItemCountFooter": true, "widthChars": 20, "updatedAt": "2019-08-24T14:15:22Z"}Query Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/modifier-tools" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "id": "string", "locationId": "string", "courseOptions": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "seatOptions": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "specialRequestTemplates": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Query Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/orders/modifier-tools" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "locationId": "string", "courseOptions": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "seatOptions": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "specialRequestTemplates": [ { "id": "string", "title": "string", "priceDelta": 0 } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/string/receipt" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "orderId": "string", "locationId": "string", "template": { "id": "string", "locationId": "string", "templateNumber": "string", "headerLines": [ "string" ], "footerLines": [ "string" ], "logoUrl": "string", "showLargeOrderNumberInHeader": true, "orderNumberDisplay": "show", "showTabName": true, "guestCountDisplay": "show", "printGuestDetailsTakeout": "full", "printGuestDetailsDelivery": "full", "showFreeModifiersOnDineIn": true, "showFreeItemsOnDineIn": true, "itemModifiersDisplay": "always", "itemModifiersLayout": "inline", "showSpecialRequestsOnDineIn": true, "serviceChargeFont": "normal", "displayDiscountsAboveSubtotal": true, "printPayments": true, "itemizeQuickOrderReceipts": true, "itemizeTableServiceReceipts": true, "displayTipLine": true, "gratuityTipLineText": "tip", "combineItems": true, "roomChargePrompt": "none", "printPromoArea": true, "displayTipPercentages": true, "displayCharityTipLine": true, "closedCheckReceiptMode": "automatic", "creditCardReceiptCopies": "merchant_and_customer", "houseAccountDisplay": "number", "displayItemQuantity": "always", "printBarcode": true, "separatorStyle": "line", "showOrderTimestamps": true, "showLineItemDetails": true, "showCourseOnReceipt": true, "showSeatNumbersOnReceipt": true, "showGuestOnReceipt": true, "showItemCountFooter": true, "widthChars": 20, "updatedAt": "2019-08-24T14:15:22Z" }, "lines": [ { "text": "string", "align": "left", "emphasis": "normal", "role": "string" } ], "plainText": "string"}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/string/submit" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= lengthHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X POST "https://example.com/orders/string/void" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"{ "id": "string", "orderNumber": 0, "customerId": "string", "customerName": "string", "guestName": "string", "locationId": "string", "assignedStaffUserId": "string", "status": "draft", "source": "pos", "fulfillmentMode": "dine_in", "tableId": "string", "sectionId": "string", "serviceAreaId": "string", "tableLabel": "string", "seatCount": 0, "note": "string", "fundraising": { "campaignId": "string", "campaignCode": "string", "campaignName": "string", "causeName": "string", "contributionType": "round_up", "contributionValue": 0, "contributionAmountCents": 0 }, "lineItems": [ { "id": "string", "lineType": "catalog", "sendStatus": "new", "productId": "string", "title": "string", "quantity": 1, "unitPrice": 0, "taxRateBps": 0, "taxCode": "food", "category": "string", "salesCategory": "string", "openItemScope": "food", "pricingStrategyApplied": "base", "menuId": "string", "sizeName": "string", "seatId": "string", "seatNumber": 1, "course": "string", "diningOption": "dine_in", "diningOptionLabel": "string", "prepTimeSeconds": 0, "modifiers": [ { "productId": "string", "title": "string", "priceDelta": 0, "quantity": 1, "groupId": "string", "groupTitle": "string", "portionId": "string", "portionLabel": "string", "portionPriceMultiplier": 0, "pricingStrategy": "no_charge", "openPriceAmount": 0, "sizeName": "string", "sequenceOrdinal": 1, "preModifierOptionId": "string", "preModifierLabel": "string", "preModifierPosition": "prefix", "displayLabel": "string", "defaultApplied": true, "modifiers": [ null ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] } } ], "routing": { "prepStationIds": [ "string" ], "assemblyLineId": "string", "immediatePrepStationIds": [ "string" ], "modifierRouting": "with_parent", "ticketDestination": "prep_only", "appliedRuleIds": [ "string" ] }, "voidReasonId": "string", "voidReasonName": "string", "voidedAt": "string", "voidedByStaffUserId": "string", "voidedByStaffName": "string", "giftCardSale": { "cardType": "Physical", "code": "string", "recipientName": "string", "recipientEmail": "string", "recipientPhone": "string", "fromName": "string", "purchaserEmail": "string", "purchaserPhone": "string", "giftMessage": "string", "notes": "string", "deliveryChannel": "email", "deliveryDestination": "string", "deliveryScheduledAt": "2019-08-24T14:15:22Z", "notifyPurchaserWhenOpened": true } } ], "appliedDiscounts": [ { "id": "string", "sourceType": "promotion", "sourceId": "string", "code": "string", "title": "string", "scope": "order", "lineItemId": "string", "actionMessage": "string", "appliesTo": "Store", "appliesToObjectIds": [ "string" ], "combinability": "combinable", "stackingScope": "order", "requiresManagerApproval": true, "managerApprovedByStaffUserId": "string", "excludesServiceCharges": true, "serviceChargeInteraction": "pre_discount", "eligibilitySummary": "string", "discountType": "amount", "value": 0, "amount": 0 } ], "subtotal": 0, "discountTotal": 0, "taxTotal": 0, "tipTotal": 0, "total": 0, "balanceDue": 0, "paymentIntentIds": [ "string" ], "submittedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "offPremise": { "channel": { "kind": "first_party", "provider": "string" }, "customer": { "customerId": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "user@example.com" }, "quote": { "strategy": "manual", "quoteTimeApplies": true, "quotedAt": "2019-08-24T14:15:22Z", "scheduledFor": "2019-08-24T14:15:22Z", "promisedFulfillmentAt": "2019-08-24T14:15:22Z", "takeoutQuoteMinutes": 0, "deliveryQuoteMinutes": 0, "takeoutThrottlingMinutes": 0, "deliveryThrottlingMinutes": 0, "throttlingAppliedMinutes": 0, "leadTimeHours": 0, "minimumLeadTimeSatisfied": true, "withinConfiguredOrderingHours": true, "quoteExemptionReason": "third_party_channel" }, "readyAt": "2019-08-24T14:15:22Z", "staging": { "state": "pending", "batchId": "string", "batchLabel": "string", "stagingArea": "string", "stagingSlot": "string", "handoffZone": "string", "batchReadyAt": "2019-08-24T14:15:22Z", "stagedAt": "2019-08-24T14:15:22Z", "readyBy": { "staffUserId": "string", "displayName": "string" } }, "guestMessaging": { "enabled": true, "preferredChannel": "sms", "notifications": [ { "event": "batch_ready", "template": "order_ready", "channel": "sms", "status": "pending", "recipient": "string", "subject": "string", "body": "string", "updatedAt": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "failureReason": "string" } ], "lastUpdatedAt": "2019-08-24T14:15:22Z" }, "pickup": { "kind": "standard", "state": "pending", "stagedAt": "2019-08-24T14:15:22Z", "arrivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "curbside": { "vehicleMakeModel": "string", "vehicleColor": "string", "instructions": "string", "parkingSpot": "string", "arrivalNote": "string" } }, "delivery": { "addressId": "string", "addressLabel": "string", "state": "pending", "instructions": "string", "deliveryNotes": "string", "stagedAt": "2019-08-24T14:15:22Z", "dispatchedAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "dispatchNote": "string", "dispatch": { "assignmentMode": "unassigned", "assignedDriver": { "staffUserId": "string", "displayName": "string" }, "dispatchedBy": { "staffUserId": "string", "displayName": "string" }, "courierName": "string", "courierPhone": "string", "vehicleLabel": "string", "assignedAt": "2019-08-24T14:15:22Z" } }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Path Parameters
1 <= length <= 200Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
curl -X POST "https://example.com/orders/string/receipt-share" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"Path Parameters
1 <= length <= 200Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/orders/string/receipt-share/deliver" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "Content-Type: application/json" \ -d '{ "channel": "email", "recipient": "string" }'Path Parameters
1 <= length <= 2008 <= length <= 80Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
curl -X DELETE "https://example.com/orders/string/receipt-shares/stringst" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"Path Parameters
8 <= length <= 8024 <= length <= 160Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
curl -X GET "https://example.com/public/receipts/stringst/stringstringstringstring" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123"Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/prices" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'nullHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/v2/orders/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string"nullQuery Parameters
1 <= value <= 1001 <= valueHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/v2/ordersBulk" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string"[ null]Query Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/v2/payments" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string"[ null]Path Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/orders/v2/payments/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string"nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders/string/checks/string/selections" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '[ { "property1": null, "property2": null } ]'nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders/string/checks/string/payments" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '[ { "property1": null, "property2": null } ]'nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/orders/v2/orders/string/checks/string/payments/string" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '{ "tipAmount": 0 }'nullHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/applicableDiscounts" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'[ null]Path Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders/string/checks/string/appliedDiscounts" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '[ { "property1": null, "property2": null } ]'nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders/string/checks/string/selections/string/appliedDiscounts" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '[ { "property1": null, "property2": null } ]'nullPath Parameters
Header Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/orders/v2/orders/string/void" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'nullHeader Parameters
Selects the tenant by id. When both tenant headers are omitted, the server falls back to the configured default tenant slug.
Selects the tenant by slug. Use this when you know the tenant slug instead of the tenant id.
Adds a location scope to the request for location-aware reads, writes, and audit entries.
Test-only Hexclave provider identifier used with x-auth-user-id when trusted identity headers are explicitly enabled. Production clients must use a Hexclave bearer token.
Value in
- "hexclave"
Temporary auth subject used to resolve the acting staff user through the staff auth identity mapping.
Response Body
application/json
curl -X GET "https://example.com/ordermgmt-config/v1/published/orderingSchedule" \ -H "x-tenant-id: tenant-local" \ -H "x-tenant-slug: trellis-local" \ -H "x-location-id: loc-tasting-room" \ -H "x-auth-provider: hexclave" \ -H "x-auth-user-id: user_abc123" \ -H "toast-restaurant-external-id: string"null