Edit Order

This API endpoint is used to update an order.

Using Ordering SDK


const response = await ordering.orders(orderId).save(changes);

📘

Accept order by driver Company

Header X-BUSINESS-API-KEY-X with driver_company.api_key (https://d.pr/i/IlTpPN) (Required)

external_driver_id (Required): Company driver id (Ex. Driver Uber ID) (NO RANDOM ID⚠️)
external_driver_name (Required): Company driver name
external_driver_photo (Optional): Company driver photo url
status (Required): 8 (Accept by driver)

After accept an order The driver can update status to other driver status

📘

Reject order by driver company

Header X-BUSINESS-API-KEY-X with driver_company.api_key (https://d.pr/i/IlTpPN) (Required)
status (Required): 6

Language
Authentication
Header
Click Try It! to start a request and see the response here!