版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

Description

Create a B2B Order which is suitable for overseas storage.

Path

HTTP Verb

URL

POST

/api/supplier-service/v1/b2b/createOrder

...

代码块
{
    "overseasWarehouseType":"2",
    "type":1,
    "isEdit":false,
    "inspectionWarehouse":"沪东揽收仓",
    "collectionType":2,
    "customsClearanceType":"0",
    "shipperId":12283,
    "platformOrderNumber":"1",
    "referenceNo":"Test",
    "etd":"2022-10-05",
    "insuranceType":"0",
    "insuranceCurrency":"USD",
    "insuranceAmount":0,
    "isTaxRefund":true,
    "isCommercialInspection":true,
    "isBattery":true,
    "isMagnet":true,
    "declareValue":"",
    "channelCode": "test001",
    "remark":"1",
    "useShipperWarehouseCode":false,
    "shipperWarehouseCode":"",
    "shipperContactName":"openapi",
    "shipperPhone":"15000695273",
    "collectionDate":"2022-10-27",
    "shipperAddress":{
        "country":"CN",
        "postCode":"postcode",
        "state":"上海",
        "city":"上海市",
        "district":"杨浦区",
        "addressLine1":"line1",
        "addressLine2":"line2",
        "addressLine3":"",
        "collectionDate":"2022-10-27"
    },
    "warehouseCode":"abcfbaccc",
    "useWarehouseCode":true,
    "consigneeName":"shouname",
    "consigneePhone":"15000695273",
    "consigneeBizName":"alex",
    "consigneeEmail":"shouemail",
    "consigneeAddress":{
        "country":"CN",
        "postCode":"shoupost",
        "state":"北京",
        "city":"北京市",
        "district":"西城区",
        "addressLine1":"addline1",
        "addressLine2":""
    },
    "attachments":[
 
    ],
    "boxList":[
        {
            "boxNo":"box1",
            "weightDeclared":"1",
            "lengthDeclared":"2",
            "widthDeclared":"3",
            "heightDeclared":"4",
            "declareData":"",
            "boxQty":"5",
            "amazonInternalCode":"6",
            "subOrderNo":"7",
            "amazonStoreShipmentCode":"8",
            "remark":"9"
        }
    ],
    "productList":[
        {
            "boxNo":"box1",
            "sku":"sku1",
            "hscode":"300",
            "image":"",
            "exportUnitValue":"100",
            "skuNameEn":"pinmingEN",
            "productQty":"200",
            "skuNameLocal":"pinmingZH",
            "brand":"pinpai",
            "model":"xinghao",
            "productMaterial":"caizhi",
            "productUsage":"yongtu",
            "exportUnitValueCurrency":"USD",
            "url":"http://bai",
            "amazonStoreShipmentCode":"ponumber",
            "amazonInternalCode":"fbaid"
        }
    ]
}



Response

...

代码块
{
"code":"0",
"data":{
},
"errors":"",
"message":"",
"messageId":"",
"success":true,
"warnList":""
}

...