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, kex-express, shopee-express, flash-express, scg-express, jt-express, best-express, speed-d, ninja-van, nim-express, inter-express, tnt-express, shippop, tp-logistics, it-transport, nakhonchai-air, global-cainiao, japan-post, sky-box, business-idea-transport, fed-ex, por-lor-express, dpx-logistics, ecms-express, southern-delivery-service, yusen-logistics, dtac, quantium-solutions, acommerce, korea-post, dhl-ecommerce, makesend-delivery, ems-international, sabina, rtt-express, janio-asia, zto-express, teleport, cne-express, sun-you, thailandpost-distribution, boxme, post-sabuy, ontrac, sendle, 4px, yanwen-express, apple-store
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 = "kex-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 = "kex-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": "kex-express",
        "phoneNumber": "0987654321",
        "note": "Test sending parcel notifications via phone number"
    }'