Add a Stop to an Order

View as Markdown

Add a stop to an existing delivery.

This endpoint can only be used for vehicle hire deliveries. Hitting this endpoint for any other type of delivery will generate an error response.

Authentication

AuthorizationBearer

Path parameters

orderIdstringRequired

Request

This endpoint expects an object.
requires_handballingboolean or nullOptional

Defaults to false. This is ignored for vehicle hire orders.

time_fromstring or nullOptional

The earliest time at which the driver should arrive at this location. Format HH:MM:SS.

time_tostring or nullOptional

The latest time at which the driver should arrive at this location. Format HH:MM:SS.

is_collectionboolean or nullOptional

Flag this stop in the delivery job as a collection. By defaults, all locations on a job are assumed to be drop-offs.

addressobjectOptional
The details of an address when provided to the API within a request object.

Response

dataobject
The data of a location that has been added as a point to an order.

Errors

422
Unprocessable Entity Error