# Application for the opening of logistics return components

Debugging tools

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

applyReturnPlugin

# Functional description

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

  • Logistics Return Component Feature Details:初始值

# Note

# Calling frequency

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 [return component application api] to help businesses launch logistics return 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 return component function, the service provider can call other interfaces of the logistics message service on behalf of the business Mini Program, and 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 on the message card to enter the function opening page, read and agree to the "Small Program Logistics Function Terms of Service," 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.

image.png### 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. The Vendor Call Interface [Return Component Request API] helps the merchant initiate a request for permission for logistics return components.
  3. 初始值 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 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.
  3. After the application is submitted, the results of the application will be reported in real time.
image.png The service provider can call the business interface below on behalf of the business Mini Program, but please pay attention to the following two points before calling the interface.

1, when the service provider called please useThird-party platform interface calls token authorizer_access_TokenTo invoke the logistics return component business interface.

2, please be sure to complete the authorization before calling (permission set ID: 45), otherwise it will appear 61007 error.

  1. Click to viewLogistics Return Component Business Interface Details

# Calling mode

# HTTPS call


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

# Request parameters

attribute type Required Introductions
access_Token string yes Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token

# Return parameters

attribute type Introductions
errcode number Return 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