...
| 代码块 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
[
{
"referenceNo": "reedzhang1231211TESTING1231211",
"country": "AU",
"serviceCode": "UBITEST.AU2AUSERVICE.AUPOST.1CODE",
"serviceOption": "Expedited",
"facility": "can",
"state": "VICTORIA",
"city": "Berwick",
"postcode": "3806",
"addressLine1": "3 Lakeside Drivie",
"addressLine2": "",
"recipientName": "Corrie McKee",
"phone": "0403536112",
"email": "corrie.mckee@monash.edu",
"sku": "sw2111202146745684",
"invoiceCurrency": "USD",
"invoiceValue": 6.23,
"weightUnit": "g",
"weight": 264,
"description": "sw2111202146745684",
"nativeDescription": "连衣裙",
"shipperName": "Jiang Yuanfei",
"shipperPhone": "+86 02586707811",
"shipperAddressLine1": "Prologis (Anbo) Logistics Center Datang Town,Sanshui Industrial Park",
"abnnumber": "",
"gstexemptioncode": "PAID",
"extendData": {
"vendorid": "111",
"injectPort": null
},
"orderItems": [
{
"itemCount": 1,
"originCountry": "CN",
"description": "sw2111202146745684",
"nativeDescription": "连衣裙",
"unitValue": 3.87,
"itemNo": "8247107",
"sku": "sw2111202146745684"
},
{
"itemCount": 1,
"originCountry": "CN",
"description": "sw2201125303640755",
"nativeDescription": "背心",
"unitValue": 2.36,
"itemNo": "9743766",
"sku": "sw2201125303640755"
}
],
"shipperCity": "FO SHAN",
"volume": 0.1
}
] |
...
| 代码块 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
[
{
"referenceNo": "MAC2022041101012",
"serviceCode": "UBITEST.CA2CASERVICE.PUROLATORCODE",
"recipientName": "AMAZONYYC1",
"phone": "68765183",
"addressLine1": "University of Toronto 27",
"addressLine2": "",
"addressLine3": "",
"city": "Toronto",
"state": " Ontario",
"postcode": "M5S 1A1",
"country": "CA",
"length": "",
"width": "",
"height": "",
"shipperName": "alex",
"shipperAddressLine1": "test",
"shipperAddressLine2": "",
"shipperAddressLine3": "",
"shipperCity": "ON",
"shipperState": "ON",
"shipperPostcode": "k1z3yz",
"shipperCountry": "CA",
"shipperPhone": "15000695273",
"facility": "",
"weight": 1,
"invoiceValue": 23.4,
"invoiceCurrency": "USD",
"description": "watch,pencil",
"nativeDescription": "手表,铅笔",
"sku": "sku001,sku002",
"orderItems": [
{
"itemNo": 1,
"sku": "sku001",
"description": "watch",
"nativeDescription": "手表",
"hsCode": "hscode001",
"originCountry": "CN",
"itemCount": 2,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
},
{
"itemNo": 2,
"sku": "sku002",
"description": "pencil",
"nativeDescription": "铅笔",
"hsCode": "hscode002",
"originCountry": "CN",
"itemCount": 1,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
}
],
"pieces": [
{
"referenceNo": "MAC2022040601012-1",
"serviceCode": "UBITEST.CA2CASERVICE.PUROLATORCODE",
"recipientName": "AMAZONYYC1",
"phone": "68765183",
"addressLine1": "University of Toronto 27",
"addressLine2": "",
"addressLine3": "",
"city": "Toronto",
"state": " Ontario",
"postcode": "M5S 1A1",
"country": "CA",
"length": "",
"width": "",
"height": "",
"shipperName": "alex",
"shipperAddressLine1": "test",
"shipperAddressLine2": "",
"shipperAddressLine3": "",
"shipperCity": "ON",
"shipperState": "ON",
"shipperPostcode": "k1z3yz",
"shipperCountry": "CA",
"shipperPhone": "15000695273",
"facility": "",
"invoiceValue": 23.4,
"invoiceCurrency": "USD",
"weight": 1,
"description": "watch,pencil",
"nativeDescription": "手表,铅笔",
"sku": "sku001,sku002",
"orderItems": [
{
"itemNo": 1,
"sku": "sku001",
"description": "watch",
"nativeDescription": "手表",
"hsCode": "hscode001",
"originCountry": "CN",
"itemCount": 2,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
},
{
"itemNo": 2,
"sku": "sku002",
"description": "pencil",
"nativeDescription": "铅笔",
"hsCode": "hscode002",
"originCountry": "CN",
"itemCount": 1,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
}
]
},
{
"referenceNo": "MAC2022040601012-2",
"serviceCode": "UBITEST.CA2CASERVICE.PUROLATORCODE",
"recipientName": "AMAZONYYC1",
"phone": "68765183",
"addressLine1": "University of Toronto 27",
"addressLine2": "",
"addressLine3": "",
"city": "Toronto",
"state": " Ontario",
"postcode": "M5S 1A1",
"country": "CA",
"length": "",
"width": "",
"height": "",
"shipperName": "alex",
"shipperAddressLine1": "test",
"shipperAddressLine2": "",
"shipperAddressLine3": "",
"shipperCity": "ON",
"shipperState": "ON",
"shipperPostcode": "k1z3yz",
"shipperCountry": "CA",
"shipperPhone": "15000695273",
"facility": "",
"invoiceValue": 15.6,
"invoiceCurrency": "USD",
"weight": 1,
"description": "mask",
"nativeDescription": "口罩",
"sku": "sku003",
"orderItems": [
{
"itemNo": 1,
"sku": "sku003",
"description": "mask",
"nativeDescription": "口罩",
"hsCode": "hscode003",
"originCountry": "CN",
"itemCount": 2,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
}
]
},
{
"referenceNo": "MAC2022040601012-3",
"serviceCode": "UBITEST.CA2CASERVICE.PUROLATORCODE",
"recipientName": "AMAZONYYC1",
"phone": "68765183",
"addressLine1": "University of Toronto 27",
"addressLine2": "",
"addressLine3": "",
"city": "Toronto",
"state": " Ontario",
"postcode": "M5S 1A1",
"country": "CA",
"length": "",
"width": "",
"height": "",
"shipperName": "alex",
"shipperAddressLine1": "test",
"shipperAddressLine2": "",
"shipperAddressLine3": "",
"shipperCity": "ON",
"shipperState": "ON",
"shipperPostcode": "k1z3yz",
"shipperCountry": "CA",
"shipperPhone": "15000695273",
"facility": "",
"invoiceValue": 15.6,
"invoiceCurrency": "USD",
"weight": 2,
"description": "pencil,pencil",
"nativeDescription": "铅笔,铅笔",
"sku": "sku002,sku002",
"orderItems": [
{
"itemNo": 1,
"sku": "sku002",
"description": "pencil",
"nativeDescription": "铅笔",
"hsCode": "hscode002",
"originCountry": "CN",
"itemCount": 1,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 2
},
{
"itemNo": 2,
"sku": "sku002",
"description": "pencil",
"nativeDescription": "铅笔",
"hsCode": "hscode002",
"originCountry": "CN",
"itemCount": 1,
"unitValue": 7.8,
"warehouseNo": "",
"productURL": "",
"weight": 1
}
]
},
]
{ }
] |
Response message
Single ticket
| 代码块 |
|---|
ResponseMsg { "referenceNostatus": "MAC2022040601012-4Success", "errors": null, "serviceCodedata": "UBI.CA2CA.PUROLATOR", [ { "recipientNamestatus": "AMAZONYYC1Success", "phoneerrors": "68765183"null, "addressLine1warnings": "University of Toronto 27"null, "addressLine2orderId": "jpCMGo8l1riTR6DBD-yrwQ", "addressLine3referenceNo": "BG2206291193743", "citytrackingNo": "Toronto91094210305241764976", "stateconnoteId": " Ontario", null, "postcodepiecesResult": "M5S 1A1"null, "countryextraProperty": "CA", {}, "lengthrelabelStatus": "",1 "widthlastMileCarrier": "", } ], "height": "", "shipperName": "alex", "shipperAddressLine1": "test", "shipperAddressLine2": "", "shipperAddressLine3": "", "shipperCity": "ON", "shipperState": "ON", "shipperPostcode": "k1z3yz", "shipperCountry": "CA", "shipperPhone": "15000695273", "facility": "", "invoiceValue": 15.6, "invoiceCurrency": "USD", "weight": 2, "description": "pencil,pencil", "nativeDescription": "铅笔,铅笔", "sku": "sku002,sku002", "orderItems": [ { "itemNo": 1, "sku": "sku002", "description": "pencil", "nativeDescription": "铅笔", "hsCode": "hscode002", "originCountry": "CN", "itemCount": 1, "unitValue": 7.8, "warehouseNo": "", "productURL": "", "weight": 2 }, { "itemNo": 2, "sku": "sku002", "description": "pencil", "nativeDescription": "铅笔", "hsCode": "hscode002", "originCountry": "CN", "itemCount": 1, "unitValue": 7.8, "warehouseNo": "", "productURL": "", "weight": 1 } ] } ] } ] |
Response message
| 代码块 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Success", "errors": null, "data": [ { "status": "Success", "errors": null, "warnings": null, "orderId": "loMIAw32B4aZRbOseBdrBQ", "referenceNo": "MAC20220411010121", "trackingNo": "TBV000038042", "connoteId": null, "piecesResult": [ warnings": null } |
Multiple items in one ticket
| 代码块 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Success", "errors": null, "data": [ { "status": "Success", ": "Success", "errors": null, "warnings": null, "orderId": "jVI2ejMorJrcSSzKW_DkqwloMIAw32B4aZRbOseBdrBQ", "referenceNo": "MAC20220411010121-1", "trackingNo": "TBV000038059TBV000038042", "connoteId": null, "piecesResult": [ }, { "status": "Success", "errors": null, "warnings": null, "orderId": "PaiwbT-k94aUREQgTbO2mQjVI2ejMorJrcSSzKW_Dkqw", "referenceNo": "MAC20220411010121-21", "trackingNo": "TBV000038067TBV000038059", "connoteId": null }, { "status": "Success", "errors": null, "warnings": null, "orderId": "b77OtFHcwZz8R5JD5GkxpQPaiwbT-k94aUREQgTbO2mQ", "referenceNo": "MAC20220411010121-32", "trackingNo": "TBV000038075TBV000038067", "connoteId": null }, { "status": "Success", "errors": null, "warnings": null, "orderId": "QQFrxW21yLcYQ4p7jeQ2nQb77OtFHcwZz8R5JD5GkxpQ", "referenceNo": "MAC20220411010121-43", "trackingNo": "TBV000038083TBV000038075", "connoteId": null } ], "extraProperty": {} } ], "warnings": null } |
...