Versions Compared

Key

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


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

url

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

method

post

body

form 参数如下:

ids

订单ID

与sales_references, custom_identity_reference三选一

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

status

目标状态

 必填

VARCHAR(10), 固定为CANCELLED

sales_references

销售跟踪号与ids, custom_identity_reference三选一VARCHAR(50), 多个跟踪号以竖线"|"分割

custom_identity_references

客户唯一识别码与ids, sales_references三选一VARCHAR(50), 多个跟踪号以竖线"|"分割


返回


Code Block
languagejs
{
    "success":true
}


...

Code Block
languagebash
linenumberstrue
# api_key和company_id和提交数据中的delivery_service_id需要替换成实际数据
curl -X POST \
  https://test.birdsystem.com/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=CANCELLED'

...