API Description
Create Fulfillment Order
Endpoint
HTTP Verb | URL |
|---|---|
| Post | qa: https://cfs-qa.etowertech.com/api/supplier-service/ /v1/openApi/packetOrder/b2c/createOrders |
Sample
Request Headers
POST /v1/openApi/packetOrder/b2c/createOrders HTTP/1.1 Host: http://cfs-qa.etowertech.com/ Content-Type: application/json |
Request
| Level 1 Field | Level 2 Field | Level 3 Field | Type | Length Limit | Meaning | Description | Required | Remark |
| orderType | String | Order Type | Enumeration: B2C (End-to-end Small Parcel) Fulfillment (Warehouse Dropshipping) | M | When using eTower WMS module, please pass 'Fulfillment' | |||
| facility | String | 50 | Sender Facility/Warehouse Code | B2C: Sender facility code; Fulfillment: Warehouse code | M | |||
referenceNo | String | 50 | Order Unique Code | Used to differentiate orders | M | |||
| originPortCode | String | Origin Port (Airport/Seaport) | English Character Code | O | ||||
| injectPortCode | String | 50 | Destination Port | English Character Code | O | |||
| channelCode | String | 64 | Channel Name | English & English punctuation | M | Note: When orderType=Fulfillment, use the serviceName returned in Query Warehouse Service List API where serviceType=5 and active=1 for placing orders | ||
| channelOption | String | 64 | Channel Option | English & English punctuation | O | |||
| platform | String | 20 | Platform | Enumeration: Please fill according to "Platform Names" attachment at the bottom of the page | O | |||
| incoterm | String | 50 | Trade Term | Enumeration: DDU、DDP | O | |||
| collectionType | 20 | Collection Type | Enumeration: Pickup (door-to-door collection) Drop off (self-delivery to warehouse). Default Drop off if not filled | O | ||||
isInsurance | Boolean | 5 | Whether to Add Insurance | Default false if not filled | O | |||
isSignature | Boolean | 5 | Whether Signature Required | Default false if not filled | O | |||
| remark | 200 | Remarks | O | |||||
| Abandoned Flied | ||||||||
| isNeedConfirm | Boolean | Whether Auto-Confirm | Default is true. | Parameters related to orderType=Fulfillment : true means: Order is auto-confirmed, cannot modify after confirmation; false means: Order is created as draft, can modify; needs to call "8. Forecast Outbound Order" for confirmation | ||||
| extendData | Extended Fields | e.g., IOSS, key-value format | ||||||
| consignee | addressCode | String | 50 | Consignee Address Code | e.g., ONT8 represents an FBA warehouse | Parameters related to orderType=B2C | ||
| name | String | 50 | Consignee Name | M | ||||
| company | String | 512 | Consignee Company | |||||
| phone | String | 50 | Consignee Phone | |||||
| String | 50 | Consignee Email | ||||||
| countryCode | String | 2 | Destination Country 2-Character Code | English code | M | |||
| state | String | 80 | Consignee Province/State | |||||
| city | String | 80 | Consignee City | M | ||||
| district | String | 128 | Consignee District | |||||
| addressLine1 | String | 200 | Consignee Address Line 1 | M | ||||
| addressLine2 | String | 200 | Consignee Address Line 2 | |||||
| addressLine3 | String | 80 | Consignee Address Line 3 | |||||
| zipCode | String | 16 | Consignee Postal Code | |||||
| taxId | String | 255 | Consignee Tax ID | |||||
| taxId1 | String | 255 | Consignee Tax ID1 | |||||
| extendData | Extended Fields | |||||||
| shipper | name | String | 50 | Shipper Name | only when orderType=B2C, shipper object can filled and it's optional | |||
| company | String | 512 | Shipper Company | |||||
| phone | String | 50 | Shipper Phone | |||||
| String | 50 | Shipper Email | ||||||
| countryCode | String | 2 | Origin Country 2-Character Code | English code | ||||
| state | String | 80 | Shipper Province/State | |||||
| city | String | 80 | Shipper City | |||||
| district | String | 128 | Shipper District | |||||
| addressLine1 | String | 200 | Shipper Address Line 1 | |||||
| addressLine2 | String | 200 | Shipper Address Line 2 | |||||
| addressLine3 | String | 80 | Shipper Address Line 3 | |||||
| zipCode | String | 16 | Shipper Postal Code | |||||
| taxId | String | 255 | Shipper Tax ID | |||||
| taxId1 | String | 255 | Shipper Tax ID1 | |||||
| extendData | Extended Fields key-value | |||||||
returnAddress | returnOption | String | 50 | Return Option | Enumeration: Return, Destroy. | only when orderType=B2C, shipper object can filled and it's optional | ||
| name | String | 50 | Return(from) Contact Name | |||||
| company | String | 512 | Return (from) Company Name | |||||
| phone | String | 50 | Return (from) Phone | |||||
| String | 50 | Return (from) Email | ||||||
| countryCode | String | 2 | Return (from) Country 2-Character Code | English code | ||||
| state | String | 80 | Return (from) Province/State | |||||
| city | String | 80 | Return (from) City | |||||
| district | String | 128 | Return (from) District | |||||
| addressLine1 | String | 200 | Return(from) Address Line 1 | |||||
| addressLine2 | String | 200 | Return(from) Address Line 2 | |||||
| addressLine3 | String | 80 | Return(from) Address Line 3 | |||||
| zipCode | String | 16 | Return(from) Postal Code | |||||
| extendData | Object | Extended Fields | ||||||
| extendData.shippingMethod | String | 255 | Extended Fields1 | |||||
| extendData.xxx | String | 255 | Extended Fields2 | |||||
| parcels | referenceNo | String | 80 | Package Reference No | M | |||
| referenceNo1 | String | 80 | Package Reference No1 | |||||
| referenceNo2 | String | 80 | Package Reference No2 | |||||
| consignmentId | String | 50 | Package Consignment ID | Australia Post requires MLID+ConsignmentID must not be reused within 2 years | ||||
| descriptionEn | String | 255 | Package Tracking No | M | orderType=Fulfillment :Optional; orderType=B2C :Mandatory; | |||
| description | String | 255 | Package Chinese Description | |||||
| dangerousGoods | Boolean | 5 | Whether Package is Dangerous Goods | true:Dangerous goods false:Non-dangerous goods | ||||
| batteryType | Boolean | 5 | Package Battery Type | true: With battery false: Without battery | ||||
| weight | BigDecimal | 8,3 | Package Weight | 8 digits, 3 decimal places | M | orderType=Fulfillment :Optional; orderType=B2C :Mandatory; | ||
| weightUnit | String | 2 | Weight Unit | Enumeration: KG (default), G, LB | ||||
| length | BigDecimal | 8,2 | Package Length | |||||
| width | BigDecimal | 8,2 | Package Width | |||||
| height | BigDecimal | 8,2 | Package Height | |||||
| dimensionUnit | String | 8 | Dimension Unit | Enumeration: CM (default), M | ||||
| invoiceCurrencyCode | String | 3 | Invoice Currency Code,3-Character code | English Code | ||||
| invoiceValue | BigDecimal | 20,2 | Invoice Amount | M | orderType=Fulfillment :Optional; orderType=B2C :Mandatory; | |||
| transactionCurrency | BigDecimal | 8,2 | Transaction Currency | E-commerce platform transaction currency | ||||
| transactionAmount | BigDecimal | 8,2 | Transaction Amount | E-commerce platform transaction amount | ||||
| trackingNo | String | 80 | Package Tracking No | Required when orderType=Fulfillment & selected service is offline service If order Label file quantity >1, starting from the 2nd Label, pass the file in "attachments" parameter, filtType=1 represents Label | ||||
| labelType | Short | Label Type | Enumeration: 0: url 1:base64 | C | ||||
| label | String | Label | C | |||||
| labelName | String | Label Name | Must include file type, e.g.: outbound order.pdf | C | ||||
| shippingInstruction | String | 50 | Shipping Instruction | Will appear on some channel labels | ||||
| sortCode | String | 50 | Sort Code | Will appear on some channel labels | ||||
| extendData | Object | Extended Fields | key-value format key:keepShipService | Can be used only when orderType=Fulfillment; | ||||
| String | 255 | Extended Fields | ||||||
attachments | attachName | String | 95 | Attachment Name | M | 1.M: If there are attachments, all three fields are required; if no attachments, none are required. 2.Maximum 5 attachments. | ||
| attachData | String | Attachment Content | Base64 format | M | ||||
| attachType | String | 5 | Attachment Extension | Only supports "rar", "zip", "pdf", "doc", "docx", "xls", "xlsx" | M | |||
| filtType | Integer | Attachment Type | Enumeration: 1:Label If not filled or other values: Other | O | ||||
| items | itemNumber | String | 128 | Product Number | ||||
| itemDescEn | String | 255 | Product English Description | |||||
| itemDesc | String | 255 | Product Local Description | |||||
| sku | String | 128 | SKU Code | M | ||||
| hsCode | String | 128 | Customs Code | |||||
| quantity | Integer | 9 | Product Quantity | M | ||||
| quantityUnit | String | 10 | Product Quantity Unit | |||||
| unitPrice | decimal | Unit Price | ||||||
| picture | String | Image | base64 | |||||
| salesURL | String | 500 | Sales Link | |||||
| originCountryCode | String | 10 | Origin Country 2-Character Code | English Code | ||||
| weight | BigDecimal | Weight | ||||||
| usage | String | 255 | Purpose | |||||
material | String | 255 | Material | |||||
| extendData | Extended Fields | |||||||
insurance (Note: Fill if isInsurance is true) | insuranceType | String | 30 | Insurance Type | Can be used to differentiate different insurance third-party platforms or products | Note: Fill if isInsurance is true | ||
| beneficiaryType | String | 20 | Beneficiary Type | Enumeration: company, individual | ||||
| beneficiary | String | 255 | Beneficiary/Company | |||||
| beneficiaryId | String | 20 | ID Card/Organization Code Certificate | |||||
| insuranceCurrencyCode | String | 3 | Insurance 3-Character Currency Code | |||||
| insuranceAmount | BigDecimal | 20,3 | Insurance Amount | |||||
| extendData | Object | Extended Fields | ||||||
| extendData.UPC | String | 255 | Extended Fields1 | |||||
| extendData.xx | String | 255 | Extended Fields2 | |||||
collection | date | date | Collection Date | Year-Month-Day | Note: Fill if Collection Type is pickup | |||
| name | String | 50 | Customer Name | |||||
| company | String | 512 | Customer Company | |||||
| phone | String | 50 | Customer Phone | |||||
| String | 50 | Customer Email | ||||||
| countryCode | String | 2 | Customer Country 2-Character Code | English Code | ||||
| state | String | 80 | Customer Province/State | |||||
| city | String | 80 | Customer City | |||||
| district | String | 128 | Customer District | |||||
| addressLine1 | String | 200 | Customer Address Line 1 | |||||
| addressLine2 | String | 200 | Customer Address Line 2 | |||||
| addressLine3 | String | 80 | Customer Address Line 3 | |||||
| zipCode | String | 16 | Customer Postal Code | |||||
| extendData | Extended Fields |
Sample Request
1、"ordertype":"Fulfillment"
[
{
"facility": "ALT4300",
"channelCode": "ZYMD-SKU-UPS",
"channelOption": "",
"referenceNo": "NX_{{$timestamp}}",
"orderType": "Fulfillment",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "",
"collectionType": null,
"isInsurance": "",
"isSignature": "",
"remark": "testremark1234567890",
"isNeedConfirm": false,
"extendData": {
"extend": null
},
"consignee": {
"addressCode": "AU POST",
"addressLine1": " address1 ",
"addressLine2": " address2 ",
"addressLine3": " address3 ",
"city": " city ",
"company": " testcompany 测试 ",
"countryCode": "AU",
"district": " district",
"email": " 123456789@12.cn ",
"extendData": null,
"name": " 迈克尔 杰克逊 ",
"phone": " 1551234 56781234 ",
"state": " state ",
"taxId": " testtaxid ",
"taxId1": "testtaxid1",
"zipCode": " 8238 juej "
},
"shipper": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"taxId": "",
"taxId1": "",
"zipCode": ""
},
"returnAddress": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"returnOption": "",
"state": "",
"zipCode": ""
},
"parcels": [
{
"referenceNo": "123",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "{{$timestamp}}",
"label": "http:\/\/erp-huanan.oss-cn-shenzhen.aliyuncs.com\/html2pdf\/ec\/pdf\/2023\/04\/10\/8ed24f790c86a1b950ab89d6fd473c4d.pdf",
"labelName":"testfile.pdf",
"labelType": "0",
"descriptionEn": "",
"description": "",
"dangerousGoods": false,
"batteryType": "false",
"weight": null,
"weightUnit": null,
"length": "",
"width": "",
"height": "",
"dimensionUnit": null,
"invoiceCurrencyCode": null,
"invoiceValue": "12",
"transactionCurrency": "usd",
"transactionAmount": "5.12",
"shippingInstruction": "",
"sortCode": "",
"attachments":[
{
"attachName": "1234567890",
"attachData": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ4Pj5zdHJlYW0KeJwr5HIK4TI2UzCxVAhJ4XIN4QrkKlQwVDAAQgiZnKugH5FmqOCSrxDIBQDhfAnBCmVuZHN0cmVhbQplbmRvYmoKNCAwIG9iago8PC9Db250ZW50cyAyIDAgUi9UeXBlL1BhZ2UvUmVzb3VyY2VzPDwvUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0vWE9iamVjdDw8L1hmMSAxIDAgUj4+Pj4vUGFyZW50IDMgMCBSL01lZGlhQm94WzAgMCAxNDIgODVdPj4KZW5kb2JqCjEgMCBvYmoKPDwvU3VidHlwZS9Gb3JtL0ZpbHRlci9GbGF0ZURlY29kZS9UeXBlL1hPYmplY3QvTWF0cml4WzEgMCAwIDEgMCAwXS9Gb3JtVHlwZSAxL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXS9Gb250PDwv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uIAowMDAwMDAwNzA3IDAwMDAwIG4gCjAwMDAwMDA4MzEgMDAwMDAgbiAKMDAwMDAwMTIzNCAwMDAwMCBuIAowMDAwMDAxNDg0IDAwMDAwIG4gCjAwMDAwMDE3MzcgMDAwMDAgbiAKMDAwMDAwMTc4MiAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gMTAgMCBSL0lEIFs8MTM5ZmM3ZTE3NTY3OWQ3MDI5YmMyYWVjNjZjYjdiMTQ+PGNmYzI3MjZjZjgzMGExYzhhYjYxNDcyMDE1ZjdkZGNmPl0vUm9vdCA5IDAgUi9TaXplIDExPj4Kc3RhcnR4cmVmCjE5MDUKJSVFT0YK",
"attachType": "pdf"
}
],
"extendData": {
"keepShipService": false
},
"items": [
{
"extendData": null,
"hsCode": "",
"itemDesc": "",
"itemDescEn": "",
"itemNumber": "",
"matertial": "",
"originCountryCode": "",
"picture": "",
"quantity": "2",
"quantityUnit": "",
"salesURL": "",
"sku": "testals001",
"unitPrice": "",
"usage": "",
"weight": null
}
],
"insurance": [
{
"insuranceAmount": null,
"insuranceCurrencyCode": null,
"insuranceType": null,
"beneficiaryType": null,
"beneficiary": null,
"beneficiaryId": null,
"extendData": null
}
]
}
],
"collectionInfo": {
"date": "",
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"zipCode": ""
}
}
]
2、"ordertype":"B2C"
[
{
"facility": "B2C321",
"channelCode": "UBI.CN2US.AC.GENERAL.LIGHT",
"channelOption": "B2Cchanneloption",
"referenceNo": "XB03094",
"orderType": "B2C",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "DDP",
"collectionType": "Drop off",
"isInsurance": false,
"isSignature": false,
"remark": "testremark",
"extendData": {
"extend": null
},
"consignee": {
"addressCode": null,
"addressLine1": "testaddressline1",
"addressLine2": "8349hao",
"addressLine3": "345shi",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testconsigneename",
"phone": "36247938384",
"state": "teststate",
"taxId": "testtaxid",
"taxId1": "testtaxid1",
"zipCode": "8238juej"
},
"shipper": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "us",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"taxId": "",
"taxId1": "",
"zipCode": ""
},
"returnAddress": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"returnOption": "",
"state": "",
"zipCode": ""
},
"parcels": [
{
"referenceNo": "PARCEL0323002",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "",
"descriptionEn": "descriptionen",
"description": "description",
"dangerousGoods": true,
"batteryType": true,
"weight": 1.245,
"weightUnit": null,
"length": "25",
"width": "26",
"height": "27",
"dimensionUnit": null,
"invoiceCurrencyCode": "USD",
"invoiceValue": 12.5,
"transactionCurrency": null,
"transactionAmount": null,
"shippingInstruction": "",
"sortCode": "",
"extendData": {
"keepShipService": false
},
"items": [
{
"extendData": null,
"hsCode": "111",
"itemDesc": "desc",
"itemDescEn": "descen",
"itemNumber": "1",
"material": "testmaterial",
"originCountryCode": "cn",
"picture": "",
"quantity": "1",
"quantityUnit": "个",
"salesURL": "testsalesurl",
"sku": "QW",
"unitPrice": "21",
"usage": "testusage",
"weight": "12"
}
],
"insurance": [
{
"insuranceAmount": "12",
"insuranceCurrencyCode": "usd",
"insuranceType": null,
"beneficiaryType": null,
"beneficiary": null,
"beneficiaryId": null,
"extendData": null
}
]
}
],
"collection": {
"date": "2023-03-09",
"addressLine1": "testaddress1",
"addressLine2": "testaddress2",
"addressLine3": "testaddress3",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testname",
"phone": "phone",
"state": "teststate",
"zipCode": "123456"
}
}
]
Sample Response
Success Response
1、"ordertype":"Fulfillment"
[
{
"code": "0",
"data": {
"orderNo": "C12283230322000025O",
"referenceNo": "TestA00001"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
},
{
"code": "0",
"data": {
"orderNo": "C12283230322000026O",
"referenceNo": "TestA00002"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
]
2、"ordertype":"B2C"
[
{
"code": "0",
"data":
{ "orderNo": "UBI2303230008", "referenceNo": "XB03094" },
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
]
Failure Response
1、"ordertype":"Fulfillment"
1、
[{
"code": "0005",
"data": {
"orderNo": "",
"referenceNo": "test-0022-1"
},
"errors": [{
"code": "600906",
"message": "warehouseServiceName:qudao1 ,Does not exist in the shipperAddressCode:code0001"
}],
"message": "paramter error",
"messageId": "",
"success": false
}]
2、
[
{
"code": "0005",
"data": {
"orderNo": "",
"referenceNo": "NX_1703583922"
},
"errors": [
{
"code": "0020",
"message": "Operation Error: Operation Error: When the file type is a label,the warehouse supports uploading file format: pdf"
}
],
"message": "paramter error",
"messageId": "",
"success": false,
"warnList": ""
}
]
2、"ordertype":"B2C"
[
{
"code": "0005",
"data": "XB03094",
"errors": [
{
"code": "600222",
"message": "referenceNo:XB03094 field value already exists and cannot be repeated"
}
],
"message": "paramter error",
"messageId": "",
"success": false,
"warnList": ""
}
]