# Get access status
If the account is not connected, an error code will be returned1040003
。
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/shop/register/check?access_Token = xxxxxxxxx
# Request Parameter Sample
{
}
# Return Package Example
{
"errcode": 0,
"errmsg":"ok",
"data":
{
"status": 2,
"access_info": {
"spu_audit_success": 1,
"pay_order_success": 0,
" send_delivery_success": 0,
"add_aftersale_success": 0,
"spu_audit_finished": 0,
"pay_order_finished": 0,
" send_delivery_finished": 0,
"add_aftersale_finished": 0,
" test_api_finished": 0,
"deploy_wxa_finished" :0,
"open_product_task_finished": 0
},
"scene_group_list" : [
{
"group_id": 1,
"reason": "Mini Program without after-sales and customer service functions, temporarily unable to use the video number scene." ,
"name": “Video number, Official Account message template scene” ,
"status": 1,
"scene_group_ext_list": [
{
"ext_id": 1,
"status": 2,
},
{
"ext_id": 2,
"status": 2,
}
]
}
]
}
}
# Request Parameter Dxplaination
nothing
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | number | Error code, not opened will return 1040003 (the Mini Program has not access) |
errmsg | string | Error message |
data.status | number | Review status, 2: Accessed, 3: Under Ban |
data.access_info | object | Access to relevant information |
data.access_info.spu_audit_success | number | Upload product and audit success, 0: Unsuccessful, 1: Successful |
data.access_info.pay_order_success | number | Initiate an order and pay successfully, 0: unsuccessful, 1: successful |
data.access_info.send_delivery_success | number | Logistics interface call successful, 0: unsuccessful, 1: successful |
data.access_info.add_aftersale_success | number | After sales interface call successful, 0: unsuccessful, 1: successful |
data.access_info.spu_audit_finished | number | Product interface debugging completed, 0: incomplete, 1: complete |
data.access_info.pay_order_finished | number | Order interface debugging completed, 0: incomplete, 1: completed |
data.access_info.send_delivery_finished | number | Logistic interface debugging complete, 0: incomplete, 1: complete |
data.access_info.add_aftersale_finished | number | After-sales interface debugging completed, 0: incomplete, 1: complete |
data.access_info.test_api_finished | number | Test Complete, 0: Incomplete, 1: Completed |
data.access_info.deploy_wxa_finished | number | Release Complete, 0: Incomplete, 1: Complete |
data.access_info.open_product_task_finished | number | Complete all tasks for custom components 0: Not completed 1: Completed |
data.scene_group_list[] | object array | Scene access correlation |
data.scene_group_list[].group_id | object | Scene enumeration, 1: video number, Official Account message template scene |
data.scene_group_list[].name | string | Scene name |
data.scene_group_list[].status | number | Audit Status, 0: In Process, 1: Completed, 2: Failed, 3 Unaudited |
data.scene_group_list[].reason | string | Reasons for audit |
data.scene_group_list[].scene_group_ext_list[] | object array | Scene-related audit results |
data.scene_group_list[].scene_group_ext_list[].ext_id | number | Audit item id, 1: customer service, 2: e-commerce platform |
data.scene_group_list[].scene_group_ext_list[].status | number | Scenario Related Audit Results, 0: Ongoing, 1: Successful, 2: Failed, 3 Unaudited |
Note: Due to historical reasons, there may be 0 and 1 status, as already connected, the follow-up will automatically flow to 2.