Skip to content
extensions / Commerce extension
DELETE/__runtime/wishlist/items/{product_id}

Delete Wishlist Item

Removes a product or variant from the current shopper's storefront wishlist.

DELETE

Authentication

Requirement
Not specified
Credential type
Not specified
Scopes
Not specified

Permissions

  • Requires an authenticated storefront session or a guest wishlist cookie.

Headers

NameRequiredTypeDetails
CookieYesNot specified
Description: Value used by this operation.
AuthorizationYesNot specified
Description: Bearer credential used to authenticate the request.
User-AgentYesNot specified
Description: Value used by this operation.

Path Parameters

NameRequiredTypeDetails
product_idYesNot specified
Description: Target product identifier.

Query Parameters

NameRequiredTypeDetails
project_idYesinteger
Description: Target project identifier.
variant_idNointeger
Description: Identifier for variant.
variant_skuNostring
Description: Text value.
variant_attributesNoJSON
Description: JSON object.

Request Body

Response Body

Example 200 response

json
{
  "items": [],
  "item_keys": [],
  "entries": [],
  "total": 1,
  "selected": true,
  "html": "string"
}

Errors

400 BAD_REQUEST500 INTERNAL_SERVER_ERROR

Availability

Available in
v0.1.0
Available since
v0.1.0
Implementation
Available
Deprecation
Not specified
Rate limits
Not specified