Update Order
API operation: Open the endpoint in Scalar
Use PUT /orders/{order} to update an order. The current public operation is Order.update.put.
The integer path parameter is {order}.
The fields accepted and status transitions depend on the caller and project configuration. Follow the operation request schema and applicable authorization policy.
For an acceptance transition with status=8, include external_driver_id and external_driver_name. Other permitted transitions have their own requirements. Treat driver-company authentication as a credential and keep it out of examples.
const response = await ordering.orders(orderId).save(changes);
This SDK syntax is historical. Confirm the package and version before using it.