# Set your industry
Interface should be called on the server side, not in the front end (Weixin Mini Program, web pages, APP, etc.) directly called, specific reference interface call guide
Interface English name: setIndustry
This interface is used to modify the industry to which your account belongs. After changing the industry, your template in the original industry will be deleted.
# 1. How to call
# HTTPS calls
POST https://api.weixin.qq.com/cgi-bin/template/api_set_industry?access_token=ACCESS_TOKEN
# Cloud Calls
- This interface does not support cloud calls
# Third party invocation
This interface supports Third Party Platform generation business call.
This interface belongs to the permission set id: 7,100-101
When a service provider is authorized by one of the permissions set, it can call on behalf of the merchant by using authorizer_access_token , which can be viewed in the third-party call documentation.
# 2. Request parameters
# Query parametersQuery String parameters
Parameter Name | type | Required to fill in | Introductions |
---|---|---|---|
access_token | string | yes | Interface invocation credentials, using access_token , authorizer_access_token |
# Request BodyRequest Payload
Parameter Name | type | Required to fill in | Example | Introductions |
---|---|---|---|---|
industry_id1 | string | yes | 1 | Official Account Template Message Industry No. |
industry_id2 | string | yes | 4 | Official Account Template Message Industry No. |
# 3. Return Parameters
# Response Payload
Parameter Name | type | Introductions |
---|---|---|
errcode | number | Error code |
errmsg | string | Error Description |
# 4. Note
You can modify industries once a month, and accounts can only use templates related to industries you belong to
Industry Code Queries
Main industries | Associate industries | code |
---|---|---|
IT Technology | Internet / E-commerce | 1 |
IT Technology | IT Software & Services | 2 |
IT Technology | IT hardware and equipment | 3 |
IT Technology | Electronics Technology | 4 |
IT Technology | Communications and Operators | 5 |
IT Technology | Online games | 6 |
financial sector | bank | 7 |
financial sector | Fund Financial Trust | 8 |
financial sector | Insurance | 9 |
Food & Beverages | Food & Beverages | 10 |
Hotel Tours | Pub | 11 |
Hotel Tours | Tourism | 12 |
Transportation & Storage | express delivery | 13 |
Transportation & Storage | distribution | 14 |
Transportation & Storage | Storage | 15 |
education | Train | 16 |
education | Universities and Colleges | 17 |
Government and public services | Academic research | 18 |
Government and public services | traffic police | 19 |
Government and public services | Museum | 20 |
Government and public services | Public utility non-profit agencies | 21 |
Medical Care | Medicine and medicine | 22 |
Medical Care | Nursing & Beauty | 23 |
Medical Care | Health and hygiene | 24 |
Vehicle | Automotive Related | 25 |
Vehicle | Motorcycle Related | 26 |
Vehicle | Train Related | 27 |
Vehicle | Aircraft Related | 28 |
real estate | Architecture | 29 |
real estate | property | 30 |
consumer goods | consumer goods | 31 |
Business services | law | 32 |
Business services | Exhibitions | 33 |
Business services | Intermediary services | 34 |
Business services | Authentication | 35 |
Business services | to audit | 36 |
Arts and Entertainment | media | 37 |
Arts and Entertainment | Sports | 38 |
Arts and Entertainment | Entertainment and leisure | 39 |
printing | printing | 40 |
other | other | 41 |
# 5. Code examples
Example Requests
{
"industry_id1": "1",
"industry_id2": "4"
}
Return an example
{
"errcode": 0,
"errmsg": "ok"
}
# 6. Error code
The following is a list of error codes for this interface, other error codes can refer to General error codes
Error code | Error Description | Solutions |
---|---|---|
0 | ok | success |
# 7. Scope of application
This interface supports "Service Account (authentication only)" account type calls.None of the other account types can be invoked without special instructions.