1. 商品上架
1.1.1. 基本信息
Path: /v1/spu/online
Method: POST
接口描述:
1.1.2. 请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
spuId | text | 是 | 111 | 商品ID |
1.1.3. 返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
code | number | 非必须 | 状态码 1000代表成功,非1000代表有误 | ||
message | string | 非必须 | 信息提示 | ||
content | null | 非必须 |
返回示例
{
"code": 1000,
"message": "success",
"content": null
}