stable本次发布有变化全部展示
来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 New Handling For Partial Result Failure of Batch Type API
Dear Developer,
Please note starting from Apr 1st, 2019, we will have new success/failure return rules for the below four APIs:
shop_category.AddItems
shop_category.DeleteItems
top_picks.AddTopPicks
top_picks.UpdateTopPicks
Original rule:
These APIs return failure with error code if any part of the batch failed.
New rule:
These APIs will return success code 200 as long as there is one item_id succeeds from the batch, with the following new return parameter to indicate which parts succeed or fail:
Please use the new rule to capture the failure info accordingly.
Thank you.
