Delete User Favorite Location

​

Deletes a user's favorite locations for eClub/loyalty. Only one location can be deleted at a time.

Query Parameters

  • User ID

  • ID of the favorite location returned in the response of the Fetch User Favorite Locations API

Headers

  • Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".

Responses

  • application/json
Request Example for delete/api2/dashboard/user_favourite_locations
curl 'https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/user_favourite_locations?user_id=&user_favourite_location_id=' \
  --request DELETE \
  --header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE'
{}