Versions Compared

Key

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

 批量添加临时订单

 

...

url

...

http://test.birdsystem.co.uk/client/Upload/Temp-Consignment-Json

...

method

...

post

...

body

...

Code Block
languagejs
[
 { 
 "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_name": "United Kingdom", 
 "telephone": "01704 226830", 
 "email": null, 
 "sales_reference": "2", 
 "payment_reference": "Royal Mail 1st Class Standard", 
 "special_instruction": null, 
 "product_company_ref": "15591*1+215312*1", 
 "delivery_service_name": "Royal Mail 1st Class Standard", 
 "error_description": null, 
 "status": "PENDING", 
 "type": "LOCAL", 
 "thirty_system_id":"2222" 
 } 
]

...

返回

...

 

...

{"success":true,"message":"File successfully uploaded! 1 records has been imported.","data":{"2222":"12010433"}}

...

参数

thirty_system_id: 第三方系统id

country_name: 可以通过/client/Country获取

...

Include Page
1-3-1. 添加批量临时本地订单
1-3-1. 添加批量临时本地订单

备注:
json 一般是raw格式的body
encoded一般是x-www-form-urlencoded