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
barcode_generationobjectOptional
Use this to prompt the system to generate barcodes as soon as the order is placed.
brandingobjectOptional
Provide basic branding details. If provided, these will be displayed on our delivery tracking screens.

Response

Created
idstringOptionalformat: "uuid"
The ID of the order.
codestringOptional
Zippd's short ID code for the order. Unique, and always starts with two letter, e.g. "DA", "RE" etc.
typeenumOptional
The order type.
fulfilment_datedateOptional
The date on which the order will be fulfilled by the driver.
internal_refstring or nullOptional
An order reference provided by your systems.
statusenumOptional
The current status of the order.
sub_statusenum or nullOptional

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

total_itemsintegerOptional

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

started_atdatetime or nullOptional

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

completed_atdatetime or nullOptional

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

canceled_atdatetime or nullOptional

Date/time when the delivery was cancelled.

additional_notesstringOptional
Additional information that will be seen by the delivery driver before and during order fulfilment.
cost_of_goodsintegerOptional
The total cost of goods being delivered. This will be in lowest unit of currency, e.g. in pence for GBP.
locationslist of objectsOptional
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 objectsOptional

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

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

Errors

422
Unprocessable Entity Error