门店活码分组关联或移除门店
企业可通过此接口来为分组关联或移除门店
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/qrcode/storeQrcode/execute_group_store
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"execute_type": 0,
"store_qrcode_group_id": 0,
"store_ids": [
0
],
"user_id": "user_id_1d98d1571b3c"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
execute_type | int | 是 | 操作类型,1-关联门店,2-移除门店 |
store_qrcode_group_id | long | 是 | 门店活码分组id |
store_ids | list | 是 | 需要关联或移除的门店IDs 数量上限限制到:500 |
user_id | list | 是 | 员工id |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"update_result": true
},
"sub_code": "00000"
}
返回说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 出错返回码,为0表示成功,非0表示调用失败 |
msg | string | 返回码描述 |
data | object | 业务对象 |
update_result | bool | 更新结果 |
sub_code | string | 业务异常返回码 |