创建退货单


POST https://eu-openapi.chukou1.cn:85/v1/returnOrder
½Ó¿Ú˵Ã÷: 创建退货单
Http 200 - 订单创建成功
Http 400 - 提交的数据有误,请检查

ÊäÈë²ÎÊý

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

None.

收件人信息

ReceivingWarehouseCode string

³¤¶È: 0 ~ 20

收货仓库代码(和收件人信息二选一)

NJ

PackageId string

³¤¶È: 0 ~ 50

Âú×ãÕýÔò: ^[a-zA-Z0-9\-_]*$

±ØÐë

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

SMT23015236489

ServiceCode string

³¤¶È: 0 ~ 30

±ØÐë

发货服务代码

CUE

Sender AddressWithContact

None.

±ØÐë

发件人信息

Weight decimal number

None.

±ØÐë

重量(g) [取值是向上取整的]

600

Length decimal number

¸¡µãÊý¸ñʽ: 8,2

长(cm)

25

Width decimal number

¸¡µãÊý¸ñʽ: 8,2

宽(cm)

10

Height decimal number

¸¡µãÊý¸ñʽ: 8,2

高(cm)

20

Skus Collection of ReturnSkuObject

None.

±ØÐë

SKU列表

SalesPlatform string

None.

销售平台

Ebay

Custom string

³¤¶È: 0 ~ 1000

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

bag-red

Remark string

³¤¶È: 0 ~ 1000

备注;

remark

ÊäÈë²ÎÊýµÄjsonÐÎʽ
{
  "ShipToAddress": {
    "Contact": "sample string 1",
    "Phone": "sample string 2",
    "Email": "sample string 3",
    "Country": "sample string 4",
    "Province": "sample string 5",
    "City": "sample string 6",
    "Street1": "sample string 7",
    "Street2": "sample string 8",
    "Postcode": "sample string 9"
  },
  "ReceivingWarehouseCode": "sample string 1",
  "PackageId": "sample string 2",
  "ServiceCode": "sample string 3",
  "Sender": {
    "Contact": "sample string 1",
    "Phone": "sample string 2",
    "Email": "sample string 3",
    "Country": "sample string 4",
    "Province": "sample string 5",
    "City": "sample string 6",
    "Street1": "sample string 7",
    "Street2": "sample string 8",
    "Postcode": "sample string 9"
  },
  "Weight": 4,
  "Length": 5,
  "Width": 6,
  "Height": 7,
  "Skus": [
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 4",
      "DeclareNameCn": "sample string 5",
      "ProductName": "sample string 6",
      "Price": 7,
      "HsCode": "sample string 8",
      "SaleURL": "sample string 9"
    },
    {
      "Sku": "sample string 1",
      "Quantity": 2,
      "Weight": 3,
      "NewDeclareValue": {
        "Value": 1,
        "Currency": "sample string 2"
      },
      "DeclareNameEn": "sample string 4",
      "DeclareNameCn": "sample string 5",
      "ProductName": "sample string 6",
      "Price": 7,
      "HsCode": "sample string 8",
      "SaleURL": "sample string 9"
    }
  ],
  "SalesPlatform": "sample string 8",
  "Custom": "sample string 9",
  "Remark": "sample string 10"
}

·µ»Ø½á¹û

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

None.

出库包裹ID

SMT23015236489

Ck1PackageId string

None.

处理号

EUU20160808TST00001

HandleStatus DirectExpressOrderStatus

None.

处理状态

Submitted

TrackingNumber string

None.

跟踪号

T024963157

IsFinalTrackingNumber boolean

None.

是否是最终跟踪号,部分渠道是到仓后才会有最终跟踪号的

true

ShippingProvider string

None.

承运商

DHL

CreateFailedReason UnShippedReason

None.

创建失败原因

ShippingCosts Collection of ShippingCost

None.

费用列表

HasRemoteFee boolean

None.

是否产生偏远地区费用

·µ»Ø½á¹ûµÄjsonÐÎʽ
{
  "PackageId": "sample string 1",
  "Ck1PackageId": "sample string 2",
  "HandleStatus": "Initial",
  "TrackingNumber": "sample string 3",
  "IsFinalTrackingNumber": true,
  "ShippingProvider": "sample string 5",
  "CreateFailedReason": {
    "ReasonCode": "sample string 1",
    "ReasonText": "sample string 2",
    "ExtendMessage": "sample string 3"
  },
  "ShippingCosts": [
    {
      "Money": 1,
      "Currency": "sample string 2",
      "Type": "None",
      "Remark": "sample string 3"
    },
    {
      "Money": 1,
      "Currency": "sample string 2",
      "Type": "None",
      "Remark": "sample string 3"
    }
  ],
  "HasRemoteFee": true
}