DELETE Customer Favorite Item

​

Removes a favorite from the customer's list. Only top-level favorites can be deleted, not the nested products inside one.

Path Parameters

  • The favorite_item_id from the favorites list

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Responses

  • application/json
  • Missing or invalid customer token.

  • No such favorite for this customer.

Request Example for delete/customer-accounts/favorite-items/{favorite_item_id}
curl https://api-public-demo.menu.app/api/customer-accounts/favorite-items/55 \
  --request DELETE \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200
}