修改订单状态为已取消


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), 多个跟踪号以竖线"|"分割
返回
{
    "success":true
}

样例

# api_key和company_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'