沙箱调试
蚂蚁门店管理沙箱调试说明
业务用例:蚂蚁门店管理
1. 创建蚂蚁店铺
{
"business_address": {
"address": "蚂蚁A空间",
"cityCode": "330100",
"districtCode": "330106",
"provinceCode": "330000"
},
"ip_role_id": "2088621980811097",
"shop_category": "B0001",
"shop_name": "沙箱巡检店铺202206142394560987",
"shop_type": "01",
"store_id": "XJ202206142394560987"
}
{
"ant_merchant_expand_shop_create_response": {
"code": "10000",
"msg": "Success",
"order_id": "2022061400502000000001871381"
}
}
2. 商户申请单查询
{
"order_id": "2022061400502000000001871381"
}
{
"ant_merchant_expand_order_query_response": {
"code": "10000",
"msg": "Success",
"merchant_name": "tv**jp",
"apply_time": "2022-06-14 16:13:48",
"ext_info": "{\"SHOP_ID\":\"2022061400077000000009860711\"}",
"ip_role_id": [
"2088621980811097"
],
"status": "99"
}
}
3. 接收店铺审核通过消息通知
{
"store_id": "XJ202206142394560987",
"shop_id": "2022061400077000000009860711",
"shop_name": "沙箱店铺202206142394560987",
"order_id": "2022061400502000000001871381"
}
4. 修改蚂蚁店铺
{
"shop_id": "2022061400077000000009860711",
"contact_mobile": "13200132000"
}
{
"ant_merchant_expand_shop_modify_response": {
"code": "10000",
"msg": "Success"
}
}
5. 接收店铺修改成功消息通知
{
"store_id": "XJ202206142394560987",
"shop_id": "2022061400077000000009860711",
"shop_name": "沙箱店铺202206142394560987",
"order_id": "2022061400502000000001871382"
}
6. 查询店铺
{
"shop_id": "2022061400077000000009860711"
}
{
"ant_merchant_expand_shop_query_response": {
"code": "10000",
"msg": "Success",
"shop_name": "沙箱店铺202206142394560987",
"shop_category": "1720",
"shop_id": "2022061400077000000009860711",
"business_address": {
"address": "蚂蚁A空间",
"district_code": "330106",
"city_code": "330100",
"province_code": "330000",
"latitude": "30.261121",
"longitude": "120.104735"
},
"contact_mobile": "13200132000",
"ip_role_id": "2088621980811097",
"store_id": "XJ202206142394560987",
"shop_type": "01"
}
}
7. 分页查询店铺
{
"ip_role_id": "2088621980811097",
"page_num": 1,
"page_size": 10
}
{
"ant_merchant_expand_shop_page_query_response": {
"code": "10000",
"msg": "Success",
"total_pages": 2,
"shop_infos": [
{
"shop_name": "沙箱店铺202206091685597813",
"shop_category": "1720",
"shop_status": "01",
"shop_id": "2022060900077000000009852548",
"business_address": {
"address": "蚂蚁A空间",
"district_code": "330106",
"city_code": "330100",
"province_code": "330000",
"latitude": "30.261121",
"longitude": "120.104735"
},
"contact_mobile": "@#updateContactMobile#@",
"store_id": "XJ202206091685597813",
"shop_type": "01"
},
{
"shop_name": "沙箱巡检店铺202206091917969408",
"shop_category": "1720",
"shop_status": "01",
"shop_id": "2022060900077000000009852544",
"business_address": {
"address": "蚂蚁A空间",
"district_code": "330106",
"city_code": "330100",
"province_code": "330000",
"latitude": "30.261121",
"longitude": "120.104735"
},
"store_id": "XJ202206091917969408",
"shop_type": "01"
}
]
}
}
8. 关闭蚂蚁店铺
{
"shop_id": "2022060900077000000009852544"
}
{
"ant_merchant_expand_shop_close_response": {
"code": "10000",
"msg": "Success"
}
}