Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
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": "xVUpUiksViqHLiWcenRTEGZx", "is_default": false, "is_private": true }
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