Spree Seller SDK
Logout
Revokes the refresh-token cookie, ending the seller session.
POST
Spree Seller SDK
Response
204
logout successful
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { createSellerClient } from '@spree/seller-sdk'
const client = createSellerClient({
baseUrl: 'https://your-store.com',
})
await client.auth.logout()curl --request POST \
--url http://{defaultHost}/api/v3/seller/auth/logoutRevokes the refresh-token cookie, ending the seller session.
import { createSellerClient } from '@spree/seller-sdk'
const client = createSellerClient({
baseUrl: 'https://your-store.com',
})
await client.auth.logout()curl --request POST \
--url http://{defaultHost}/api/v3/seller/auth/logoutlogout successful
Was this page helpful?
