# Submit Purchase Order Access Review

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

confirmProductPermission

# Functional description

  1. Call this interface to submit a shopping order access audit, which is expected to take 6 hours before the uploaded shopping order will be exposed to the user after the audit has passed
  2. This interface is used for merchants to access shopping order business. After the merchant is connected, it helps the user to view the/Manage orders within WeChat, track order progress, obtain after-sales service, etc. Users can follow up from WeChatI-service-Wallet-billYou can also backtrack the purchase order by entering the billing details page from the payment voucher message.
  3. Specific service introduction and complete access guide can be found at Shopping Order

# Note

Returns the result of the most recent audit as the result of the previous submission audit

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/user-order/orders-permission/confirm?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 to which this interface belongs is: 120, 121

  • 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 Error code
errmsg string Wrong reasons
last_result string Results of the last audit

# Call Example

Example Dxplaination: JS Fetch API

# Sample Request Data


let url = `https://api.weixin.qq.com/user-order/orders-permission/confirm`



// Set the header
let headers = {}


// Send Request
fetch(url, {
  headers: headers,
  method: "POST"
})
  .then(response => response.json())
  .then(response => console.log("Success:", JSON.stringify(response)))
  . catch(error => console.error("Error:", error)) 

# Return Data Example


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

# Error code

Error code Error code Solutions
-1 system error The system is busy, please wait for the developer to try again
268486570 The current status is not allowed to submit for review, please open the shopping order product permission Please open the shopping order product rights first, complete the self-test before submitting for review