POST api/OpenWebApi/ZZ_CreateOutOrderByAmazon

以亚马逊自提方式创建中转出库订单

Request Information

URI Parameters

None.

Body Parameters

订单信息

ZZOutOrderInfo
NameDescriptionTypeAdditional information
UserCode

用户代码

string

None.

CountryCode

国家代码(US 美国,JP 日本,UK 英国,CNA 加拿大,DE 德国,AU 澳洲)

string

None.

WarehouseCode

仓库代码(USDB 美国波特兰仓,JPDB 日本仓,UKDB 英国仓,CNADB 加拿大卡尔加里仓,DEDB 德国德累斯顿仓,USLA 美国洛杉矶仓,AUDB 澳洲墨尔本仓,CNAWGH 加拿大温哥华仓)

string

None.

DeliveryCompany

亚马逊自提时可为空 派送公司(美国:UPS,USPS、日本:佐川快递、英国:Royal Mail,DPD、加拿大:CNA-UPS,CP、德国:DEDPD,GLS,DE-UPS,DHL-warenpost,DHL、澳洲:墨尔本亚马逊,AUPOST LETTER,AUPOST)

string

None.

OutCargoMethod

出货方式 0:按箱出库,1:按板出库

string

None.

UserCustomeNumber

客户订单号

string

None.

Consignee

收件人

string

None.

ConsigneeTelephone

收件人电话

string

None.

ConsigneeAddress

收件人地址

string

None.

ZipCode

邮政编码

string

None.

ConsigneeAddress2

收件人地址2

string

None.

ConsigneeCountryName

收件人国家

string

None.

State

string

None.

City

城市

string

None.

AmazonFileBase64

亚马逊箱唛PDF文件,转base64后传输

string

None.

Remark

备注

string

None.

BoxList

出库箱子列表

Collection of ZZOutOrderBox

None.

Request Formats

application/json, text/json

Sample:
{
  "UserCode": "sample string 1",
  "CountryCode": "sample string 2",
  "WarehouseCode": "sample string 3",
  "DeliveryCompany": "sample string 4",
  "OutCargoMethod": "sample string 5",
  "UserCustomeNumber": "sample string 6",
  "Consignee": "sample string 7",
  "ConsigneeTelephone": "sample string 8",
  "ConsigneeAddress": "sample string 9",
  "ZipCode": "sample string 10",
  "ConsigneeAddress2": "sample string 11",
  "ConsigneeCountryName": "sample string 12",
  "State": "sample string 13",
  "City": "sample string 14",
  "AmazonFileBase64": "sample string 15",
  "Remark": "sample string 16",
  "BoxList": [
    {
      "BoxCode": "sample string 1",
      "AmazonBoxNumber": "sample string 2"
    },
    {
      "BoxCode": "sample string 1",
      "AmazonBoxNumber": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ZZOutOrderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenWebApi.Models.Request">
  <AmazonFileBase64>sample string 15</AmazonFileBase64>
  <BoxList>
    <ZZOutOrderBox>
      <AmazonBoxNumber>sample string 2</AmazonBoxNumber>
      <BoxCode>sample string 1</BoxCode>
    </ZZOutOrderBox>
    <ZZOutOrderBox>
      <AmazonBoxNumber>sample string 2</AmazonBoxNumber>
      <BoxCode>sample string 1</BoxCode>
    </ZZOutOrderBox>
  </BoxList>
  <City>sample string 14</City>
  <Consignee>sample string 7</Consignee>
  <ConsigneeAddress>sample string 9</ConsigneeAddress>
  <ConsigneeAddress2>sample string 11</ConsigneeAddress2>
  <ConsigneeCountryName>sample string 12</ConsigneeCountryName>
  <ConsigneeTelephone>sample string 8</ConsigneeTelephone>
  <CountryCode>sample string 2</CountryCode>
  <DeliveryCompany>sample string 4</DeliveryCompany>
  <OutCargoMethod>sample string 5</OutCargoMethod>
  <Remark>sample string 16</Remark>
  <State>sample string 13</State>
  <UserCode>sample string 1</UserCode>
  <UserCustomeNumber>sample string 6</UserCustomeNumber>
  <WarehouseCode>sample string 3</WarehouseCode>
  <ZipCode>sample string 10</ZipCode>
</ZZOutOrderInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultOfCreateOrderResult
NameDescriptionTypeAdditional information
Status

ResultStatusCode

None.

Msg

string

None.

Data

CreateOrderResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Msg": "sample string 1",
  "Data": {
    "IsSuccess": true,
    "OutOrderCode": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ResultOfCreateOrderResultlT2OjdAF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenWebApi.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/OpenWebApi.Models.Response">
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
    <d2p1:OutOrderCode>sample string 2</d2p1:OutOrderCode>
  </Data>
  <Msg>sample string 1</Msg>
  <Status>Success</Status>
</ResultOfCreateOrderResultlT2OjdAF>