import { createSpreeClient } from '@spree/sdk'
const client = createSpreeClient({
baseUrl: 'https://your-store.com',
publishableKey: '<api-key>',
})
const wishlist = await client.store.wishlists.create({
name: 'Birthday Ideas',
is_private: true,
}, {
bearerToken: '<token>',
})