Other couriers
Overview
Every courier after Bosta has its own endpoints under its own path, the
same way Bosta does — but they are not raw pass-throughs. Each courier's
API is different (SOAP, OAuth, barcode-only tracking…), so these answer in
ONE shape, the courier standard: courierStatus is one of 12 canonical
statuses (created, picked_up, in_transit, out_for_delivery,
failed_attempt, on_hold, delivered, rto, returned, cancelled,
lost_or_damaged, unknown), dates are ISO, and money is integer minor
units (codMinor, costMinor) of the response's currency — the org's
currency setting, else its connected Shopify store's currency, never a
hard-coded one. costMinor: null means the courier's API does not report its
fee — unknown, never zero. Over MCP each amount also gets a …Major sibling
(codMajor = codMinor ÷ 10^exponent of the nearest currency — ÷100 for EGP, ÷1000 for KWD or JOD). The shipment reads below exist for every
courier; couriers whose API supports it also have actions (create, edit,
cancel, pickups, labels, quotes, reference lists — each listed per courier
further down). Spec:
openapi/couriers-core-api.json.
| Route | Methods | Note |
|---|---|---|
/{courier}/shipments | GET | shipments created in date_from..date_to (YYYY-MM-DD, inclusive, max 92 days). Barcode-only couriers are read from the store's own Shopify fulfillments; a window the read could not fully cover (beyond the ~60-day store order walk, a pagination ceiling, a courier quota) comes back in truncatedWindows |
/{courier}/shipments/{trackingNumber} | GET | one shipment looked up at the courier. Not on shipblu (its API reads orders by its own id, not by tracking number) |
{courier} is one of aramex, mylerz, shipblu, jt-express,
dhl-express, fedex, ups, smsa, turbo, qp-express. Errors: 400 COURIER_NOT_CONNECTED, 400 COURIER_RECONNECT_REQUIRED, 400 COURIER_LOOKUP_UNSUPPORTED, 404 (no such shipment), 502 COURIER_API_ERROR
(the courier's own API failed).
Courier writes and reference reads (Beta) — J&T Express, QP Express
Beta: built from the couriers' published contracts, NOT yet verified
against a live account. The writes create, change or cancel REAL
shipments the merchant is billed for. They need a token that may change data
(read+write API token, or an MCP connection granted mcp:write) and a member
whose role has the shipping scope — otherwise 403. Bodies are
validated (400 INVALID_INPUT names the first bad field); money in bodies is
integer minor units (piasters) — the adapter writes the courier's pound
strings. When the courier receives the request and refuses it (wrong order
state, unknown order, bad field) the answer is 400 COURIER_REJECTED with the
courier's own vendorCode; 502 COURIER_API_ERROR is kept for outages.
| Route | Methods | Note |
|---|---|---|
/jt-express/shipments | POST | Write (Beta). Create a J&T order (order/addOrder): txlogisticId (the store's own order id), receiver, sender (the pickup address — J&T collects from it in sendStartTime..sendEndTime, default now..+24h), items[] (itemValueMinor), itemsValueMinor, weightKg, payType (required): CC_CASH for cash on delivery (J&T collects itemsValueMinor), PP_PM / PP_CASH for prepaid; optional J&T codes. → { billCode, txlogisticId, sortingCode, lastCenterName } |
/jt-express/shipments/{trackingNumber}/label | POST | Write (Beta). Print the label for a bill code (order/printOrder) — J&T marks the order Printed, hence POST. Body { printSize?: "0" A5 | "1" 100×100 | "2" 100×150, printCode?: 0 | 1 } → { url, base64Pdf } (J&T sends one; the other is null) |
/jt-express/orders/{txlogisticId} | GET, PATCH, DELETE | GET (Read, Beta): J&T's own order record (order/getOrders), as J&T sends it. PATCH (Write, Beta): replace the order — the FULL create body minus txlogisticId. DELETE (Write, Beta): cancel (order/cancelOrder), optional reason in the body or query |
/qp-express/shipments | POST | Write (Beta). Create a QPX shipment (POST /integration/order): fullName, phone, address, cityId, contents, codMinor, optional weightKg, referenceId, notes, orderDate → { serial, shipment } (courier standard) |
/qp-express/shipments/{trackingNumber} | PATCH | Write (Beta). Replace a shipment's details by QPX serial — the FULL body; QPX accepts it only while the shipment is Pending (else COURIER_REJECTED). Same file as the standard GET above |
/qp-express/cities | GET | Read (Beta). QPX's city list, { id, names[] } — id is the cityId writes need (QPX refuses a name) |
/qp-express/history | GET | Read (Beta). Field-level change log of the account's QPX orders in date_from..date_to (max 92 days), page / page_size (≤200) |
J&T order calls need the J&T customer code and password on the
connection as well as the API account and private key (Settings →
Integrations → J&T Express; optional fields — tracking works without them).
Missing → 400 COURIER_RECONNECT_REQUIRED.
Not offered, by evidence: J&T Egypt — rate quote, separate pickup booking
(the order's send window is the pickup), COD/payout, tickets: no source
documents them (the open-platform portal is sign-in only; the contract is
taken from github.com/Genius-code/jt-express-eg and NUMU-IO PR #605).
QP Express — cancel, label, rate quote, pickups, tickets: the QPX
integration API exposes token, order list/get/create/update, cities and
change history only.
MCP: every route is a shipping_<courier>_… tool (e.g.
shipping_aramex_shipments, shipping_ups_shipments_by_trackingNumber) on the
ONE shipping server, https://analify-mcp.scalyax.ai/shipping (scope
mcp:shipping), which also serves every Bosta and Bosta Fulfillment tool. The
existing /bosta server is unchanged. Every courier write is reached only
through analify_call_write_tool; each courier's write tools are listed in its
own block below. The J&T and QP Express Beta writes are
shipping_jt_express_shipments_post,
shipping_jt_express_shipments_by_trackingNumber_label,
shipping_jt_express_orders_by_txlogisticId_patch / _delete,
shipping_qp_express_shipments_post and
shipping_qp_express_shipments_by_trackingNumber_patch; their reads are
shipping_jt_express_orders_by_txlogisticId_get,
shipping_qp_express_cities and shipping_qp_express_history.
Aramex and SMSA Express — actions (Beta)
Beta: built from each courier's published contract (Aramex ShippingAPI.V2
WSDLs, SMSA's SECOM WSDL) and tested against their documented and probed
responses — not yet run against a live account. Every write creates or
changes something real at the courier that it bills for, and needs a token with
the write scope (over MCP: mcp:write, via analify_call_write_tool); a
read-only token gets 403. Every read is a GET. Money in and out is integer
minor units of currency — the one the body/query names, else the org's.
Extra errors: 400 INVALID_INPUT (refused before the courier was called) and
400 COURIER_REJECTED (the courier said no; its own code is in vendorCode).
Writes are recorded in the Business Brain.
| Route | Methods | Note |
|---|---|---|
/aramex/shipments | POST | Write. Create 1–50 shipments (CreateShipments): { shipments: [{ shipper, consignee, weightKg, numberOfPieces, descriptionOfGoods, productGroup, productType, paymentType, codMinor?, … }], currency? }. Each one succeeds or fails on its own — ok: false was not created |
/aramex/shipments/{trackingNumber}/label | GET | the AWB label (PrintLabel) — a URL by default (report 9201), base64 when Aramex sends the file |
/aramex/shipments/{trackingNumber}/hold | POST | Write. Put a shipment on hold (HoldShipments), { comment } |
/aramex/shipments/{trackingNumber}/schedule-delivery | POST | Write. Preferred delivery date + address (ScheduleDelivery) |
/aramex/pickups | POST | Write. Book a pickup (CreatePickup); keep pickupGuid to cancel it |
/aramex/pickups/{pickupId} | GET | a pickup's last status and collected AWBs (TrackPickup) |
/aramex/pickups/cancel | POST | Write. Cancel a pickup, { pickupGuid, comments? } (CancelPickup) |
/aramex/rates | GET | price quote before creating (CalculateRate); flat query (originCity, originCountryCode, destinationCity, destinationCountryCode, weightKg, numberOfPieces, productGroup, productType, paymentType, …) → totalMinor / taxMinor |
/aramex/countries · /aramex/states · /aramex/cities · /aramex/offices | GET | location reference (FetchCountries/States/Cities/Offices); the last three take countryCode (ISO 2-letter) |
/smsa/shipments | POST | Write. Create one shipment (addShip) → its AWB |
/smsa/shipments/{trackingNumber}/label | GET | the AWB label as a base64 PDF (getPDF) |
/smsa/shipments/{trackingNumber}/cancel | POST | Write. Cancel, { reason } (cancelShipment); only an SMSA-confirmed cancellation reports success |
/smsa/shipments/{trackingNumber}/return-to-origin | POST | Write. Send it back to the shipper (stoShipment) |
/smsa/rates | GET | price quote (getShipCharges): shipperCity, shipperCountry, destinationCity, destinationCountry, shipType, weightKg, codMinor? → chargesMinor |
/smsa/retail-cities · /smsa/retail-centers | GET | SMSA retail centres (getRTLCities, getRTLRetails / getAllRetails; routeCode narrows to one city) |
/smsa/delivered-shipments | GET | delivered shipments with the COD each collected (getDeliveredShipments), date_from..date_to at most 31 days |
Not offered by the courier APIs (so not here): Aramex has no cancel/void
or edit for a created shipment (only hold), no claims/tickets and no COD
remittance in its ShippingAPI; SMSA's SECOM service has no pickup booking,
no shipment edit, no claims/tickets and no COD remittance report. MCP tool
names follow the routes: shipping_aramex_shipments_post,
shipping_aramex_shipments_by_trackingNumber_hold, shipping_aramex_rates,
shipping_smsa_shipments_by_trackingNumber_cancel,
shipping_smsa_delivered_shipments, …
9.1 DHL Express, FedEx and UPS — writes and quotes (Beta)
These three couriers also create, cancel and label shipments, quote rates
and book pickups, like Bosta. Beta: each call is built from the
courier's official API reference (cited per courier below and in each
adapter's header) and tested against the documented request/response shapes —
none has yet run against a live courier account.
- Request bodies are the courier's own JSON, forwarded unchanged (UPS
ShipmentRequest, FedExrequestedShipment, MyDHLPOST /shipments) — the
courier validates its own tree. A strayorganizationIdin a body is
dropped; it is Analify's routing key, never part of a courier request. - Answers are normalised:
trackingNumber,packageTrackingNumbers,
labels[{ trackingNumber, format, base64, url }](inline base64 or a link —
whatever the courier gives),charge: { amountMinor, currency }in integer
minor units of the courier's own currency (the account's negotiated rate when
the courier returns one;null= not returned, never zero), plusraw— the
courier's full answer. - WRITE rows create or change something real at the courier and may be
billed: they need a write-scopedanlfy_token or an MCP connection with
mcp:write(analify_call_write_tool). Read rows change nothing; the
rate-quote POSTs are reads (on the read-style POST list), so a read-only
token may call them. The read-style POSTs are exactly/ups/rates,
/fedex/rates,/fedex/transit-times,/fedex/shipments/validate,
POST /dhl-express/ratesand/dhl-express/landed-cost;
every other POST, PUT and DELETE here is a write. Every route also needs a
role coveringshipping. - Errors, in addition to the shipment-read errors above:
400 COURIER_REQUEST_REJECTED(the courier
refused the body — its own message, its status and code inerror.meta),
404 COURIER_NOT_FOUND,403 SCOPE_DENIED,502 COURIER_API_ERROR(the
courier failed, refused our credentials, or rate-limited us),400 COURIER_WRITE_CREDENTIALS_REQUIRED(the connection lacks the credential the
courier's write API needs — DHL Express's MyDHL login; nothing was sent).
UPS — the connected OAuth client ID + secret; the UPS account number
travels inside each body. The merchant's UPS developer app must include the
Shipping, Rating, Time in Transit, Address Validation and Pickup APIs. Source:
UPS's official OpenAPI files, github.com/UPS-API/api-documentation.
| Route | Methods | Access | Note |
|---|---|---|---|
/ups/shipments | POST | WRITE | create a billable shipment + labels. Body { ShipmentRequest } |
/ups/shipments/{trackingNumber} | DELETE | WRITE | void a shipment not yet picked up; optional packages (≤20) voids only those |
/ups/shipments/{trackingNumber}/label | GET | Read | reprint a label; format GIF · PDF (default) · ZPL · EPL · SPL |
/ups/rates | POST | Read | price before shipping. Body { RateRequest }; requestOption Shop (default) · Rate · Shoptimeintransit · Ratetimeintransit |
/ups/transit-times | GET | Read | services + days to a destination; required originCountryCode, destinationCountryCode |
/ups/addresses/validate | GET | Read | US / Puerto Rico street-address check + residential classification; required addressLine, countryCode |
/ups/pickups | GET | Read | pending on-call pickups; required accountNumber |
/ups/pickups | POST | WRITE | book a pickup (may be billed). Body { PickupCreationRequest }; answers the PRN as confirmationNumber |
/ups/pickups/{prn} | DELETE | WRITE | cancel a pickup by PRN |
UPS publishes no support-ticket, claims or COD-remittance API, and no
shipment-update call (void and re-create instead).
MCP tools: shipping_ups_shipments_post, …_shipments_by_trackingNumber_delete,
…_shipments_by_trackingNumber_label, …_rates, …_transit_times,
…_addresses_validate, …_pickups_get, …_pickups_post, …_pickups_by_prn.
FedEx — the connected OAuth client ID + secret; the FedEx account number
travels inside each body (accountNumber.value). The merchant's FedEx
developer project must include the Ship, Rates and Transit Times, Pickup
Request, Address Validation, Service Availability and Postal Code Validation
APIs. Source: FedEx's official OpenAPI JSON from the developer.fedex.com API
catalog.
| Route | Methods | Access | Note |
|---|---|---|---|
/fedex/shipments | POST | WRITE | create a billable shipment + labels. Body: FedEx's { accountNumber, labelResponseOptions, requestedShipment }. An asynchronous create answers jobId |
/fedex/shipments/{trackingNumber} | DELETE | WRITE | cancel every package of a shipment not yet picked up; required accountNumber |
/fedex/shipments/validate | POST | Read | dry run of a create — creates nothing. Same body as the create |
/fedex/shipment-results/{jobId} | GET | Read | the outcome of an asynchronous create; required accountNumber |
/fedex/rates | POST | Read | price before shipping. Body { accountNumber, requestedShipment }; the ACCOUNT rate when FedEx returns one |
/fedex/transit-times | POST | Read | services + delivery commitment. Body { requestedShipment } |
/fedex/addresses/validate | GET | Read | resolve + classify one address; required addressLine, countryCode |
/fedex/postal-codes/validate | GET | Read | postal-code check; required carrierCode, countryCode, stateOrProvinceCode, postalCode, shipDate |
/fedex/pickups | POST | WRITE | book a pickup. Body: FedEx's { associatedAccountNumber, originDetail, carrierCode }; answers confirmationNumber + location (FedEx returns no charge) |
/fedex/pickups/availability | GET | Read | pickup days + cut-offs; required postalCode, countryCode, pickupRequestType, carriers, countryRelationship |
/fedex/pickups/{confirmationCode} | DELETE | WRITE | cancel a pickup; required accountNumber, scheduledDate, carrierCode (FDXE · FDXG), location for Express |
FedEx publishes no label-reprint call (labels come back once, at create —
inline or as links), no shipment-update call, and no support-ticket, claims or
COD-remittance API.
MCP tools: shipping_fedex_shipments_post,
…_shipments_by_trackingNumber_delete, …_shipments_validate,
…_shipment_results_by_jobId, …_rates, …_transit_times,
…_addresses_validate, …_postal_codes_validate, …_pickups,
…_pickups_availability, …_pickups_by_confirmationCode.
DHL Express — tracking keeps using the Shipment Tracking – Unified API key;
everything below runs on the MyDHL API, which DHL issues a separate
username + password for (HTTP Basic). The merchant adds them as the optional
"MyDHL API username / password" fields when connecting DHL Express (Settings →
Integrations); without them these routes answer 400 COURIER_WRITE_CREDENTIALS_REQUIRED and tracking still works. The DHL account
number travels in each body (accounts[]) or query (accountNumber). Source:
DHL's official OpenAPI dpdhl-express-api-2.7.0 (developer.dhl.com → MyDHL
API).
| Route | Methods | Access | Note |
|---|---|---|---|
/dhl-express/shipments | POST | WRITE | create a billable shipment + label. Body: MyDHL's POST /shipments JSON; optional strictValidation. Answers dispatchConfirmationNumber when a pickup was booked with it |
/dhl-express/shipments/{trackingNumber}/documents | GET | Read | waybill / commercial-invoice / customs-entry images; required shipperAccountNumber, typeCode, pickupYearAndMonth (YYYY-MM) |
/dhl-express/shipments/{trackingNumber}/proof-of-delivery | GET | Read | electronic proof of delivery; optional content |
/dhl-express/rates | GET | Read | one-piece quote, DHL's query names (accountNumber, origin/destination country + city, weight, length, width, height, plannedShippingDate, isCustomsDeclarable, unitOfMeasurement) |
/dhl-express/rates | POST | Read | multi-piece quote. Body: MyDHL's POST /rates JSON |
/dhl-express/products | GET | Read | the DHL products available between two places (same query as the GET quote) |
/dhl-express/addresses/validate | GET | Read | pickup / delivery capability + service area; required type, countryCode |
/dhl-express/landed-cost | POST | Read | shipping + duties + taxes estimate. Body: MyDHL's POST /landed-cost JSON |
/dhl-express/pickups | POST | WRITE | book a pickup; answers the dispatch confirmation number as confirmationNumber (DHL returns no charge) |
/dhl-express/pickups/{dispatchConfirmationNumber} | PATCH | WRITE | change a booked pickup. Body: MyDHL's update JSON |
/dhl-express/pickups/{dispatchConfirmationNumber} | DELETE | WRITE | cancel a pickup; required requestorName, reason |
The MyDHL API has no shipment cancel or update call (an air waybill that is
never handed to DHL is not billed), and no support-ticket, claims or
COD-remittance API. Its customs-paperwork uploads (upload-invoice-data,
upload-image) are not routed yet.
MCP tools: shipping_dhl_express_shipments_post,
…_shipments_by_trackingNumber_documents,
…_shipments_by_trackingNumber_proof_of_delivery, …_rates_get,
…_rates_post, …_products, …_addresses_validate, …_landed_cost,
…_pickups, …_pickups_by_dispatchConfirmationNumber_patch,
…_pickups_by_dispatchConfirmationNumber_delete.
Courier actions — how they behave (all couriers)
- Writes create or change a real shipment the courier bills for. Every
POST / PATCH / DELETE is a write: ananlfy_token needs the write scope,
an MCP connection needs "allow changes" (mcp:write, called through
analify_call_write_tool), and the member needsshippingaccess. - Input is checked before the courier is called — a bad body answers
400 COURIER_INVALID_INPUTnaming the field, and nothing is sent. - Money in and out is integer minor units (
codMinor: 45050= 450.50);
conversion to the courier's decimal happens inside Analify. - Labels come back as the file itself, base64 (
fileBase64), never a
link that expires — where the courier's API serves a label at all. - A courier that receives the request and refuses it (bad zone or field,
success: 0, a package already picked up) answers400 COURIER_REJECTED
with the courier's ownvendorCode— fix the input, don't retry. Refused
saved credentials answer400 COURIER_RECONNECT_REQUIRED.502 COURIER_API_ERRORis kept for outages (5xx, 429, timeouts). The courier's
own message comes through when it is validation- or permission-style text
("… is required", "invalid …", "already …"); any other text is replaced by
the generic message, like every Analify API error (sanitizeErrorMessage). - Mylerz amounts use the connected country's currency (EGP, JOD, TND,
MAD, DZD) at its own decimals — Jordan and Tunisia are 3-decimal, so
codMinor: 45050there is 45.050. - All actions are Beta: built from each courier's documentation, not yet
run against a live account.
ShipBlu actions (Beta) — 10 operations
Sources: ShipBlu's Swagger spec (api.staging.shipblu.com/docs/?format=openapi),
docs.shipblu.com/tutorial, and ShipBlu's JS client (npm shipblu).
| Route | Methods | Note |
|---|---|---|
/shipblu/shipments | POST | Write. Create a delivery order: customer { fullName, phone, address { line1, line2, zoneId } }, packages [{ packageSize }], codMinor; optional merchantOrderReference, notes, allowOpenPackages, declaredValueMinor. Returns { shipment: { orderId, trackingNumber, status, courierStatus } } |
/shipblu/shipments/{trackingNumber} | PATCH | Write. Edit an order — any create field; only the fields sent change. ShipBlu has no cancel endpoint (cancel in the ShipBlu dashboard) |
/shipblu/returns | POST | Write. Create a return order (courier collects from the customer). Create body + notes (required) |
/shipblu/pickups | POST | Write. Request pickup: { trackingNumbers: [...] } (1–100) |
/shipblu/labels | GET | Labels as ONE PDF, base64. trackingNumbers=a,b, optional onePerPage=true |
/shipblu/rates | GET | Price before creating (nothing is created). governorateId, codMinor, packageSizes=1,2; optional orderType (default delivery), declaredValueMinor, allowOpenPackages. Every amount in minor units |
/shipblu/governorates | GET | { id, name, code } |
/shipblu/cities | GET | governorateId → { id, name } |
/shipblu/zones | GET | cityId → { id, name } — the zoneId an order address needs |
/shipblu/cash-collections | GET | Cash-collection orders: trackingNumber, status, amountMinor, preferredDate. Optional status, trackingNumber, limit, cursor (→ nextCursor) |
Not available from ShipBlu's API: cancelling an order, support tickets.
Mylerz actions (Beta) — 10 operations
Source: Mylerz's own API help pages, https://integration.mylerz.net/Help
(one page per endpoint, e.g. /Help/Api/POST-api-Orders-AddOrders), and the
official Mylerz WooCommerce plugin v5.0.5 for the values Mylerz expects in
practice. Same login as the shipment reads (username + password → bearer
token, per country host). Tracking numbers are Mylerz's 14-digit barcodes;
anything else is a 400 before Mylerz is called.
| Route | Methods | Note |
|---|---|---|
/mylerz/shipments | POST | Write. Create a package: customer { name, phone, street, zoneCode }, description, codMinor; optional warehouseName, reference, notes, weightKg, pieces, serviceType (DTD|DTC|CTD|CTC, default DTD), service (SD|ND, default ND), paymentType (PP|COD|CC, default from codMinor), allowToOpenPackage, valueOfGoodsMinor, customer.cityCode/phone2/email/buildingNo/floorNo/apartmentNo/district. Returns { shipment: { trackingNumber, pickupOrderCode, reference, status, courierStatus } } |
/mylerz/shipments/{trackingNumber} | PATCH | Write. Edit description, notes, weightKg (Mylerz EditPackage) and/or codMinor (Mylerz UpdatePackageCodValue). Returns { shipment: { trackingNumber, updated: ['details' | 'cod'] } } |
/mylerz/shipments/{trackingNumber} | DELETE | Write. Cancel the package. Mylerz refusing it (e.g. already picked up) is a 400 COURIER_REJECTED |
/mylerz/returns | POST | Write. Create a RETURN package (courier collects from the customer). Create body + optional refundMinor (cash paid back to the customer — sent as a negative COD, like Mylerz's plugin) |
/mylerz/pickups | POST | Write. Request pickup: { trackingNumbers: [...] (1–100), timeWindowId?, dueDate? (YYYY-MM-DD) } → { pickups: [{ pickupOrderCode, warehouseName, trackingNumbers }] } |
/mylerz/labels | GET | Airway bills: trackingNumbers=a,b (up to 20) → { labels: [{ contentType, fileBase64, trackingNumbers }] }, one PDF per package |
/mylerz/rates | GET | Expected charges before creating (nothing is created). codMinor, warehouseName, zoneCode, weightKg; optional serviceType, service, paymentType, category (DELIVERY|RETURN), isFulfillment. Returns shippingFeesMinor, chargesMinor, fulfillmentFeesMinor, vatMinor, vatPercent, transferMinor, netTransferMinor, totalTransferMinor |
/mylerz/cities | GET | { code, enName, arName, zones: [{ code, enName, arName }] } — a zone code is the zoneCode above |
/mylerz/warehouses | GET | The merchant's warehouses { name, zoneCode, address, contactName, phoneNumber } |
/mylerz/pickup-time-windows | GET | { id, slotTime, isDefault } — the timeWindowId a pickup takes |
Not available from Mylerz's API: support tickets, COD payouts / statements
(the help index lists neither).
Turbo actions (Beta) — 6 operations
Turbo publishes no merchant API reference. What is known, and how:
- Confirmed live (unauthenticated probes of
platform.turbo.info,
2026-10-15):add-order,edit-orderanddelete-orderexist under
/external-api/, the key travels in the JSON body;edit-orderrequires
code, receiver, phone1, government, area, address, amount_to_be_collected, order_summary, is_order;get-governmentandget-area/{id}are public
lists. - From a community driver only (ShipBridge Turbo, packagist
mohamedhekal/shipbridge-turbo): the rest of the add-order fields, its
success body (code,bar_code),is_order: 1for a return, and the
public tracking page.
| Route | Methods | Note |
|---|---|---|
/turbo/shipments | POST | Write. Create an order: receiver, phone, governorate, area (the Arabic names from the lists below), address, orderSummary, codMinor; optional phone2, followupPhone, notes, invoiceNumber, canOpen, mainClientCode, secondClient. Returns { shipment: { trackingNumber, orderCode, invoiceNumber, trackingUrl } } |
/turbo/shipments/{trackingNumber} | PUT | Write. Replace the order — Turbo's edit takes the whole order again (create body + required isReturn — a return also resends returnSummary and optional returnAmountMinor — and code when Turbo's order code differs from the tracking number) |
/turbo/shipments/{trackingNumber} | DELETE | Write. Delete (cancel) the order |
/turbo/returns | POST | Write. Create a return / exchange order: create body + returnSummary (required), optional returnAmountMinor |
/turbo/governorates | GET | { id, name } (Arabic names) |
/turbo/areas | GET | governorateId → { id, name, status } (status = Turbo's coverage text) |
Not available from Turbo's API: a label / airway-bill file (trackingUrl
is its public tracking page instead), price quotes, pickup requests, support
tickets, COD statements.
Updated about 1 month ago
