import { createSpreeClient } from '@spree/sdk'
const client = createSpreeClient({
baseUrl: 'https://your-store.com',
publishableKey: '<api-key>',
})
const wishlist = await client.store.wishlists.update('wl_abc123', {
name: 'Updated Name',
}, {
bearerToken: '<token>',
})