Versions Compared

Key

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

往订单中添加完产品后,我们就可以将订单的状态修改为待处理,待处理即表示提交给仓库处理。

url

http://test.birdsystem.co.ukcom/client/Consignment/Batch-Update-Status

method

post

body

form 参数如下:

ids

订单ID

 必填

VARCHAR(255) ,多个ID以下划线分隔

status

目标状态

 必填

VARCHAR(10), 固定为PENDING


返回


Code Block
languagejs
{
    "success":true
}


...

Code Block
languagebash
linenumberstrue
# api_key和company_id和提交数据中的delivery_service_id需要替换成实际数据
curl -X POST \
  https://test.birdsystem.co.ukcom/client/Consignment/Batch-Update-Status \
  -H 'api_key: 248ccb90dff2b99465b54c113765360c' \
  -H 'company_id: 36' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -d 'ids=1904160360000015&status=PENDING'

...