# Submit basic information for Mini Stores

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/product/register/submit_basicinfo?access_token=xxxxxxxxx

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
appid string yes Mini Program ID
name_info object yes Name information
return_info object yes Return Address

# name_info

parameter type Is it necessary to fill out Introductions
nickname string yes 1) Mini Program name can be Chinese, numbers, English, spaces and some special symbols("Space," "-," +, "&,")Composition. Length between 4-30 characters, a Chinese word is equal to 2 characters.
2) Official Account message template, The name of a Mini Program on the WeChat Official Platform is unique, and belongs to the same subject, and can be repeated.
3) may not be associated with different subjects Official Account message template The name is changed.
abbr string yes 1) Mini Program abbreviations can be created by sequentially intercepting characters from the Mini Program name. Between 4-10 characters in length, a Chinese character is equal to 2 characters.
The abbreviation of Mini Program is not unique in the WeChat Official Platform, and can be repeated. But for counterfeit, infringement and other malicious circumstances, the platform will still make relevant penalties. Developers can also maintain their legitimate rights and interests through infringement complaints.
3) After the abbreviation of the Mini Program is set, it will be displayed to the user in the client taskbar. Developers can rely on this feature to better achieve product brand value and display. Other features of the name are not currently supported.
introduction string yes Please make sure that the content of the introduction does not contain any content prohibited by relevant laws and regulations. The number of characters for the introduction should range from 4 to 120, with 2 characters per Chinese character. Five amendments can be applied for within a month. Please provide materials that support naming
naming_other_stuff Array&ltstring&gt no Supplementary material, media Id array, required when 210047 is returned

# return_info

parameter type Is it necessary to fill out Introductions
address_info object yes Return Address
mail string yes mailbox
company_address object yes Company address, structure, address_info

# address_info

parameter type Is it necessary to fill out Introductions
user_name string yes Name of consignee
postal_code number no Postcode
province_name string yes Province, Format: Guangdong Beijing
city_name string yes City, Format: Guangzhou
county_name string yes District, format: Haizhu District
detail_info string no Detailed address
national_code number no Country code
Tel_number string yes Telephone number

# Request Parameter Sample

{
    "appid" :  "xxx",
    "name_info": 
    {
        "nickname": "Nickname,"
        "abbr": "Short for short,"
        "introduction": "Introduction"
        "naming_other_stuff": "Supplementary Materials"
    },
    "return_info": 
    {
        "address_info": //Return Address
        {
            "user_Name ":" Mr. Chen " ,
            "postal_code": "2435245",
            "province_name": "Guangdong,"
            "city_name": "Guangzhou,"
            "county_name": "Haizhu District"
            "detail_info": "Tai Tong"
            "national_code": "234234",
            "tel_number": "24534252"
        }
        "mail": "Mail box,"
        "company_address": //Company address
        {
            "user_Name ":" Mr. Chen " ,
            "postal_code": "2435245",
            "province_name": "Guangdong,"
            "city_name": "Guangzhou,"
            "county_name": "Haizhu District"
            "detail_info": "Tai Tong"
            "national_code": "234234",
            "tel_number": "24534252"
        }
    }

}

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message

# Return Package Example

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

# Return code

Return code Type of error
-1 System exception
-2 Token is too long
-15 Lack of category qualification