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

WeChat small program delete


May 19, 2021 WeChat Mini Program Development Document


Table of contents


nearbyPoi.delete

This interface should be called on the server side, as detailed in the Service Side API.
This interface supports cloud calls. Developer tool version required . . . 1.02.1904090 (latest stable download)
wx-server-sdk >= 0.4.0

Delete the place

How to call:

  • HTTPS call
  • Cloud calls

HTTPS call

The request address

POST https://api.weixin.qq.com/wxa/delnearbypoi?access_token=ACCESS_TOKEN

Request parameters

Property Type The default Required Description
access_token string Is The interface calls the credentials
poi_id string Is Nearby location ID

Returns a value

deleteNearbyPoiResponse

The returned JSON packet

Error

Error code The error message Description
0 Ok Normal
47001 POST data json is in the wrong format
20002 The POST parameter is illegal
44002 POST data is empty
92000 This business qualification has been added, do not add to it
92002 The number of points nearby reaches the line and cannot continue to add
92003 Location has been occupied by other small procedures
92004 Nearby function is banned
92005 Location is under review
92006 Location is displaying a small program
92007 Venue review failed
92008 Program is not shown in this location
93009 The applet is not available or invisible
93010 Location does not exist
93011 Personal type applet is not available
93011 Personal type applet is not available
93012 Non-ordinary types of applets (store applets, small shops, etc.) are not available
93013 Get address details from Tencent Map Failed
93014 Add a qualified document number

POST data example:

{
 "poi_id":"469382092"
}

Cloud call

Cloud call is the ability provided by the small program Cloud Development to call WeChat open interfaces in cloud functions and need to be used in cloud functions via wx-server-sdk.

The interface method

openapi.nearbyPoi.delete
Permissions for the nearbyPoi.delete API need to be configured in config.json, details

Request parameters

Property Type The default Required Description
poiId string Is Nearby location ID

Returns a value

deleteNearbyPoiResponse

The returned JSON packet

Error

Error code The error message Description
0 Ok Normal
47001 POST data json is in the wrong format
20002 The POST parameter is illegal
44002 POST data is empty
92000 This business qualification has been added, do not add it repeatedly
92002 The number of nearby places added reaches the online level and cannot continue to be added
92003 The location is already occupied by other small programs
92004 Nearby functions are blocked
92005 The location is under review
92006 The location is showing the small program
92007 Location audit failed
92008 The program is not shown at that location
93009 The small program is not on the shelf or is not visible
93010 The location does not exist
93011 Personal type gadgets are not available
93011 Personal type gadgets are not available
93012 Non-ordinary types of small programs (store programs, small store programs, etc.) are not available
93013 Getting address details from Tencent Maps failed
93014 The same qualification number is added repeatedly