创建FBA订单


POST http://openapi.ck1info.com/v1/fbaOrder
接口说明: 每个客户的不同PackageId第一次提交视作新增订单;如果数据改动后再次提交,视作修改订单
创建FBA订单,然后调用【获取FBA订单状态】接口,【获取FBA订单状态】接口响应数据中的Status值为"Created",并且TrackingNumber有值,才算创建成功
Http 201 - 提交成功
Http 200 - 订单已存在,忽略当前提交的订单
Http 400 - 提交的数据有误,请检查

输入参数

Body Parameters
名称类型格式要求是否必须描述示例值
WarehouseCode string

None.

必须

FBA仓库代码

ABE2

ShipmentId string

最大长度: 15

必须

FBA Shipment ID

24332

ReferenceId string

最大长度: 12

必须

Amazon Reference ID

34

PackageId string

满足正则: ^[a-zA-Z0-9\-_]*$

长度: 0 ~ 50

必须

包裹Id(第三方系统自定义Id,客户+包裹Id 具有唯一性)

SMT23015236489

Location string

长度: 0 ~ 20

必须

处理点

GZ

ServiceCode string

长度: 0 ~ 30

必须

发货服务代码

CUE

ContainerInfos Collection of ContainerInfo

None.

必须

箱子信息

Custom string

长度: 0 ~ 1000

客户自定义,可以用于打印在地址标签Custom区域

bag-red

VatCode string

None.

Vat号

Remark string

长度: 0 ~ 1000

备注

remark

输入参数的json形式
{
  "WarehouseCode": "sample string 1",
  "ShipmentId": "sample string 2",
  "ReferenceId": "sample string 3",
  "PackageId": "sample string 4",
  "Location": "sample string 5",
  "ServiceCode": "sample string 6",
  "ContainerInfos": [
    {
      "CustomContainerNo": "sample string 1",
      "Weight": 2,
      "Length": 3,
      "Width": 4,
      "Height": 5,
      "SkuInfos": [
        {
          "Sku": "sample string 1",
          "Picture": "sample string 2",
          "Charged": true,
          "ASINCode": "sample string 4",
          "ModelName": "sample string 5",
          "DeclareNameEN": "sample string 6",
          "DeclareNameCN": "sample string 7",
          "Quantity": 8,
          "DeclareValue": 9,
          "MaterialEN": "sample string 10",
          "MaterialCN": "sample string 11",
          "PurposeEN": "sample string 12",
          "PurposeCN": "sample string 13",
          "BrandName": "sample string 14",
          "Weight": 15,
          "Packing": "sample string 16",
          "HsCode": "sample string 17"
        },
        {
          "Sku": "sample string 1",
          "Picture": "sample string 2",
          "Charged": true,
          "ASINCode": "sample string 4",
          "ModelName": "sample string 5",
          "DeclareNameEN": "sample string 6",
          "DeclareNameCN": "sample string 7",
          "Quantity": 8,
          "DeclareValue": 9,
          "MaterialEN": "sample string 10",
          "MaterialCN": "sample string 11",
          "PurposeEN": "sample string 12",
          "PurposeCN": "sample string 13",
          "BrandName": "sample string 14",
          "Weight": 15,
          "Packing": "sample string 16",
          "HsCode": "sample string 17"
        }
      ]
    },
    {
      "CustomContainerNo": "sample string 1",
      "Weight": 2,
      "Length": 3,
      "Width": 4,
      "Height": 5,
      "SkuInfos": [
        {
          "Sku": "sample string 1",
          "Picture": "sample string 2",
          "Charged": true,
          "ASINCode": "sample string 4",
          "ModelName": "sample string 5",
          "DeclareNameEN": "sample string 6",
          "DeclareNameCN": "sample string 7",
          "Quantity": 8,
          "DeclareValue": 9,
          "MaterialEN": "sample string 10",
          "MaterialCN": "sample string 11",
          "PurposeEN": "sample string 12",
          "PurposeCN": "sample string 13",
          "BrandName": "sample string 14",
          "Weight": 15,
          "Packing": "sample string 16",
          "HsCode": "sample string 17"
        },
        {
          "Sku": "sample string 1",
          "Picture": "sample string 2",
          "Charged": true,
          "ASINCode": "sample string 4",
          "ModelName": "sample string 5",
          "DeclareNameEN": "sample string 6",
          "DeclareNameCN": "sample string 7",
          "Quantity": 8,
          "DeclareValue": 9,
          "MaterialEN": "sample string 10",
          "MaterialCN": "sample string 11",
          "PurposeEN": "sample string 12",
          "PurposeCN": "sample string 13",
          "BrandName": "sample string 14",
          "Weight": 15,
          "Packing": "sample string 16",
          "HsCode": "sample string 17"
        }
      ]
    }
  ],
  "Custom": "sample string 7",
  "VatCode": "sample string 8",
  "Remark": "sample string 9"
}

返回结果

None.