Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

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), 固定为PENDING

sales_references

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

custom_identity_references

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

样例

# 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=PENDING'
  • No labels