版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

字段名

数据类型

最大长度

必填性

描述

订单基本信息

referenceNo


50

M

客户参考号

warehouseCode
50M仓库代码

serviceName


50

M

尾程服务名称

outboundType

M1:FBA, 2:一般
referenceNoFba
100
FBA参考号
orderNoFba
100
FBA ID
stockType


库存类型:0:以仓库为准,1:标准区,2:保留区
isInsuranceBoolean

是否使用保险服务
insuranceValueDecimal

投保金额 ,使用保险服务时为必填
insuranceValueCurrency


投保金额币种, 使用保险服务时为必填,默认usd
isNeedConfirmBoolean
M

是否自动确认发送,默认为true

true则无需再调用8.预报出库单接口,会自动进行预报

false则需要再调用8.预报出库单接口,否则订单只是草稿订单

面单信息
labelListList<Object>

面单信息
fileName
100
文件名,带后缀
fileContent


base64
fileType


文件类型
收件人信息

recipientWarehouseCode


50

O/M

收件地址代码

recipientName


50

O/M

收件人名称

recipientCompany


50

O

收件公司名称

recipientEmail


100

O

收件人邮箱

recipientPhone


50

O/M

收件人电话

addressLine1


200

O/M

收件地址行1

addressLine2


200

O

收件地址行3

addressLine3


200

O

收件地址行3

city


100

O/M

收件城市

state


100

O

收件省份

district


100

O

收件区

postcode


15

O/M

收件地址邮编

country


2

O/M

收件国家

商品信息
productItems;List<Object>
M商品列表

boxNo


30

M

箱号

sku


10

M

商品 Sku

productQty


100

M

商品数量

返回值

orderNo


-

返回值

系统订单号

referenceNo


客户订单号
fbaCode


fbaCode

code


-

-

返回编码

errors


-

-

报错

message


-

-

返回信息

messageId


-

-

返回信息编码

success


-

-

成功响应

warnList


-

-

废弃字段



请求样例


代码块
[
    {
        "referenceNo": "order00001",
        "warehouseServiceNameserviceName": "B2C服务",
        "consigneeAddressCodewarehouseCode": "11112",
		"outboundType": "",
		"warehouseCode": "",
		"referenceNoFba": "",
		"orderNoFba": "",
		"useConsigneeAddressCodestockType": true"",
		"isInsurance": true,
		"insuranceValue": 0,
		"insuranceValueCurrency": "",
 		 "shipperAddressCodelabelList": "Canada[
Warehouse",         "recipientCompany": "",  {
      "nativeDescription": "",         "descriptionfileName": "xxxxxx.pdf",
         "country": "",      "fileContent": "base64 content",
				"statefileType": "pdf",
          "city": "", }
       "district": "" ],
        "addressLine1recipientWarehouseCode": "Canada Warehouse",
        "addressLine2recipientCompany": "",
        "addressLine3nativeDescription": "",
        "postcodedescription": "",
        "recipientNamecountry": "",
        "phonestate": "",
        "emailcity": "",
        "remarkdistrict": "",
        "weightaddressLine1": 1"",
        "weightUnitaddressLine2": "KG",
        "volumeaddressLine3": 1"",
        "dimensionUnitpostcode": "CM",
        "lengthrecipientName": 100"",
        "widthrecipientPhone": 100"",
        "heightrecipientEmail": 100"",
        "platformremark": "",
        "isNeedConfirm":true,
        "productItems": [
            {
				"boxNo": "1",
                "sku": "deli1498603",
                "productQty": 2
            }
        ]
    }
]



返回样例


代码块
[
    {
        "code": "0",
        "data": {
            "orderNo": "C12283221114000002O",
            "referenceNo": "order00002",
			"fbaCode":"1321321231421"
        },
        "errors": "",
        "message": "",
        "messageId": "",
        "success": true,
        "warnList": ""
    }
]

...