Appearance
优惠码添加库存
| 拥有此API的权限集 |
|---|
| 营销码券管理-增删改 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.promo_code.add_codestore/1.0.0 - 频率限制:
10秒500次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| batch_id | 是 | string | 批次id |
| add_num | 是 | int | 添加库存数量 |
请求示例
{
"access_token": "xe_xxxxx",
"batch_id": "pc_itn79780_8HqGbhBPRkovBjwQuNXm2q",
"add_num": 1
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 返回信息 |
| data | object | 返回值 |
返回示例
{
"code": 0,
"msg": "成功添加1库存",
"data": null
}