创建二程出库单


POST https://eu-openapi.chukou1.cn:86/v1/outboundOrders
½Ó¿Ú˵Ã÷: 每个客户的不同PackageId第一次提交视作新增订单;如果数据改动后再次提交,视作修改订单(取消原订单,重新生成一个新的订单)
创建二程出库单,然后需要获取出库单状态,判断是否创建成功
Http 201 - 提交成功
Http 200 - 订单已存在,忽略当前提交的订单
Http 400 - 提交的数据有误,请检查

ÊäÈë²ÎÊý

Body Parameters
Ãû³ÆÀàÐ͸ñʽҪÇóÊÇ·ñ±ØÐëÃèÊöʾÀýÖµ
WarehouseId string

³¤¶È: 0 ~ 30

±ØÐë

仓库Id

US

Package Package

None.

±ØÐë

出库包裹信息

Remark string

³¤¶È: 0 ~ 200

备注

二程下单测试

Channel string

None.

发货规则,用于客户自提指定发货规则或者carrier

FedEx

SubmitLater boolean

None.

是否稍后提审,默认是false

false

ÊäÈë²ÎÊýµÄjsonÐÎʽ
{
  "WarehouseId": "sample string 1",
  "Package": {
    "PackageId": "sample string 1",
    "PreSale": true,
    "ShipmentId": "sample string 2",
    "ServiceCode": "sample string 3",
    "ShipToAddress": {
      "TaxId": "sample string 1",
      "HouseNumber": "sample string 2",
      "RecipientBirthday": "sample string 3",
      "IDNumber": "sample string 4",
      "BankCardLast4digits": "sample string 5",
      "PaymentType": "sample string 6",
      "IssuingInstitution": "sample string 7",
      "Taxfree": "sample string 8",
      "DutyParagraph": "sample string 9",
      "Contact": "sample string 10",
      "Phone": "sample string 11",
      "Email": "sample string 12",
      "Country": "sample string 13",
      "Province": "sample string 14",
      "City": "sample string 15",
      "Street1": "sample string 16",
      "Street2": "sample string 17",
      "Postcode": "sample string 18"
    },
    "Skus": [
      {
        "Sku": "sample string 1",
        "StorageNo": "sample string 2",
        "Quantity": 3,
        "ProductName": "sample string 4",
        "Price": 5,
        "PlatformItemId": "sample string 6",
        "PlatformTransactionId": "sample string 7",
        "HsCode": "sample string 8"
      },
      {
        "Sku": "sample string 1",
        "StorageNo": "sample string 2",
        "Quantity": 3,
        "ProductName": "sample string 4",
        "Price": 5,
        "PlatformItemId": "sample string 6",
        "PlatformTransactionId": "sample string 7",
        "HsCode": "sample string 8"
      }
    ],
    "ExportsInfo": {
      "EoriCode": "sample string 1",
      "Country": "sample string 2",
      "Province": "sample string 3",
      "City": "sample string 4",
      "Street1": "sample string 5",
      "Street2": "sample string 6",
      "Postcode": "sample string 7",
      "Contact": "sample string 8",
      "Company": "sample string 9",
      "Phone": "sample string 10",
      "Email": "sample string 11"
    },
    "ImportsInfo": {
      "EoriCode": "sample string 1",
      "Country": "sample string 2",
      "Province": "sample string 3",
      "City": "sample string 4",
      "Street1": "sample string 5",
      "Street2": "sample string 6",
      "Postcode": "sample string 7",
      "Contact": "sample string 8",
      "Company": "sample string 9",
      "Phone": "sample string 10",
      "Email": "sample string 11"
    },
    "SellPrice": 4,
    "SellPriceCurrency": "sample string 5",
    "Remark": "sample string 6",
    "SalesPlatform": "sample string 7",
    "ImportTrackingNumber": "sample string 8",
    "VatCode": "sample string 9",
    "CodAmount": 10,
    "ImportLabel": "sample string 11",
    "IsCreateNewOrder": true
  },
  "Remark": "sample string 2",
  "Channel": "sample string 3",
  "SubmitLater": true
}

·µ»Ø½á¹û

None.