Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat small programs Small programs use bindAccount


May 19, 2021 WeChat Mini Program Development Document



immediateDelivery.bindAccount

This interface should be called on the server side, as detailed in the Service Side API.

A third-party merchant initiates a request to bind the delivery company account number

The request address

POST https://api.weixin.qq.com/cgi-bin/express/local/business/shop/add?access_token=COMPNENT_ACCESS_TOKEN

Request parameters

Property Type The default Required Description
access_token string Is The interface calls the credentials
delivery_id string Is Distribution company ID

Returns a value

Object

Property Type Description
errcode number Error code, when errcode is 0 or does not exist also need to see resultcode
errmsg string The error description
resultcode number The error code returned by the capacity
resultmsg string The error description returned by the capacity

The legal value of errcode

Value Description The lowest version
0 Success
86000 Not a third-party call
930561 delivery_id is not valid

Use the scene

  1. This interface can only be called by third-party service providers
  2. Service providers can be developed on behalf of this interface of small programs to initiate binding distribution company account operations, when the call is successful, the small program administrator will receive template messages, click on the details to enter the distribution company website binding operations

Return an example of the data

{
  "resultcode": 0,
  "resultmsg": "ok",
}