Shipping
List the stop desks a courier runs in one wilaya
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.
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.
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?wilayaCode*integerRange
1 <= value <= 58The desks, possibly none
application/json- response
[index: integer]?curl -X POST 'https://freeship.dzbuild.com/v1/desks' \ -H 'Content-Type: application/json' \ -d '{ "courier": "string", "wilayaCode": 1}'Example Response
[ { "id": "string", "name": "string", "wilayaCode": 0, "communeName": "string", "address": "string" }]