Skip to main content
PUT
Accept Order

Overview

Accepts an order that’s in RECEIVED status and changes it to CONFIRMED. You must provide the estimated preparation time in minutes.

Path Parameters

string
required
Order’s payment_key (UUID) from the /get-current response

Headers

string
required
Your API access token
string
required
Must be application/json

Body Parameters

integer
required
Estimated preparation time in minutes (e.g., 30)

Response

boolean
true if successful
string
"OK" on success

Examples

Success Response (200)

Error Responses

Status Transition

After accepting, the order status history is automatically updated by the database trigger.

Integration Flow

1

Receive Order

Get order from /orders/get-current with status_id: 1
2

Acknowledge

Call /orders/success/{payment_key} to acknowledge receipt
3

Review

Staff reviews order details and decides to accept/reject
4

Accept

Call /orders/accept/{payment_key} with estimated prep time
5

Prepare

Kitchen prepares the order

Preparation Time Guidelines

Consider:
  • Current kitchen load
  • Order complexity (number of items, modifiers)
  • Time of day
  • Staff availability
The preparation time is communicated to the customer and affects:
  • Estimated delivery time
  • Courier dispatch timing
  • Customer satisfaction
Always use the payment_key (UUID) from the order object, not the id (integer).

Get Current Orders

Fetch orders to accept

Cancel Order

Reject/cancel order instead

Mark On The Way

Next step after preparation

Order Lifecycle

Complete order flow