# Category Audit

# Interface call request specification

After the request is successful, an audit sheet will be created, and the sheet number will be given in the return package

After the audit is completed, a callback will be made to inform the audit results.

The interface to the upload category qualification, which will return an error code if the uploaded category is approved 1050003

To use the image of the place, you can use url or media_id(adoptUpload picturesInterface exchange)。

Http request method: POST
https://api.weixin.qq.com/shop/audit/audit_category?access_token=xxxxxxxxx

# Request Parameter Sample

{
    "audit_req":
    {
        "license": ["www.xxxxx.com"],
        "category_info":
        {
	        "level1": 7419, // First-level categories
	        "level2": 7439, // Secondary category
	        "level3": 7448, // Tertiary class
	        "certificate": ["www.xxx.com"] // Qualification material
        }
    }
}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    "audit_id": "RQAAAPX1nuJsAAAAFTrfXW" 
}

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
audit_req.license string array yes Business license or organization code certificate, picture url
audit_req.category_info.level1 uint32 yes First-level categories
audit_req.category_info.level2 uint32 yes Secondary category
audit_req.category_info.level3 uint32 yes Tertiary class
audit_req.category_info.certificate string array yes Qualification materials, image url

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
audit_id string Audit Form ID