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 18 Next »

接口说明:

URL


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

接口功能


修改订单状态为"待处理"

支持格式

JSON

开发人员


请求方式

POST

发布日期


参数说明:

参数

必选

说明

类型

ids

必填

需要修改订单状态的的订单ID(与sales_references, custom_identity_reference三选一)

VARCHAR(255)

status

必填

订单状态

VARCHAR(10)

sales_references

必填

销售跟踪号(与ids, custom_identity_reference三选一)

VARCHAR(255)

custom_identity_references

必填

客户唯一识别码(与ids, sales_references三选一)

VARCHAR(255)

接口请求示例

请求方式

Headers

content-type

application/json

api_key

248ccb90dff2b99465b54c113765360c

company_id

36

接口请求参数

{"ids": 2012090360000378,
"status":"PENDING"}

接口返回示例:

{
    "success": true,
    "refresh": false,
    "moduleName": "client"
}

返回异常示例:

(本地订单修改状态前,需先给订单添加产品;报错原因,本地订单内,没有添加产品)

{
    "success": false,
    "message": "You consignment 2012090360000378 does not have product associated, please add product first before changing the consignment status to Pending."
}
  • No labels