版本:202506
批量创建集合关联
POST/openapi/2025-06/collects/batch
批量创建商品与集合的关联关系。
请求
- application/json
- 请求体
- 示例
请求体必填
collection_idstring必填
集合 ID
product_idsstring[]必填
商品 ID 列表
{
"collection_id": "string",
"product_ids": [
"string"
]
}
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
object
{
"code": "string",
"message": "string",
"data": {}
}