Submit order notification (new / cancel)
Submit an order notification in the standard menu/order payload shape. The event
field determines the action:
| event | Order lifecycle | Description |
|---|---|---|
order.new |
PENDING → CONFIRMED/REJECTED | New order from the MP |
order.cancel |
Any → CANCELLED | MP-initiated cancellation with reason |
order.trigger_fire |
— | Trigger fire for scheduled orders |
Accepted asynchronously (HTTP 202) and queued. A 202 response only means the notification was accepted for processing—it is not an order confirmation.
Authentication: Send a Bearer token from POST /auth/token. Use client credentials
issued for the same Link environment you call (playground, QA, production). 401 means
missing, invalid, or expired token. 422 usually means the token is not valid for order
submission on this Link instance—obtain fresh credentials from your PAR onboarding contact
and retry.
venue_id in the body is evaluated when the background job runs (not as a synchronous
path check on this request).
Business validation (store state, cart, availability) runs asynchronously after enqueue,
not as immediate field validation on this request. Failures surface as order.rejected
on your webhook (or related status events), not as a synchronous 4xx on this POST.
Include subtotal and tax (minor units) so Link can forward settlement totals to Core,
or send a complete external_calculation object. When the MP remits tax directly, set
is_tax_remitted_by_marketplace and tax_remitted_by_marketplace, or send mpf_tax.
Outcomes: After 202, listen on your configured webhook_url for
order.confirmed (success) or order.rejected (could not accept, with reason).
There is no fixed confirmation timeout expressed in this API contract; timing depends on
background processing and restaurant systems.
Cancellation (order.cancel): Same queue as other order notifications.
Body·
- Properties: 1Type:cartrequired
- Properties: 4Type:customerrequired
- Type: stringexternal
_id requiredPartner's unique order ID
- Type: stringFormat: uuidvenue
_id requiredTarget store (Core / PAR MENU UUID).
- Properties: 1Type: objectadditional
_info - Properties: 3Type:charges
- Type:delivery
_info Properties: 6Required when
order_typeisdeliveryorcatering-delivery. - Type: integerdiscount
_amount Integer numbers.
- Type: "order.new" or "order.cancel" or "order.trigger_fire"enumevent
- Type:external
_calculation Properties: 16Optional full settlement block; when omitted, Link derives one from subtotal, tax, and charges
- Type: stringexternal
_reference Partner's reference ID (defaults to external_id)
- Type: "venue" or "partner" or "aggregator"enumfulfilment
_type Who handles delivery
Responses
- application/json
- application/json
- application/json
curl https://SERVER_NAME_GOES_HERE.menu.app/orders \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"event": "order.new",
"external_id": "PARTNER-ORD-90016",
"external_reference": "PARTNER-ORD-90016",
"venue_id": "550e8400-e29b-41d4-a716-446655440000",
"order_type": "delivery",
"fulfilment_type": "aggregator",
"status": "new",
"subtotal": 2300,
"subtotal_for_tax": 2300,
"tax": 184,
"is_tax_remitted_by_marketplace": true,
"tax_remitted_by_marketplace": 128,
"total": 2934,
"notes": "Ring doorbell twice",
"discount_amount": 0,
"charges": [
{
"type": "delivery_fee",
"amount": 350,
"name": "Delivery fee"
},
{
"type": "service_fee",
"amount": 100,
"name": "Service fee"
}
],
"tax_breakdown_details": [
{
"jurisdiction_level": "STATE",
"jurisdiction_name": "Texas",
"imposition": "Sales Tax",
"taxpayer": "MARKETPLACE",
"taxable_basis": 2300,
"nontaxable_basis": 0,
"tax_amount": 128,
"tax_rate": "0.0557"
},
{
"jurisdiction_level": "COUNTY",
"jurisdiction_name": "Travis",
"imposition": "Local Sales Tax",
"taxpayer": "MERCHANT",
"taxable_basis": 2300,
"nontaxable_basis": 0,
"tax_amount": 56,
"tax_rate": "0.0243"
}
],
"additional_info": {
"channel": "partner_app",
"partner_order_url": "https://partner.example.com/orders/90016"
},
"customer": {
"first_name": "Jane",
"last_name": "Doe",
"phone": "+15551234567",
"email": "jane.doe@example.com"
},
"delivery_info": {
"is_asap": false,
"estimated_delivery_time": "2026-03-13T19:30:00+00:00"
},
"cart": {
"products": [
{
"id": "cd7b30eb-242c-48ec-9425-c25fea4ce981",
"price_id": "baae85c7-7b7c-4502-85a7-3ca069dae62d",
"name": "Ital - Calzone",
"price": 2000,
"quantity": 1,
"notes": "",
"tax_breakdown_details": [
{
"jurisdiction_level": "STATE",
"jurisdiction_name": "Texas",
"taxpayer": "MARKETPLACE",
"taxable_basis": 2300,
"tax_amount": 128
},
{
"jurisdiction_level": "COUNTY",
"jurisdiction_name": "Travis",
"taxpayer": "MERCHANT",
"taxable_basis": 2300,
"tax_amount": 56
}
],
"product_groups": [
{
"id": "d2453be0-3cc8-4af5-9981-8d52646d286f",
"products": [
{
"id": "9d975549-a9df-451d-a9dd-22f68db5e0ae",
"price_id": "16c4c443-1167-457b-88a8-18de725271d8",
"name": "Key - Bacon",
"price": 300,
"quantity": 1
}
]
}
]
}
]
}
}'
{
"status": "accepted",
"message": "Order received and queued for processing"
}