1、会有分页和多个查询,多个查询时按照指定的合作方商品信息id进行批量返回 2、我方上架时会确认合作方产品状态,必须合作方也是上架时才能上架 3、在一定时机我方会主动查询合作方产品信息,及时同步
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query_method | String | 必须 | multi | 查询方式,multi表示查询多个,page表示分页查询 | |
current_page | Number | 可选 | 1 | 当前页码,当method值为page时生效 | |
page_size | Number | 可选 | 20 | 每页数量,当method值为page时生效 | |
out_product_ids | String | 可选 | ["1","2","3"] | 外部产品id集合,当method值为multi时生效 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
biz_success | Boolean | true | 是否成功 |
biz_error_code | String | SYSTEM_ERROR | 错误代码,当success为false时利用该值传递具体错误代码 |
biz_error_message | String | 系统错误 | 具体错误信息,当success为false时利用该值传递具体错误信息 |
item_infos | ItemInfo [] | 商品信息列表 | |
|
|||
success | Boolean | true | 是否成功(废弃,使用biz_开头的) |
error_code | String | SYSTEM_ERROR | 错误代码,当success为false时利用该值传递具体错误代码(废弃,使用biz_开头的) |
error_message | String | 系统错误 | 具体错误信息,当success为false时利用该值传递具体错误信息(废弃,使用biz_开头的) |
{"query_method":"multi","current_page":1,"page_size":20,"out_product_ids":"[\"1\",\"2\",\"3\"]"}
{ "biz_success":true, "biz_error_code":"SYSTEM_ERROR", "biz_error_message":"系统错误", "item_infos":[ { "out_product_id":"12312312", "name":"成人票", "status":"ONSHELF", "refund_rule":{ "type":"REFUND_WITH_CONDITION", "before_day":"1", "before_time":"03:04" } } ], "success":true, "error_code":"SYSTEM_ERROR", "error_message":"系统错误" }
{"error_message":"Illegal request","success":"false","error_code":"sign-check-failure"}
错误码 | 错误描述 | 解决方案 |
---|