# Introduction
To better help affiliate developers improve promotion efficiency, Weixin Mini Program the affiliate has opened administrative interfaces for promotion spots, affiliate products, and affiliate orders, and developers can implement related tools by invoking the interfaces.
# Development Preparation
I. Getting Interface Permissions
Sign up for an affiliate Twitter account 1). Go to Alliance Twitter official website , use WeChat to scan the two-dimensional code of the page, and select the annotation account; 2). Read the electronic protocol, enter the account name and complete the registration process. 3). Refresh the page of the official website of the alliance, use WeChat to scan the page two code, select the registered account to log in.
Authenticate League Twitter accounts 1). Follow the page prompts to enter the account authentication process, submit the subject information, business license information, legal person information, administrator information, and settlement bank account information for authentication; 2). Detailed certification process and guidelines can refer to Push Guest Access Guidelines ; 3). After the authentication is passed, the interface invocation permissions are automatically obtained.
(access_token)
- Log in the management background of the alliance push guest, click on the left navigation bar [account settings], get push guest account appID and appsecret (appsecret requires account manager WeChat scan code to get);
- Call interface, get the interface call credentials through appID and appsecret, click to view credentials to get the interface document .
III. View Weixin Mini Program Alliance interface documentation
Note:POST
Requests must be sent toHTTP RequestHeader``content-type: application / json
Interface Name | Introductions |
---|---|
Get the list of affiliate product categories and category ID | Through the interface to get the first class list of the alliance goods and category ID |
Check out full quantity product details | Supports developers to obtain information about the full amount of affiliate products. Supports filtering according to item keywords (name, store, spuID), item prices, item commissions, commission ratios, and whether affiliate coupons exist |
Check out the league's selection of products | Supports developers to obtain information on selected affiliate items (up to 50 items at a time), and supports screening based on item prices, item commissions, commission ratios, and whether affiliate coupons exist |
Get merchandise promotional materials | Through the interface to obtain the promotion of goods material, including shop appID, product details page Path, promotion copy and promotion of short chain, product pictures, product code, etc. |
Add promotional space | Add a promotional space through this interface |
Delete promotional space | When you delete a promotional bit through this interface, a commission may still be generated after the promotional bit is deleted |
Edit Promotional Area | Edit a promotional bit name through this interface |
Get a list of promotional spots | Get the name and ID of the existing extension bit through this interface |
Check the order details | Filter order details by order ID, order status, order payment time |