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

WeChat small programs Small programs use getBindAccount


May 19, 2021 WeChat Mini Program Development Document



immediateDelivery.getBindAccount

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

Pull the bound account

The request address

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

Request parameters

Property Type The default Required Description
access_token string Is The interface calls the credentials

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
shop_list Array.<Object> A list of bound merchant sign-up accounts

shop_list structure of the system

Property Type Description
delivery_id string Distribution company Id
shopid string Merchant id
audit_result number The status of the audit

audit_result legal value of the information

Value Description The lowest version
0 The audit is approved
1 Under review
2 The audit does not pass

Use the scene

  1. Merchants can query through this interface they have been in the background of small program binding and distribution company signed account;
  2. Service providers can query the small program developed on behalf of the small program in the background binding and distribution company contracted account, for its completion of the subsequent interface development business.

Return an example of the data

{
  "resultcode": 0,
  "resultmsg": "ok",
  "shop_list": [
      {
       "delivery_id": "SFTC",
       "shopid": "123456",
       "audit_result": 0
      },
      {
       "delivery_id": "MTPS",
       "shopid": "123456",
       "audit_result": 0
      }
  ]
}