页面树结构
转至元数据结尾
转至元数据起始

Description

Create shipping orders.

A shipping order refers to a parcel with a specific description, weight, delivery info etc.

An order list in JSON format. The interface accepts up to 300 orders at a time.      

In generally, trackingNo should be generated by eTower. If trackingNo needs to be specified in request, it should be authorized by eTower.

Please consult your logistics service provider about “Facility” .

Path

HTTP VerbURL
POST/services/shipper/orders


Request field

1Field (API)Data Type

Length

MandatoryDetails
2referenceNoString80MUnique ID of the client's order
3referenceNo1String80OClient order number
4trackingNoString40OTracking number
5serviceCodeString64MService code, provided by logistics provider
6serviceOptionString64OService option, provided by logistics provider
7incotermString3ODDU/DDP
8descriptionString60MEnglish product name
9nativeDescriptionString255O

Chinese name

10weightDouble Mweight(>=0.000001)
11weightUnitString3OWeight unit, enumeration value:G, KG,LB
Default value:KG
12lengthDouble Olong
13widthDouble Owide
14heightDouble Ohigh
15volumeDouble Ovolume(>=0.01)     The default unit of the volume field is cubic meters
16dimensionUnitString3OLength unit, enumeration value:M, CM
Default value:CM
17invoiceValueDouble MThe error between the value of goods (> = 0.01) and sum (itemcount * unitvalue) cannot exceed 0.1
18invoiceCurrencyString3MCurrency, ISO currency code
19pickUpBoolean1Oenumerator values:Y/N
Default value:N
20authorityToLeaveBoolean   
21lockerServiceBoolean   
22batteryTypeString64OBattery type, enumeration values:
  • No Battery
  • Lithium Ion Polymer
  • Lithium Ion Alloy
Default value:No Battery
23batteryPackingString64OBattery packaging,enumerator values:
  • No Battery
  • Inside Equipment
  • Packaged with Equipment
  • Battery Only
  • Other
Default value:No Battery
24dangerousGoodsBoolean ODefault value:false
25skuString128OThe picking list is usually displayed on the face list
26instructionString255ODispatch instruction
27facilityString20ODelivery outlets, provided by logistics providers
28platformString20OPlatform code
29recipientNameString50MRecipient name

Limit English / French characters / non pure numbers
30recipientTaxIdString100ORecipient tax number
31recipientCompanyString50ORecipient company name
32phoneString20OTelephone
33emailString50Omailbox
34addressLine1String200MFirst line of address

Limit English / French characters / non pure numbers
35addressLine2String200OSecond line of address
36addressLine3String80OThird line of address
37cityString80MRecipient City
38stateString80MRecipient State

Limit English / French characters / non pure numbers
39postcodeString16OZip code
40countryString2MCountry two character code
41shipperNameString50Mshipperr name

Limit English / French characters / non pure numbers
42shipperPhoneString20OPhone
43shipperAddressLine1String200OFirst line of address
44shipperAddressLine2String200OSecond line of address
45shipperAddressLine3String80OThird line of address
46shipperCityString80OCity
47shipperStateString80OState
48shipperPostcodeString16OPostcode
49shipperCountryString2OCountry two character code
50returnOptionString100O

return option

  • Null
  • Return
  • Destroy
  • Forward
51returnNameString50OReturn recipient name
52returnAddressLine1String200OFirst line of address
53returnAddressLine2String200OSecond line of address
54returnAddressLine3String80OThird line of address
55returnCityString80OCity
56returnStateString80OState
57returnPostcodeString16OPostcode
58returnCountryString2OCountry two character code
59returnPhoneString50OPhone
60

orderItems

List OItem information
61 itemNo
String128MitemNo
62 sku
String128MSKU
63 description
String60MEnglish product name
If the value is empty, it is set to the description of the order level
1. The keyword of contraband set cannot be included
2. Must be English and French characters or numbers
64 nativeDescription
String255O

Chinese name


65 hsCode
String60OHS Code
66 originCountry
String60MCountry two word code, three word code or name
67 itemCount
Integer Mnumber,>0
68 unitValue
Double MUnit Price,>0
69 warehouseNo
 50OIntercept the first 50 characters
70 productURL
String512OProduct link
71 weight
Double OItem weight, automaticlly convert g to kg by rounding
72
extendData
List

Item extend information
73

itemExportInvoiceValueDouble255Oitem Export Invoice Value
74

itemExportInvoiceCurrencyString255Oitem Export Invoice Currency
75extendData 
List OExtended field, only part is displayed, depends on the service requirements
76 vendorid
String12Ovendorid
77 gstexemptionCode
Sting4OGST tax exemption code. If the vendorid is correct, the field value is automatically set to "paid"
78 senderTaxId
String255OsenderTaxId
79 injectPort
String255OOrder delivery port
80
originPort
String255OOrder origin port
81
postage
Decimal (12, 2)255OPostage
82
icms
Decimal (12, 2)255OICMS fee for BR services
83
vat
Decimal (12, 2)
OVAT amount
84
coverAmount
Double
OCover amount, for additional insurance business related to specific services
85
shipperOrganizationCode
String255OA code system that uniquely identifies enterprises and other organizations and is launched to strengthen the construction of the corporate credit system
86
shipperCompanyName
String255Oshipper company name 
87
exportInvoiceValue
Double


OExport Invoice Value
88
exportInvoiceCurrency
String255OExport Invoice Currency
89onlineInsurance





90
insuranceCurrency
String3OCurrency of insurance amount
91
insuranceAmount
Double/OInsurance amount
92
beneficiaryType
String255

O

Type of beneficiary

1=Individual
2=Company

93
organizationCode
String255

O

If beneficiaryType=1, please fill in the ID card number
If benefitaryType=2, please fill in the organization code
94
beneficiary
String255OBeneficiary
95
insure
String/O

Whether to insure or not
1 = Yes

96
contactName
String20OContact name for beneficiary
97pieces

array[map,...]
OOne ticket multiple package information
98
Parcel Info



The request field structure of a single package is consistent with the requirements above



Response Elements
Return results in the order of shipping info in request, including:

1)status

1.1) Succeeded

1.2) Failed

1.3) Partial Success

2)errors

2.1) error code

2.2) error message

3)data

3.1) orderId

3.2) referenceNo

3.3) trackingNo

3.4) referenceNo1

3.5) status

3.6piecesResult

3.7extraProperty

3.7.1injectPort

3.7.2) customsClearanceType

3.8) errors

3.8.1) code

3.8.2) message

 3.9)relabelStatus

4)warnings

4.1) error code

4.2) error message



Request message

Request
[
  {
    "referenceNo": "TESTING1231211",
    "country": "AU",
    "serviceCode": "Service code, provided by logistics provider",
    "serviceOption": "Service option, provided by logistics provider",
    "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",
    "extendData": {
      "vendorid": "111",
      "injectPort": null,
      "postage": 12.3,
      "icms": 12.1,
      "vat": 1
    },
    "orderItems": [
      {
        "itemCount": 1,
        "originCountry": "CN",
        "description": "sw2111202146745684",
        "nativeDescription": "连衣裙",
        "unitValue": 3.87,
        "itemNo": "8247107",
        "sku": "sw2111202146745684",
		"extendData":{
			"itemExportInvoiceValue": 0.1,
			"itemExportinvoiceCurrency":"USD"
		}
      },
      {
        "itemCount": 1,
        "originCountry": "CN",
        "description": "sw2201125303640755",
        "nativeDescription": "背心",
        "unitValue": 2.36,
        "itemNo": "9743766",
        "sku": "sw2201125303640755"
      }
    ],
    "shipperCity": "FO SHAN",
    "volume": 0.1
  }
]
Multiple items in one ticket
Request
 [
  {
    "referenceNo": "MAC2022041101012",
    "serviceCode": "Service code, provided by logistics provider",
    "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": "Service code, provided by logistics provider",
        "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": "Service code, provided by logistics provider",
        "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": "Service code, provided by logistics provider",
        "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
Response
{
  "status": "Success",
  "errors": null,
  "data": [
    {
      "status": "Success",
      "errors": null,
      "warnings": null,
      "orderId": "",
      "referenceNo": "",
      "trackingNo": "",
      "refNo1": "",
      "connoteId": null,
      "piecesResult": null,
      "extraProperty": {},
      "relabelStatus": 1
      "lastMileCarrier":
    }
  ],
  "warnings": null
}
Multiple items in one ticket
Response
 {
    "status": "Success",
    "errors": null,
    "data": [
        {
            "status": "Success",
            "errors": null,
            "warnings": null,
            "orderId": "",
            "referenceNo": "",
            "trackingNo": "",
            "connoteId": null,
            "piecesResult": [
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                },
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                },
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                }
            ],
            "extraProperty": {}
        }
    ],
    "warnings": null
}

Table of Contents ×





Description

Create shipping orders.

A shipping order refers to a parcel with a specific description, weight, delivery info etc.

An order list in JSON format. The interface accepts up to 300 orders at a time.      

In generally, trackingNo should be generated by eTower. If trackingNo needs to be specified in request, it should be authorized by eTower.

Please consult your logistics service provider about “Facility” .

Path

HTTP VerbURL
POST/services/shipper/orders


Request field

1Field (API)Data Type

Length

MandatoryDetails
2referenceNoString80MUnique ID of the client's order
3referenceNo1String80OClient order number
4trackingNoString40OTracking number
5serviceCodeString64MService code, provided by logistics provider
6serviceOptionString64OService option, provided by logistics provider
7incotermString3ODDU/DDP
8descriptionString60MEnglish product name
9nativeDescriptionString255O

Chinese name

10weightDouble Mweight(>=0.000001)
11weightUnitString3OWeight unit, enumeration value:G, KG,LB
Default value:KG
12lengthDouble Olong
13widthDouble Owide
14heightDouble Ohigh
15volumeDouble Ovolume(>=0.01)     The default unit of the volume field is cubic meters
16dimensionUnitString3OLength unit, enumeration value:M, CM
Default value:CM
17invoiceValueDouble MThe error between the value of goods (> = 0.01) and sum (itemcount * unitvalue) cannot exceed 0.1
18invoiceCurrencyString3MCurrency, ISO currency code
19pickUpBoolean1Oenumerator values:Y/N
Default value:N
20authorityToLeaveBoolean   
21lockerServiceBoolean   
22batteryTypeString64OBattery type, enumeration values:
  • No Battery
  • Lithium Ion Polymer
  • Lithium Ion Alloy
Default value:No Battery
23batteryPackingString64OBattery packaging,enumerator values:
  • No Battery
  • Inside Equipment
  • Packaged with Equipment
  • Battery Only
  • Other
Default value:No Battery
24dangerousGoodsBoolean ODefault value:false
25skuString128OThe picking list is usually displayed on the face list
26instructionString255ODispatch instruction
27facilityString20ODelivery outlets, provided by logistics providers
28platformString20OPlatform code
29recipientNameString50MRecipient name

Limit English / French characters / non pure numbers
30recipientTaxIdString100ORecipient tax number
31recipientCompanyString50ORecipient company name
32phoneString20OTelephone
33emailString50Omailbox
34addressLine1String200MFirst line of address

Limit English / French characters / non pure numbers
35addressLine2String200OSecond line of address
36addressLine3String80OThird line of address
37cityString80MRecipient City
38stateString80MRecipient State

Limit English / French characters / non pure numbers
39postcodeString16OZip code
40countryString2MCountry two character code
41shipperNameString50Mshipperr name

Limit English / French characters / non pure numbers
42shipperPhoneString20OPhone
43shipperAddressLine1String200OFirst line of address
44shipperAddressLine2String200OSecond line of address
45shipperAddressLine3String80OThird line of address
46shipperCityString80OCity
47shipperStateString80OState
48shipperPostcodeString16OPostcode
49shipperCountryString2OCountry two character code
50returnOptionString100O

return option

  • Null
  • Return
  • Destroy
  • Forward
51returnNameString50OReturn recipient name
52returnAddressLine1String200OFirst line of address
53returnAddressLine2String200OSecond line of address
54returnAddressLine3String80OThird line of address
55returnCityString80OCity
56returnStateString80OState
57returnPostcodeString16OPostcode
58returnCountryString2OCountry two character code
59returnPhoneString50OPhone
60

orderItems

List OItem information
61 itemNo
String128MitemNo
62 sku
String128MSKU
63 description
String60MEnglish product name
If the value is empty, it is set to the description of the order level
1. The keyword of contraband set cannot be included
2. Must be English and French characters or numbers
64 nativeDescription
String255O

Chinese name


65 hsCode
String60OHS Code
66 originCountry
String60MCountry two word code, three word code or name
67 itemCount
Integer Mnumber,>0
68 unitValue
Double MUnit Price,>0
69 warehouseNo
 50OIntercept the first 50 characters
70 productURL
String512OProduct link
71 weight
Double OItem weight, automaticlly convert g to kg by rounding
72
extendData
Object

Item extend information
73

itemExportInvoiceValueDouble255Oitem Export Invoice Value
74

itemExportInvoiceCurrencyString255Oitem Export Invoice Currency
75extendData 
Object OExtended field, only part is displayed, depends on the service requirements
76 vendorid
String12Ovendorid
77 gstexemptionCode
Sting4OGST tax exemption code. If the vendorid is correct, the field value is automatically set to "paid"
78 senderTaxId
String255OsenderTaxId
79 injectPort
String255OOrder delivery port
80
originPort
String255OOrder origin port
81
postage
Decimal (12, 2)255OPostage
82
icms
Decimal (12, 2)255OICMS fee for BR services
83
vat
Decimal (12, 2)
OVAT amount
84
coverAmount
Double
OCover amount, for additional insurance business related to specific services
85
shipperOrganizationCode
String255OA code system that uniquely identifies enterprises and other organizations and is launched to strengthen the construction of the corporate credit system
86
shipperCompanyName
String255Oshipper company name 
87
exportInvoiceValue
Double


OExport Invoice Value
88
exportInvoiceCurrency
String255OExport Invoice Currency
89onlineInsurance





90
insuranceCurrency
String3OCurrency of insurance amount
91
insuranceAmount
Double/OInsurance amount
92
beneficiaryType
String255

O

Type of beneficiary

1=Individual
2=Company

93
organizationCode
String255

O

If beneficiaryType=1, please fill in the ID card number
If benefitaryType=2, please fill in the organization code
94
beneficiary
String255OBeneficiary
95
insure
String/O

Whether to insure or not
1 = Yes

96
contactName
String20OContact name for beneficiary
97pieces

array[map,...]
OOne ticket multiple package information
98
Parcel Info



The request field structure of a single package is consistent with the requirements above



Response Elements
Return results in the order of shipping info in request, including:

1)status

1.1) Succeeded

1.2) Failed

1.3) Partial Success

2)errors

2.1) error code

2.2) error message

3)data

3.1) orderId

3.2) referenceNo

3.3) trackingNo

3.4) referenceNo1

3.5) status

3.6piecesResult

3.7extraProperty

3.7.1injectPort

3.7.2) customsClearanceType

3.8) errors

3.8.1) code

3.8.2) message

 3.9)relabelStatus

4)warnings

4.1) error code

4.2) error message



Request message

Request
[
  {
    "referenceNo": "TESTING1231211",
    "country": "AU",
    "serviceCode": "Service code, provided by logistics provider",
    "serviceOption": "Service option, provided by logistics provider",
    "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",
    "extendData": {
      "vendorid": "111",
      "injectPort": null,
      "postage": 12.3,
      "icms": 12.1,
      "vat": 1
    },
    "orderItems": [
      {
        "itemCount": 1,
        "originCountry": "CN",
        "description": "sw2111202146745684",
        "nativeDescription": "连衣裙",
        "unitValue": 3.87,
        "itemNo": "8247107",
        "sku": "sw2111202146745684",
		"extendData":{
			"itemExportInvoiceValue": 0.1,
			"itemExportinvoiceCurrency":"USD"
		}
      },
      {
        "itemCount": 1,
        "originCountry": "CN",
        "description": "sw2201125303640755",
        "nativeDescription": "背心",
        "unitValue": 2.36,
        "itemNo": "9743766",
        "sku": "sw2201125303640755"
      }
    ],
    "shipperCity": "FO SHAN",
    "volume": 0.1
  }
]
Multiple items in one ticket
Request
 [
  {
    "referenceNo": "MAC2022041101012",
    "serviceCode": "Service code, provided by logistics provider",
    "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": "Service code, provided by logistics provider",
        "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": "Service code, provided by logistics provider",
        "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": "Service code, provided by logistics provider",
        "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
Response
{
  "status": "Success",
  "errors": null,
  "data": [
    {
      "status": "Success",
      "errors": null,
      "warnings": null,
      "orderId": "",
      "referenceNo": "",
      "trackingNo": "",
      "refNo1": "",
      "connoteId": null,
      "piecesResult": null,
      "extraProperty": {},
      "relabelStatus": 1
      "lastMileCarrier":
    }
  ],
  "warnings": null
}
Multiple items in one ticket
Response
 {
    "status": "Success",
    "errors": null,
    "data": [
        {
            "status": "Success",
            "errors": null,
            "warnings": null,
            "orderId": "",
            "referenceNo": "",
            "trackingNo": "",
            "connoteId": null,
            "piecesResult": [
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                },
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                },
                {
                    "status": "Success",
                    "errors": null,
                    "warnings": null,
                    "orderId": "",
                    "referenceNo": "",
                    "trackingNo": "",
                    "connoteId": null
                }
            ],
            "extraProperty": {}
        }
    ],
    "warnings": null
}

Table of Contents ×





  • 无标签