Skip to content

Remove from the wishlist

DELETE
/wishlists/{id}
curl --request DELETE \
--url 'https://acme.mykreezalid.com/front_api/v1/wishlists/4242?type=listing' \
--header 'Authorization: Bearer <token>'

Removes a listing (by default) or a vendor (type=vendor) from the signed-in member’s wishlist. The response is always 200: check success.

id
required
integer

Example

4242

Identifier of the listing, or of the vendor with type=vendor.

type
string
default: listing
Allowed values: listing vendor

Kind of item to remove.

The outcome. success is true when the item is removed.

Media typeapplication/json
object
success
boolean
message

On success, listing deleted successfully from wishlist (or vendor …). Otherwise listing_not_in_your_wishlist (or vendor_not_in_your_wishlist) or unable_to_remove.

string

Example

{
"success": true,
"message": "listing deleted successfully from wishlist"
}

No valid access token was sent.

Media typeapplication/json

Error body returned by the Front API when it refuses a request.

object
code

HTTP status code, repeated in the body.

integer
status
string
message

Human-readable reason.

string

Example

{
"code": 403,
"status": "error",
"message": "Token not found in request"
}