Skip to main content
PUT
Mark Order On The Way

Overview

Updates an order status from CONFIRMED to IN_DELIVERY, indicating that the order is on its way to the customer.
This endpoint is only valid for restaurant couriers (courier_type: "restaurant"). Platform couriers are managed externally.

Path Parameters

string
required
Order’s payment_key (UUID)

Headers

string
required
Your API access token

Response

boolean
true if successful
string
"OK" on success

Examples

Success Response (200)

Error Responses

Status Transition

The order status changes to IN_DELIVERY with status_id: 16 (Restoran Kuryeye Verildi).

When to Call

1

Order Prepared

Kitchen has finished preparing the order
2

Courier Assigned

A courier has been assigned and is ready to leave
3

Courier Pickup

Courier picks up the order from restaurant
4

Call Endpoint

Call /ontheway to update status
5

Customer Notified

Customer receives notification that order is on the way

Courier Type Check

Important: Only call this for restaurant-managed deliveries!

Integration Examples

Tracking Integration

Best Practices

Ensure courier is properly assigned before marking on the way.
Notify customer when order is dispatched (optional, platform may handle).

Accept Order

Previous step: Accept order

Complete Order

Next step: Complete delivery

Order Lifecycle

Complete order flow