Skip to Content
dzshipBY DZBUILD
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
/v1/desks

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.

Request Body

application/json
  1. body
courier*string
credentials?

The caller's own credentials for that courier, 1-8 string fields. Never stored. Omit entirely for the sandbox courier.

options?
wilayaCode*integer
Range1 <= value <= 58

Response Body

The desks, possibly none

application/json
  1. response
[index: integer]?
Example Request
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"  }]