Add a Location to an Order

View as Markdown

Authentication

AuthorizationBearer

Path parameters

orderIdstringRequired

Request

This endpoint expects an object.
addressobjectRequired
item_countintegerOptional0-15
The total number of items being delivered to this location.
cost_of_goodsintegerOptional>=100

The total value (or a rough estimate) of all goods being delivered to this location. Value must be in lowest unit of currency, i.e. in pence for GBP.

Defaults to 0 if not provided. Required if item_count is not empty.

Response

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

Errors

403
Forbidden Error
422
Unprocessable Entity Error