TrackingMore API

多語言調用 API 

API 呼叫的多語言內容

注: 以下內容僅適用于支援多語言 API 呼叫的信使。

 

 

API 呼叫

1.如果使用者未提交語言參數創建 trackings 時,然後在預設情況下,回應資料將顯示為英文或中文。

2.若要使您的首選的語言所示的回應資料,您必須在創建 trackings 時提交相應語言參數。

(1) 列出所有的跟蹤

https://api.trackingmore.com/v2/trackings/get
ParamDescriptionDefault value
page (optional)Page to display1
limit (optional)Items per page (max 2000)100
status (optional)Items in this statusnull
created_at_min (optional)Start date and time of trackings created(format:The unix timestamp example:1076599161)null
created_at_max (optional)End date and time of trackings created.(format:The unix timestamp example:1076570361)now
lang (optional)Return to language type (only when courier official website supports).瞭解更多資訊null

E.x.

http://api.trackingmore.com/v2/trackings/get?page=1&limit=25&created_at_min=1441314361&created_at_max=1446949161&lang=en
										

 

(2) 創建壹個跟蹤項目

https://api.trackingmore.com/v2/trackings/post

要求身體 params:

Param描述
tracking_numberTracking number
carrier_codeCarrier code
title (optional)Title of the tracking
customer_name (optional)Customer name of the tracking.
customer_email (optional)Email address to receive email notifications of the customer.
order_id (optional)Text field for order ID.
lang (optional)返回語言類型 (僅當信使官方網站支援時)。.瞭解更多資訊

E.x.


  {
    "tracking_number": "RP325552475CN",
    "carrier_code": "china-ems",
    "lang":"en"
  }
										

 

(3) 創建多個跟蹤。

https://api.trackingmore.com/v2/trackings/batch

要求身體 params:

Param描述
tracking_numberTracking number
carrier_codeCarrier code
title (optional)Title of the tracking
customer_name (optional)Customer name of the tracking.
customer_email (optional)Email address to receive email notifications of the customer.
order_id (optional)Text field for order ID.
lang (optional)返回語言類型 (僅當信使官方網站支援時)。.瞭解更多資訊

E.x.


[
  {
    "tracking_number": "RP325552475SG",
    "carrier_code": "singapore-post",
    "lang": "en"
  }, 
  {
    "tracking_number": "LK664578623CN",
    "carrier_code": "china-ems",
    "lang": "cn"
  }
]
										

 

(4) 獲取跟蹤單個跟蹤結果。

https://api.trackingmore.com/v2/trackings/{carrier_code}/{tracking_number}

返回選擇語言。(僅適用于支援多語言 API 呼叫的信使。).瞭解更多資訊

E.x.

https://api.trackingmore.com/v2/trackings/ups/1Z97X17XYW06605211/en

 

(5) 獲取單次跟蹤的實時跟蹤結果

https://api.trackingmore.com/v2/trackings/realtime

Request body params:

ParamDescription
tracking_number快遞單號
carrier_code運輸商簡碼
destination_code (optional)目標國家/地區代碼 (兩個字元).
tracking_ship_date(optional)寄件日期,格式為20181001(年月日),部分運輸商(如德國郵政)要求填寫發件日期才可以查詢物流信息,故查詢此類運輸商時需要傳此參數。
tracking_postal_code(optional)收件地郵編,部分運輸商(如Mondial Relay法國快遞)要求填寫郵編才可以查詢物流信息,故查詢此類運輸商時需要傳該參數。
specialNumberDestination(optional)目的國參數,部分運輸商要求填寫目的國家才可以查詢物流,故查詢此類快遞時需要傳該參數
order (optional)Text field for order ID.
lang (optional)返回語言類型 (僅當信使官方網站支援時)。.瞭解更多資訊

E.x.


  {
    "tracking_number": "RP325552475CN",
    "carrier_code": "china-ems",
    "lang":"en"
  }
										

     

 

前端顯示

1.當跟蹤包在前端,回應資料將顯示為您所選擇的語言時,這只適用于快遞支援多語言 API 呼叫時。否則,回應資料將顯示為英文或中文。

如。如果你是目前位於的英文版,回應資料會英語。

     

後端顯示

1.當追蹤包裹在後端,回應資料將顯示為您選擇,只適用于當快遞支援多語言 API 呼叫的語言。否則,回應資料將顯示為英文或中文。

如.: 如果你是目前位於的英文版,回應資料會英語。

     

Webhook 推式通知

1.Webhook 推資料將顯示為您使用添加發貨後端的語言。當追蹤包裹在後端,將作為語言您使用添加該套裝程式,只適用于當快遞支援多語言 API 呼叫時顯示回應資料。否則,回應資料將顯示為英文或中文。

如.: 如果您目前使用來創建 trackings 的語言是英語,那麼會顯示回應資料作為英語。

E.x.

  • Response  200
  • Body
    {
    "meta":{
       "code":200,
       "type":"Success",
       "message":"Success"
    },
       "data":{
    	"id":"7eabcb811fa10ab1f77d10418579a7f5",
    	"tracking_number":"LX203960974CN",
    	"carrier_code":"china-ems",
    	"lang":"en",
    	...
    	"origin_info":{
    		"weblink":"http:\/\/www.ems.com.cn\/",
    		"phone":null,
    		"carrier_code":"china-ems",
    		"trackinfo":[
    		{
    			"Date":"2016-11-15 08:23",
    			"StatusDescription":"\u672a\u59a5\u6295",
    			"Details":"\u745e\u5178"
    		},{
    			"Date":"2016-11-14 09:34",
    			"StatusDescription":"\u5230\u8fbe\u5904\u7406\u4e2d\u5fc3,\u6765\u81ea\u4e2d\u56fd \u5e7f\u5dde",
    			"Details":"\u745e\u5178"
    		}
    		...
    		]
    	},
    	"destination_info":{
    		"weblink":"http:\/\/www.posten.se\/",
    		"phone":null,
    		"carrier_code":"sweden-posten",
    		"trackinfo":[{
    			"Date":"2016-11-15 15:04",
    			"StatusDescription":"Posten has not been able to reach the recipient for delivery before 10.00. New delivery attempt to be made no later than 18.00. The item will subsequently be treated as an ordinary letter",
    			"Details":"535031, Sweden"
    		},{
    			"Date":"2016-11-15 14:00",
    			"StatusDescription":"The shipment item could not be delivered because the recipient was not possible to reach. A notice has been given and the shipment item is delivered to a service point.",
    			"Details":"535031, Sweden"
    		}
    		...
    		]
    		}
    	},
    	"verifyInfo":{
    	  "timeStr":1488249109,
    	  "signature":"4b279021f5c041f6e3344e7a0636cc26201ab24b91adcea6d38331cb89221d45"
    	}
    }
    										

 

信使支援多語言 API 呼叫的清單

快遞簡碼 快遞名稱 支援的語言
139express 139 ECONOMIC Package cn,ru
51aoyue AoYue en
a-duie-pyle A. Duie Pyle en
acscourier ACS Courier en,gr
adico Adico en
aj-ex AJEX en
al8856 Ali Business Logistics en,cn
allegro Allegro en,pl
alpha-fast Alpha Fast en,th
ambroexpress Ambro Express en,pl
apc-overnight APC overnight en
apx-logistics APX Logistics en
aramex Aramex en,tr
armenia-post Armenia Post hy,en,ru
asendia-de Asendia Germany en,de
austria-post Austrian Post en,fr
azerbaijan-post Azerbaijan Post ru,en
bartolini BRT it,en,fr,de
belgium-post Bpost en,de,fr,nl
belpochta Belarus Post ru
bjs bjshomedelivery en
bosnia-and-herzegovina-post Bosnia And Herzegovina Post bs,en
boxberry Boxberry en,ru
brazil-correios Brazil Correios pt,en,es
bt-exp LJS cn,en
callcourier CallCourier en
canada-post Canada Post en,cn,ar,fr
canpar Canpar Courier en,fr
cdek CDEK Express en,cn,ru
china-ems China EMS en,cn
china-post China Post en,cn
chronopost Chronopost en,fr
chronopost-portugal Chronopost Portugal(DPD) en,pt
cirroparcel CIRRO en
cmkexpress CMK cn
cnexps CNE Express en,cn
colicoli Colicoli en,cn,fr
colissimo Colissimo en,fr,de,es,nl,it
correo-argentino Argentina Post en,pt,fr,es
correos-bolivia Bolivia Post en,pt,fr,es
correos-spain Correos es,en,cn,pt,fr
ctt Portugal CTT pt,en
ctty CTTY en
czech-post Czech Post cs,en
dayonetrack Day One Track en
dealfy Dealfy en
denmark-post Denmark post en,dk
dhl DHL en,cn,tw,es,ru,it,ja,fr,kr
dhl-active DHL Active Tracing en,es,de,sv,pl,fr
dhl-es DHL Spain Domestic en,sp
dhl-germany DHL Germany de,en
dhl-poland DHL Poland Domestic en,pl
dhl-unified-api DHL API en,cn,tw,it,ja,fr,es,ru
dhlglobalmail DHL eCommerce en,cn,ca,es,de,ru,pt,ja,fr,ko,pl
dhlink Dhlink cn,en
dhlparcel-nl DHL eCommerce NL en,nl
dpd DPD en,de,fr,nl,it,cs,es,pl
dpd-ch DPD Switzerland en,fr,de,it
dpd-nl DPD Netherlands en
dpd-ro DPD Romania en,cs
dropshipman Dropshipman en
dylt Daylight Transport en
earlyex Earlyex en
ecargo-asia Ecargo en,kr
ecelogistics ECE Logistics en
efwtrack EFW Track en
egyptexpress EG Express en
emhsz METEOR EXPRESS en
emirates-post Emirates Post ar,en,ur
epacket ePacket en,cn
ets-express ETS Express en,cn
fast-house-us Fast Horse (US) en
fedex FedEx en,cn,es,de,ru,nl,pt,it,jp,fr,ko,tr,fi,cs
finland-posti Finland Post - Posti ru,en,lt,fi,sv,et,lv
franch-express France Express en
gdwse WSE Logistics cn,en
georgian-post Georgia Post en,ka
gls GLS en,cn,tw,es,de,ru,nl,pt,it,jp,fr,ko,tr,fi,cs
gls-de GLS Germany en,de
gls-es GLS Spain en,es,pt
gls-hr GLS(HR) en
gls-italy GLS Italy en,it
gls-pl GLS Poland en,pl
gls-ro GLS Romania en
gls-us-freight GLS Freight en
gmsworldwide GMS Worldwide Express en
goswift Go Swift en
greece-post ELTA Hellenic Post gr,en
guangyy56 GYY en
hepsijet HepsiJET en
hong-kong-post Hong Kong Post en,cn,tw
hoyangexpress HoYang Express en
huaexpress HUA EXPRESS en
hyyt Hua Ya Express en
iceland-post Iceland Post is,en
ids-logistik IDS Germany en
inpost-paczkomaty InPost en,pl
international-seur Seur en,es
israel-post Israel Post ru,ar,he,en
japan-post Japan Post en,ja
jcex JCEX en,cn
jch-exp JCH en
jetlogistic J&T International cn,en
jrs-express jrs-express en
jt-express-th J&T Express Thailand cn,en
jtexpress-br J&T Brazil en,cn,pt
kart2door kart2door en
kazpost Kazakhstan Post ru,en,kz
kdexp KYOUNGDONG(경동택배) en
kerry-logistics Kerry Logistics en,cn,tw
korea-post Korea Post en,kr
kunyi kunyi en
kyrgyzpost Kyrgyzstan Post ru,en,kg
landmark-global Landmark Global en,fr,de,nl
lanqichuhai Lanqichuhai en
laposte La Poste en,fr,de
latamyou LATAM YOU en
latvijas-pasts Latvia Post lv,en
ldgj LDGJ en
lietuvos-pastas Lithuania Post en,lt
luxembourg-post Luxembourg Post en,de,fr,lu
lxpantos LX Pantos en
macao-post Macao Post en,cn,tw,pt
mailamericas MailAmericas en,es
malaysia-post Malaysia Post ar,ms
matkahuolto Matkahuolto en,sv,fi
moldova-post Moldova Post ru,en,ro
morninglobal Morning Global cn,en,tw
myhes-de Hermes Einrichtungs Service de
newgistics Newgistics en,cn
nova-poshta Nova Poshta ua,ru
omgoexpress OmgoExpress en
omniva Estonia Post ru,en,es
packfleet Packfleet en
passport-shipping Passport Shipping en
payo Payo en
piggycars-us piggycars us en
poczta-polska Poland Post pl,en
poste-italiane Poste Italiane it,en
posten-norge Posten Norge no,en
postnl-3s PostNL en,cn,fr,it,de,nl,es
purolator Purolator en,fr
qyunexpress QYUN GLOBAL en
raben-group Raben Group de,en
rosan ROSAN EXPRESS en,ru
royal-mail-v2 Royal Mail(New) en
russian-post Russian Post en,ru
sagawa Sagawa ja,en
saudi-post Saudi Post ar,en
sending Sending en,es
sendparcel Sendparcel en
serbia-post Serbia Post rs,en,sr
sf-express SF Express cn
sfb2c SF International en,cn
sfcservice SFC Service en,cn
shippie Shippie en
sinoair SINOAIR en,cn
slovakia-post Slovakia Post sk,en
smartr Smartr Logistics en
speedaf Speedaf Express cn,en
spx-vn Shopee Express Vietnam en,vi
star-wish StarWish en
starlinks Starlinks en
summitspeed SummitSpeed en
super-parcel Super Parcel en
sweden-posten PostNord sv,en,pt
swiss-post Swiss Post fr,en,it,de
taiwan-post Chunghwa POST tw,en
taqbin-jp YAMATO TRANSPORT en,ja
tawssil Tawssil en
taxydromiki Geniki Taxydromiki en,bg,el
timisc TIMISC cn
tnt TNT en,cn,tw,es,de,ru,nl,pt,it,jp,fr,ko,tr,fi,cs
tnt-reference TNT Reference en,cn,tw,es,de,ru,nl,pt,it,jp,fr,ko,tr,fi,cs
tunisia-post Tunisia Post ar,fr
turkey-post Turkish Post (PTT) tr,en
ukraine-post Ukraine Post en,ua
ups UPS en,cn,tw,es,de,ru,it,fr
ural ural乌拉尔国际物流 en,cn
urvaam urvaam es
veho Veho en
vfs Victorian freight Specialists en
wardtlc Ward Transport & Logistics en
whatsship Whats Ship en
wise-express Wise Express en,cn
wiselution Wiselution en
wishpost Wish Post en,cn
wooolink WoooLinks上海领链物流 en
xingyou Xingyou en
xyslogistics XYS Logistics en
yanwen Yanwen en,cn
ybdexpress Ybd Express cn,en
ydhex YDH en,cn
yuanpeng YUANPENG SUPPLY CHAIN en
yunlu YL express en,cn
yurticikargo Yurtici Kargo en
z1express Z1Express en
zes-express ESHUN International Logistics cn,en
zis-one ZIS en
zmetaport ZMETAPORT cn

轉變您的
今天的貨件追蹤

想要自動更新貨件或提高交付效率?借助 TrackingMore 強大的 API,您將擁有觸手可及的所有工具,以改變客戶的售後旅程。