接口说明
批量创建代理专线订单接口
...
ee参数 |
|
返回字段
返回字段 | 字段类型 | 说明 |
---|---|---|
success | int | 返回结果状态。true:正常,false:失败 |
id | int | 订单ID |
company_id | int | 公司ID |
client_id | int | 客户ID |
warehouse_id | int | 仓库ID |
consignment_product_quantity | int | 订单产品数量 |
consignment_product_reference | int | 产品英文名称 |
delivery_service_id | int | 邮递服务ID |
delivery_service_id_internal | int | 内部邮递服务 |
delivery_package_size_id | int | 包装尺寸 |
total_price | int | 产品总价格 |
total_delivery_fee | int | 邮递服务费用 |
total_handling_fee | int | 手续费 |
length | int | 长 |
width | int | 宽 |
depth | int | 高 |
total_weight | int | 总重量 |
total_volume | int | 总体积 |
total_volume_weight | int | 总体积重 |
total_fee_weight | int | 计费重 |
guarantee_percentage | int | |
contact | string | 联系人 |
business_name | string | 公司名称 |
address_line1 | string | 地址行1 |
address_line2 | string | 地址行2 |
address_line3 | string | 地址行3 |
city | string | 城市 |
county | string | 省/郡 |
post_code | string | 邮编 |
country_iso | string | 国家简称 |
telephone | int | 电话 |
email | string | 邮箱 |
sender_contact | string | 发件人 |
sender_business_name | string | 发件人公司名称 |
sender_address_line1 | string | 发件人地址行1 |
sender_address_line2 | string | 发件人地址行2 |
sender_address_line3 | string | 发件人地址行3 |
sender_city | string | 发件人城市 |
sender_county | string | 发件人省/郡 |
sender_post_code | int | 发件人邮编 |
sender_country_iso | string | 发件人国家简称 |
sender_email | string | 发件人邮箱 |
sender_telephone | string | 发件人电话 |
sales_reference | string | 销售跟踪号 |
sales_price | int | 销售价格 |
customs_price | int | 报关价格 |
custom_identity_reference | string | 自定义唯一跟踪号 |
sales_order_id | string | 销售订单号 |
payment_reference | string | 付款凭证 |
delivery_reference | string | 运输跟踪号 |
tracking_reference | string | 17tarck跟踪号 |
special_instruction | string | 备注1 |
neighbour_instruction | string | 备注2 |
temp_consignment_info_id | int | 临时订单号 |
is_urgent | int | 是否为紧急订单,1:是,0:否 |
is_forced_delivery_service | int | 是否强制选择一种邮递服务 |
create_time | string | 创建时间 |
finish_time | string | 完成时间 |
arrive_time | string | 抵达时间 |
update_time | string | 更新时间 |
type | string | 订单类型 |
status | string | 订单状态 |
stock_status | string | 库存状态 |
is_hide_delivery_reference_to_consignment | string | 是否隐藏订单运输跟踪号 |
delivery_service_is_signature | string | 邮递服务是否签名服务 |
delivery_service_is_tracking | string | 邮递服务是否跟踪服务 |
接口示例
接口请求示例
地址:https://test.birdsystem.co.uk/client/consignment/post-pending-consignment-with-products-json
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "company_id":"{{bs.default_company_id}}", "api_key":"{{bs.default_api_key}}" } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[
{
"contact": "Norman Drury",
"business_name": null,
"address_line1": "3, Northam Close",
"address_line2": "Marshside",
"address_line3": null,
"city": "Southport",
"county": "Merseyside",
"post_code": "PR9 9GA",
"country_iso": "GB",
"telephone": "01704 226830",
"email": "mm",
"delivery_service_id": "5947",
"sales_reference": "2",
"sales_order_id": "110222319566-0",
"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"
}
],
"type":"AGENT_DIRECT"
}
] |
...