Yalidine
Yalidine is one of the most-used national couriers in Algeria, with coverage in all 58 wilayas, a large stop-desk network, and a stable API. The same DZBuild integration also powers Yalitec, Guepex, and Easy & Speed, which share Yalidine's API structure under their own dashboards.
What you need
You only need two values from your Yalidine merchant dashboard:
- API ID
- API Token
Both are issued from your Yalidine account; if you don't see them, ask Yalidine to enable API access for your account. Yalidine API access usually requires a verified business account.
Linking Yalidine in DZBuild
- Open
/dashboard/shippingin your dashboard. - Click Link provider and pick Yalidine (or Yalitec / Guepex / Easy & Speed if that's your reseller).
- Paste your API ID in the first field.
- Paste your API Token in the second field.
- Click Test API. The dashboard hits Yalidine live and shows a green check if the credentials are valid.
- Save.
Yalidine becomes the store's default delivery provider. From the same page you can:
- Sync rates from provider — pulls Yalidine's home + desk fees per wilaya.
- Override any wilaya's rate manually if you want to absorb part of the shipping or charge a markup.
What gets synced
- Full list of wilayas and communes (with Arabic ↔ French commune-name resolution — DZBuild auto-translates Arabic commune names to the French names Yalidine expects).
- Per-wilaya home delivery rate.
- Per-wilaya stop-desk rate.
- The list of stop-desks in each wilaya, used by the stop-desk picker.
What happens when an order ships
When you confirm an order in /dashboard/orders and the store's provider is Yalidine, DZBuild calls Yalidine's /parcels/ endpoint with:
- Customer first name, family name, phone (auto-formatted to the local
0Xshape, with a second contact phone if you've collected one). - Address, destination wilaya, destination commune (resolved to the French name).
- Origin wilaya (your store's wilaya — used as
from_wilaya_name). - Product list summary.
- COD amount (
price= subtotal, the customer pays this on delivery). - Declared value, length, width, height, weight.
is_stopdeskflag, plus a validstopdesk_idwhen desk delivery is selected.freeshipping,do_insurance, and exchange flags when applicable.
Yalidine returns:
- A tracking number (saved on the order).
- A label URL (PDF) you can print directly.
DZBuild flips the order to shipped and the customer sees the tracking on their order page. As the parcel moves through Yalidine, status updates flow back into DZBuild's order timeline (processing → shipped → delivered, or returned / cancelled).
Stop desk with Yalidine
Yalidine has the largest stop-desk network in Algeria. When the customer chooses desk delivery at checkout:
- The Stop Desk addon shows desks for the selected wilaya with name, address and phone.
- DZBuild stores
stopdesk_idon the order — Yalidine requires this; if it's missing for a desk shipment, DZBuild raises an error before sending so the parcel never gets misrouted as home delivery.
Common errors and fixes
| Message | Cause | Fix |
|---|---|---|
بيانات API غير صحيحة / HTTP 401 | Wrong API ID or API Token | Re-copy both values from Yalidine's dashboard. The two fields are easy to swap. |
غير مصرح / HTTP 403 | Account exists but API is not enabled | Contact Yalidine to enable API access on your account. |
تم تجاوز حد الطلبات / HTTP 429 | Too many requests in a short window | Wait a minute and retry; Yalidine rate-limits aggressive callers. |
لا يوجد مكتب استلام (Stop Desk) متاح | Desk shipment without a stopdesk_id | Ask the customer to re-pick a desk, or switch the order to home delivery. |
| Order created but no tracking returned | Address or commune not recognized | Check the commune spelling, then re-send. The DZBuild order log shows the raw Yalidine response. |
Tips
- Yalidine expects communes in French. DZBuild handles the Arabic → French resolution automatically against the
communestable, but uncommon spellings can fail — keep your store's commune list clean. - The
pricesent to Yalidine is the subtotal (product price), not the order total with shipping. This is what the courier collects on COD. - If you also have a Yalitec / Guepex / Easy & Speed account, link it under its own slug — the API shape is the same but credentials are not interchangeable.