Skip to content
Orders and delivery

Courier API integration: checks before the first shipment

Validate data and avoid creating the same parcel twice.

Courier API integration: checks before the first shipment

In short: Before the first API shipment: keep keys only in the private integration settings, send a real order with a full address, and check it appears at the courier with the same reference and collection amount. If sending fails, search the courier account by reference before retrying, so the parcel isn’t created twice.

Connecting your store to a courier by API saves retyping every parcel and lets you follow statuses from your dashboard. But the first days are when mistakes happen: a parcel created twice, a wrong amount to collect, an incomplete address that brings the parcel back. Here is a practical check before and after the first shipment.

Before connecting

  • The account: an active merchant account with the courier, with credentials issued directly by them.
  • Confidentiality: keys go only into the private integration settings. Never send them on WhatsApp or show them in screenshots.
  • Pickup address: your collection address is correct on the courier’s side.

Practical steps: Courier API integration: checks before the first shipment

The first test shipment

  1. Pick a real confirmed order with a complete address (governorate, district, address, number).
  2. Check the amount to collect: price + delivery if the customer pays it.
  3. Send the parcel to the courier from the dashboard.
  4. Check it appears on their side with the same reference and amount.
  5. Follow the status: did it change, and when?

If sending fails

The worst case: you send, the response fails (network issue), you send again, and the parcel is created twice. The rule: before retrying, search the courier account by reference. If it is there, do not resend.

Checklist

CheckWhy
One reference links order and parcelFind any parcel quickly
Amount to collectA mistake means missing money or a refusal
Governorate and districtMany couriers reject incomplete addresses
Status updatesEach courier works differently: automatic, periodic or manual
Returned parcelsRecorded and restocked when they physically arrive

After the first week

  • Compare parcels in your store with the courier’s: same number, same statuses?
  • Match transfers with delivered orders. Read reconciling cash-on-delivery payouts.
  • Log each incident with its date and cause, so you can discuss numbers with the courier.

In Matjri you connect your courier account under Integrations; see the connected companies.

Frequently asked questions

Do statuses always update automatically?

It depends on the courier: some push updates directly, others at intervals. Check with yours.

Can I switch couriers after connecting?

Yes, but parcels already sent finish their journey with the first courier. Don’t switch mid-route.

Related guides for the next step

Sources and further reading

Editorial review: 30 November 2026. Examples and figures are illustrative; tools and fees may vary by account, supplier and courier.