Shipping
Create a parcel
POST
application/json- body
courier*stringcredentials?The caller's own credentials for that courier, 1-8 string fields. Never stored. Omit entirely for the sandbox courier.
options?order*The parcel exists on your courier account
application/json- response
trackingNumber*stringcourierReference?stringlabelUrl?stringstatus*stringreference*stringcurl -X POST 'https://freeship.dzbuild.com/v1/orders' \ -H 'Content-Type: application/json' \ -d '{ "courier": "string", "order": { "recipient": { "fullName": "string", "phone": "string", "wilayaCode": 1, "communeName": "string" }, "deliveryType": "home", "productList": "string", "codAmount": 0 }}'Example Response
{ "trackingNumber": "string", "courierReference": "string", "labelUrl": "string", "status": "string", "reference": "string"}Overview
The dzship API reference, generated from the OpenAPI 3.1 spec. Every operation with its request schema, its responses and a request builder.
List the stop desks a courier runs in one wilaya POST
Same courier and credentials as an order. To ship to a desk, send deliveryType "stopdesk", the desk id as order.stopDeskId and its communeName (when present) as recipient.communeName. Couriers whose API publishes no desk list answer 422.