JavaScript
import { createClient } from '@spree/sdk' const client = createClient({ baseUrl: 'https://your-store.com', publishableKey: '<api-key>', }) const wishlist = await client.wishlists.update('wl_abc123', { name: 'Updated Name', }, { token: '<token>', })
{ "id": "wl_UkLWZg9DAJ", "name": "Updated Name", "token": "NUaszyr9oB7MvNSvd2Ri7qHf", "is_default": false, "is_private": true }
Documentation IndexFetch the complete documentation index at: https://spreecommerce.org/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Publishable API key for store access
JWT token for authenticated customers
"Updated Name"
true
false
wishlist updated
Show child attributes
Was this page helpful?
Contact support