# Application to open the logistics query component

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

applyQueryPlugin

# Functional description

  • Through this interface, third-party developers can help merchants initiate applications for logistics query components. If you encounter problems during use, you canOpen Platform Service Provider ZonePosting exchanges

  • Logistics query module function details:Click to view

# Note

# 初始值

Number of calls: 500/One day

# Service Provider Use Process

1, service providers get merchants [WeChat logistics services] authority authorization (authority set ID: 45), authorization process referenceAuthorization Process Technical Notes

2, service providers call interface [query component application api] to help businesses initiate logistics query component permission application.

  1. The platform sends a template message to the mini program management WeChat. The manager must be 24. Click on the message within hours to confirm and agree to the "Mini Program Logistics Function Terms of Service"

4, after the opening of the logistics query component function, the service provider can call other interfaces of the logistics message service on behalf of the business Mini Program, for details, you can view the interface document of "Mini Program Document Center - Service End - Logistics Message Service."

# Business Use Process

1, after the service provider calls the interface, the Mini Program administrator will receive the template message pushed by the [public platform security assistant] service number.

2、 Within 24 hours, click the message card to enter the function opening page, read and agree to the "Small Program Logistics Function Terms of Service," and submit the function application. If the function application is not performed within the timeout, the application will be invalid.

  1. The application results will be fed back in real time after the application is submitted.

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/open_query_plugin?access_token=ACCESS_TOKEN 

# Third Party Invocation

  • The calling method and parameters are the same as HTTPS, only the calling token is different

  • The permission set id to which this interface belongs is: 45

  • After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant

# Return parameters

attribute type Introductions
errcode number Error code
errmsg string Error message

# Call Example

Example Dxplaination: HTTPS requests

# Sample Request Data


{
} 

# Return Data Example


{
  "errcode": 0,
  "errmsg": "ok"
} 

# Error code

Error code Error code Solutions
0 ok ok
-1 system error The system is busy, please wait for the developer to try again
933000 The Mini Program does not meet the open category
933001 There have been serious violations in the past 90 days.
933002 The Mini Program has not paid for nearly 90 days
933003 The Logistics Inquiry Module has been opened
933004 Non-Third-Party Calls