Skip to main content
DELETE
/
api
/
v3
/
store
/
wishlists
/
{wishlist_id}
/
items
/
{id}
Spree SDK
import { createSpreeClient } from '@spree/sdk'

const client = createSpreeClient({
  baseUrl: 'https://your-store.com',
  publishableKey: '<api-key>',
})

await client.store.wishlists.items.delete('wl_abc123', 'wi_abc123', {
  bearerToken: '<token>',
})
{
  "error": {
    "code": "record_not_found",
    "message": "Wished item not found"
  }
}

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Authorization
string
header
required

JWT token for authenticated customers

Headers

x-spree-api-key
string
required
Authorization
string
required

Path Parameters

wishlist_id
string
required
id
string
required

Response

item removed