Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

注意, 使用批量添加, 订单状态默认是到"已完成", 自己出单就不用管了, 如果包裹发到鸟仓再出单, 则需要给每个consignment添加"status":"PENDING"的参数

获取预置信息

创建订单的时候, 需要邮递服务和包裹尺寸, 可以预存到你们系统里, 不经常改变, 不需要每次都请求.

...

product_name_cn:产品中文名称 ,不填写会影响清关文件  [必填]

sales_price: 订单在销售平台的价格,(不填的话会自动调用产品申报价格)。   [选填]

sales_reference:需要填写销售跟踪号请自行添加参数 sales_reference,  例如 "sales_reference":"12345"

weight:重量,单位为g [必填]

price_customs_export:海关出口报关价,单位为美元。(用product_name或name、product_name_cn,或name_cn、price_customs_export或 price都可以上传对应的值) [必填]

client_ref:对应客户sku,有传则可配置面单显示此字段,便于拣货。  [必填]

custom_identity_reference:自定义唯一跟踪号,属于排重字段,防止重复订单,填写后会检查同一订单类型下6个月内是否有重复订单,重复则报错提示。

brand:品牌 (非必填)

attachment-url:产品图片URL,传送图片链接供飞鸟质检审核产品。新产品图片URL为必填,已存在的产品不用传图片URL(只能传网上的图片,不能传本地的)url:产品图片URL,传送图片链接供飞鸟质检审核产品(只能传网上的图片,不能传本地的) [必填]

Code Block
[
  {
    "delivery_service_id": "5198",
       "type":"AGENT_DIRECT",
    "business_name": "",
    "contact": "Rochelle Kerr",
    "address_line1": "23 Portelet Court",
    "city": "London",
    "county": "London",
    "post_code": "N1 5TL",
    "country_iso": "GB",
    "telephone": "07983-467763-467763",
    "custom_identity_reference":"224SF242321",
    "line": "1",
    "products": [
      {
        "product_name": "3apple29",
        "product_name_cn":"3苹果29",
        "brand":"asd品牌",
        "client_ref":"a4624",
        "price_customs_export": "3",
        "sales_price":"10",
        "weight": "300",
        "quantity": "1",
        "product_customs_property":["其它"],
        "attachment-url":"http://www.qqma.com/imgpic2/cpimagenew/2018/4/5/6e1de60ce43d4bf4b9671d7661024e7a.jpg"
      },
       {
        "product_name": "4apple29",
        "product_name_cn":"4苹果29",
        "brand":"asd品牌",
        "client_ref":"a5456",
        "price_customs_export": "3",
        "sales_price":"10",
        "weight": "300",
        "quantity": "1",
        "product_customs_property":["其它"],
        "attachment-url":"http://www.qqma.com/imgpic2/cpimagenew/2018/4/5/6e1de60ce43d4bf4b9671d7661024e7a.jpg"
      }
    ]
  }
]

...