Versions Compared

Key

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

接口说明:

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

接口功能
修改到"待处理"

支持格式JSON开发人员
请求方式POST发布日期

...

参数必选说明类型
idsY需要修改订单状态的的订单ID(与sales_references, custom_identity_reference三选一)VARCHAR(255)
statusY订单状态VARCHAR(10)
sales_referencesY销售跟踪号(与ids, custom_identity_reference三选一)VARCHAR(255)
custom_identity_referencesY客户唯一识别码(与ids, sales_references三选一)VARCHAR(255)

...

接口返回示例:

Code Block
languagexml
title接口返回示例
linenumberstrue
collapsetrue
{
    "success": true,
    "refresh": false,
    "moduleName": "client"
}

返回异常示例:(本地订单修改状态前,需先给订单添加产品)

Code Block
languagexml
firstlinetitle#报错原因,本地订单内,没有添加产品title报错原因,本地订单内,没有添加产品
linenumberstrue
collapsetrue
{
    "success": false,
    "message": "You consignment 2012090360000378 does not have product associated, please add product first before changing the consignment status to Pending."
}

...