Place an Order

View as Markdown

Authentication

AuthorizationBearer

Request

This endpoint expects an object.
product_codestring or nullRequired<=250 characters
A product reference provided by your account manager.
payment_methodenumRequired
Select the method the API should use to process payment for this order.
Allowed values:
order_locationslist of objectsRequired

These are the pickup and drop-off locations for your delivery: the first object being pickup, the second is drop-off. Both are required.

internal_refstring or nullOptional<=250 characters
An order reference provided by your systems.
additional_notesstring or nullOptional
Additional information that will be seen by the delivery driver during order fulfilment.
itemslist of objectsOptional
brandingobjectOptional
Provide basic branding details. If provided, these will be displayed on our delivery tracking screens.

Response

Created
idstringformat: "uuid"
The ID of the order.
codestring
Zippd's short ID code for the order. Unique, and always starts with two letter, e.g. "DA", "RE" etc.
typeenum
The order type.
Allowed values:
fulfilment_datedate
The date on which the order will be fulfilled by the driver.
internal_refstring or null
An order reference provided by your systems.
statusenum
The current status of the order.
sub_statusenum or null

The current sub-status of the order. The va sub_status will always be relative to the value of the status field.

Allowed values:
total_itemsinteger

The total number of items (or parcels) attributed to this delivery request.

started_atdatetime or null

Date/time when the delivery driver began fulfilling the delivery.

completed_atdatetime or null

Date/time when the delivery driver completed fulfilling the delivery.

canceled_atdatetime or null

Date/time when the delivery was cancelled.

additional_notesstring
Additional information that will be seen by the delivery driver before and during order fulfilment.
cost_of_goodsinteger
The total cost of goods being delivered. This will be in lowest unit of currency, e.g. in pence for GBP.
locationslist of objects
All locations relating to this order's deliveries. The first item is always the location where the driver will pickup the parcels to be delivered.
barcodeslist of objects

A list of barcodes (parcels) that are to be delivered on with this order.

printable_label_urlstring or null
An absolute URL to a PDF with all package labels for this order.

Errors

422
Unprocessable Entity Error