This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"package": { | |
"id": "54053c9daf0555e54dd54016", | |
"created_at": "1409629341", | |
"updated_at": "1409629341", | |
"description": null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$request = array(); | |
$request['tracking'] = array(); | |
$request['tracking']['tracking_number'] = 'RA123456789US'; | |
// all the following value are optional | |
$request['tracking']['slug'] = 'usps'; // AfterShip support auto detect courier, if you don't know which couriers is. just skip this line. | |
$request['tracking']['title'] = 'iPhone Case'; | |
$request['tracking']['order_id'] = '10001'; | |
$request['tracking']['order_id_path'] = 'http://www.mystore.com/order.php?order_id=10001'; | |
$request['tracking']['customer_name'] ='Tim Cook'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"tracking": { | |
"active": true, | |
"id": "52e0dfd21246ff7488066941", | |
"slug": "russian-post", | |
"tracking_number": "RA223547577RU" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notification": { | |
"emails": ["[email protected]","[email protected]","invalid EMail @ Gmail. com"], | |
"smses": ["+85291239123", "+85261236123", "Invalid Mobile Phone Number"] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notification": { | |
"emails": ["[email protected]","[email protected]"], | |
"smses": ["+85291239123", "+85261236123"] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notification": { | |
"emails": ["[email protected]","[email protected]"], | |
"smses": ["+85291239123", "+85261236123"] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notification": { | |
"emails": ["[email protected]","[email protected]","invalid EMail @ Gmail. com"], | |
"smses": ["+85291239123", "+85261236123", "Invalid Mobile Phone Number"] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"couriers": [ | |
{ ... }, | |
{ ... }, | |
{ ... } | |
] |