May 18, 2021 WeChat Mini Program Development Document
Express interface is WeChat official provides free logistics interface tools to help developers with logistics needs to quickly and efficiently connect a number of logistics companies.
Merchants through this interface can call each logistics company electronic single interface bulk orders, print electronic singles and obtain logistics track, reduce the cost of one by one docking logistics companies, improve logistics efficiency;
The express interface is the basic capability provided by WeChat officially and is completely free of charge.
Go to WeChat's → platform and the Logistics assistant → access to see the access process guidelines
Step 1: Bind the contracted courier network account
In WeChat public platform - small program management background, click on the logistics assistant → "go to access" → "go binding", choose and you signed the logistics company, input and network signing assigned to your account password, submit binding;
The binding description
(1) If you do not currently have an account password, please contact the logistics company network to complete the contract to obtain the account number and password, and then bind; 3) If you have not signed a contract with the logistics company in advance, ready to issue a distribution order, then there is no need to bind the logistics company on this page, call the logistics interface to fill in the pay-as-you-go Bizid can be filled in, after the successful order will inform the courier door-to-door pick-up, freight cash. There are currently three logistics companies supporting the distribution order, corresponding to Bizid as follows:
The name of the courier company | Courier company ID | Pay-as-you-go BizID |
---|---|---|
Shunfeng express | SF | SF_CASH |
Debang Express | Db | DB_CASH |
Step 2: Docking the express interface (a must-see for merchants) API
(1) View the interface documentation
(2) Development interface documents: you can develop their own or authorized service providers to develop, encounter problems can go to WeChat open community to ask questions;
(3) Test order: self-fill the test of the conseer information and commodity information, to see if the interface can be successfully called to order, successfully generate electronic face list, access to face list data, printed sheet and receive service notifications, the whole process of walking instructions indicate that the interface has been adjusted.
Step 3: After printing an electronic single-use express interface Api order, you can choose either of the following ways to print the electronic side sheet
Install WeChat single PC software: Windows XP and above are currently supported. Download here
Step 4: Courier door-to-door to collect pieces
After the courier door-to-door collection, the merchant can receive the logistics track through the express interface Api, WeChat will push the user has been collected, sent, signed/signed abnormal service notice, so that users can understand the shipping order track.
If you want to sign with the courier company, you can first offline and near the shipping warehouse logistics network contract, get the signed account number and password before using WeChat express interface services;
If you do not sign a contract with the logistics company in advance, you can find the payment order, call the logistics interface to fill in the pay-as-you-go Bizid (no need to fill in the password), after the successful order to notify the courier door-to-door pick-up, freight cash. At present, three logistics companies support the bulk order, corresponding to Bizid as follows:
The name of the courier company | Courier company ID | Pay-as-you-go BizID |
---|---|---|
Shunfeng express | SF | SF_CASH |
Debang Express | Db | DB_CASH |
You can in WeChat public platform small program background - "logistics assistant", binding the network cooperation account and password, when you place an order can be deducted from the logistics company account pre-recharge account.
Express interface to help merchants in the information flow level docking logistics companies, the specific bill of lading costs depends on the price you signed with the courier company.
After binding the courier company, you need to develop the express interface documentation before you can fully use the express interface service, "interface documentation" (https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/express/getallaccount.html "interface documentation")
Currently supporting the company as follows, more courier companies continue to access, please look forward to.
Currently can support orders within the small program (except for small games), followed by the public number, H5 orders, please look forward to.
The courier interface helps you to order and print face orders in bulk. Courier door-to-door time if you have previously agreed, then continue to follow the agreement door-to-door, if there is no agreement before, please contact the courier of the sending network door-to-door to collect.
Priority recommended the use of official single-order software, can be better compatible with the format requirements of each logistics company, in addition to the choice of logistics companies door-to-door single. If you need to use a thermal printer or construct your own sheet and print it, there may be format compatibility issues, please debug it before you use it.
You can also use WeChat Logistics Assistant docking third-party single-party software print sheet, currently supported third-party single-line software for:
Please go to the WeChat Developer Community to ask questions and we'll be the first to answer your questions.