Edit Order

This API endpoint is used to update an order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Using Ordering SDK


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

Accept order by driver Company

Header x-api-key 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-api-key with drivercompany.api_key (https://d.pr/i/IlTpPN) (Required)
**_status
** (Required): 6

Path Params
string
required
Defaults to en
string
required
Defaults to demo
int32
required
string
required
Defaults to v400
Body Params
int32
int32
int32
int32
date
int32
string
int32
float
string
int32
int32
json
json
json
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json