Send tracking

It is an API for sending parcel numbers to users in the ETrackings application that is tied to a mobile phone number. with our app already The system will send the parcel as ON_KEEP status, meaning that the system will keep it in the system for 48 hours. The system will check the system continuously. If the information is found, the system will notify the parcel as usual. If not found, the system will automatically delete it.



API for sending parcel numbers to users in the ETrackings application.

Endpoint Description
POST /app/send-track Send parcel tracking to user via phone number using Parameters trackingNo, courierKey to tell the name of the shipping company, phoneNumber to identify the desired user, , note to indicate what the product is (if any)

POST /app/send-track

Headers

instead of YOUR_API_KEY and YOUR_KEY_SECRET yours with your own code.

Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Parameters

REQUIRED PARAMETERS

Parameter Type Description
trackingNo String The parcel number will see the status.
courierKey String Shipping company name There are all as follows thailand-post, kerry-express, shopee-express, flash-express, scg-express, jt-express, best-express, speed-d, ninja-van, nim-express, inter-express, tnt-express, shippop, aramex, tp-logistics, it-transport, nakhonchai-air, global-cainiao, japan-post, sky-box, business-idea-transport, fed-ex, por-lor-express, send-it, jwd-express, sme-shipping, logistics-worldwide-express, dpx-logistics, ecms-express, southern-delivery-service, ctt-express, yusen-logistics, dtac, quantium-solutions, acommerce, korea-post, dhl-ecommerce, makesend-delivery, usps, chronopost, spee-dee-delivery, ems-international, dsv, phl-post, hermes-world, landmark-global, sabina, rtt-express, koo-lex, janio-asia, seko-logistics, yrc-freight, zto-express, wexpress, xpresso-asia, teleport, nz-post, cne-express, sun-you, one-world-express, posti, aant-truck, thailandpost-distribution, boxme, post-nl, post-sabuy
phoneNumber String User phone number example 0987654321 or +66987654321 (supported in Thailand only)
note String Parcel notes, or possibly the name of the product
Body

Example of sending parcel tracking via phone number with Parameters trackingNo = "SHP5054369172", courierKey = "kerry-express", phoneNumber = "0987654321", note = "Test sending parcel notifications via phone number"

{
  "meta": {
    "code": 201,
    "message": "Send to user by phone number +66 93 194 2607."
  }
}
Curl

Example of sending parcel tracking via phone number with Parameters trackingNo = "SHP5054369172", courierKey = "kerry-express", phoneNumber = "0987654321", note = "Test sending parcel notifications via phone number"

curl --location --request POST 'https://api.etrackings.com/api/v3/app/send-track'       --header 'Etrackings-api-key: <YOUR_API_KEY>'       --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>'       --header 'Content-Type: application/json'       --data-raw '{
        "trackingNo": "SHP5054369172",
        "courierKey": "kerry-express",
        "phoneNumber": "0987654321",
        "note": "Test sending parcel notifications via phone number"
    }'