温馨提示: 1、请注意必填字段,创建订单时,必填字段未填会报错。 2、如遇到下单被拦截提示报错的情况,请及时反馈飞鸟客服协助处理。 JSON请求格式: Code Block |
---|
| [
{
"contact": "yuhao",
"business_name": null"FN",
"address_line1": "DPF4",
"address_line2": "D474",
"address_line3": null,
"city": "Atlanta",
"county": "Georgia",
"post_code": "30309",
"country_iso": "GBCN",
"telephone": "01704 226830",
"email": null,
"delivery_service_id": "27095315",
"sales_reference": "2",
"sales_order_id": "110222319566-0",
"special_instruction": null,
"type":"LOCAL",
"products":[
{"id":29893521,"quantity":1,"sales_price":"10"}
],
"#salessales_order_id": " // 新增 销售订单ID 【yodel 出口必填】",
"omp_name": "ebay",
"salesomp_ordervat_idnumber": "12345676541",
"#ompshipper_nameeori":"// 新增 销售平台名称 (必须是英文), ebay, amazon 等 【royal mail,yodel 出口必填】 "191966856000",
"reason_for_export": "Sale",
"ompcontent_nametype": "ebayGift",
"#ompioss_vat_number":"// 新增 销售平台的vat号 【yodel 出口必填】",
"receiver_eori":"1",
"ompreceiver_vatpid_number": "12345",
"#shipper_eoriis_compensation_for_delay": "1"//
新增 客户的eori号 【royal mail,dpd 出口必填】",}
] |
返回结果: Code Block |
---|
| {
"shipper_eori"success": "12345000"true,
"data": [
"#reason_for_export":"// 新增 出口原因: (Sale:销售; ReturnReplacement:退换; Gift:礼物),【dpd 出口必填】", {
"reason_for_export": "Sale", "#content_typeid":"// 新增 包裹类型: (Gift:礼物;Documents:文件,Other:其他),【royalmail 出口必填】", 2111050020000095,
"contentcompany_typeid": "Gift"2,
} ] |
返回结果: Code Block |
---|
| { "success": true, "data": [
client_id": 1,
{ "warehouse_id": 2103220360000003null,
"companyconsignment_product_idquantity": 36"1",
"clientconsignment_product_idreference": 47"1",
"warehousedelivery_service_id": null5315,
"consignmentdelivery_service_productid_quantityinternal": "1",5315,
"consignmentdelivery_package_product_reference": "2685282",size_id": 958,
"deliverytotal_service_idprice": 2709"0.00",
"deliverytotal_servicesales_id_internalprice": 2709"10.00",
"total_delivery_package_size_idfee": 617,"1.00",
"total_pricehandling_fee": "0.00",
"total_sales_price "length": "60.00",
"total_delivery_fee "width": "0.00",
"total_handling_fee "depth": "0.5000",
"lengthtotal_weight": "050.00",
"width "total_volume": "0504000.00",
"depth "total_volume_weight": "0504000.000000",
"total_fee_weight": "25050.000000",
"totalguarantee_volumepercentage": "20971520.00",
"total_volume_weightcontact": "2097152.0000yuhao",
"totalbusiness_fee_weightname": "250.0000FN",
"guaranteeaddress_percentageline1": "0.00DPF4",
"contact "address_line2": "yuhaoD474",
"businessaddress_nameline3": null,
"address_line1city": "DPF4Atlanta",
"address_line2 "county": "D474Georgia",
"addresspost_line3code": null"30309",
"city "country_iso": "Atlanta",CN",
"countytelephone": "Georgia01704 226830",
"post_codeemail": "30309"null,
"countrysender_isocontact": "GB"null,
"telephone "sender_business_name": null,
"01704 226830", "emailsender_address_line1": null,
"sender_contactaddress_line2": null,
"sender_businessaddress_nameline3": null,
"sender_address_line1city": null,
"sender_address_line2county": null,
"sender_addresspost_line3code": null,
"sender_country_cityiso": null,
"sender_countyemail": null,
"sender_post_codetelephone": null,
"sendersales_country_isoreference": null,"2",
"sendersales_emailprice": null"0.000",
"sendercustoms_telephoneprice": null"2.000",
"sales_referenceorder_id": "2"null,
"sales_price "custom_identity_reference": "0.000"null,
"customspayment_pricereference": "2.000"null,
"customdelivery_identity_reference": null,
"salestracking_order_idreference": 1234567654null,
"paymentspecial_referenceinstruction": null,
"deliveryneighbour_referenceinstruction": null,
"trackingomp_referencename": null"ebay",
"special_instruction "omp_vat_number": null"1",
"neighbourshipper_instructioneori": null"191966856000",
"ompreceiver_nameeori": "ebay1",
"ompreceiver_vatpid_number": "527"null,
"shipper_eori "ioss_vat_number": "1616407132"null,
"temp_consignment_info_id": null,
"is_urgent": "0",
"is_forced_delivery_service": "0",
"create_time": "2021-0311-2205 1718:5819:51",53",
"finish_time": null,
"arrive_time": null,
"update_time": "2021-0311-2205 1718:5819:5253",
"type": "LOCAL",
"status": "PENDING",
"stock_status": "ONLY_ORI_STOCK_ENOUGH",
"reason_for_export": "SALE",
"content_type": "GIFT",
"is_hide_delivery_reference_to_consignment": "0",
"delivery_service_is_signature": "01",
"delivery_service_is_tracking": "0"
}
],
"moduleName": "client"
} |
line: 创建失败的时候, 会告知是哪一个line出错. data是创建成功的订单号和跟踪号的键值对 json对象 返回异常示例 必填项receiver_eori 未填 Code Block |
---|
| {
"success": false,
"message": "You must provide valid contactreceiver_eori for consignment at line .". 2111050020000098",
"extraData": []
} |
|