# Apply for Open Logistics News

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

applyMsgPlugin

# Functional description

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

  • Logistics message function details:Click to view

# Note

# Service Provider Use Process

  1. Service providers to obtain merchants [WeChat logistics services] authority authorization (authority set ID: 45), authorization process referenceAuthorization Process Technical Notes

  2. Service provider call interface [logistics message application api] to help businesses initiate logistics message function permission application.

3、 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"

# 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 on the message card to enter the function opening page, read and agree to the "Small Program Logistics Function Terms of Service," and submit a function application. If the function application is not performed within the timeout, the application will be invalid.

  3. The results of the application will be reported in real time after the application is submitted.

4, after the opening of the logistics message 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."

image.png

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/open_openmsg?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