Skip to main content
POST
/
vendor
/
sellers
/
select
curl -X POST 'http://localhost:9000/vendor/sellers/select' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"seller_id": "sel_01HXYZ"}'
{ "success": true }
Stores the chosen seller in the session after verifying the member belongs to it.
Requires only the Authorization header. Session-based clients get the seller stored server-side; token-based clients should send x-seller-id on subsequent requests instead.

Body parameters

seller_id
string
required
The ID of the seller to activate for this session.

Response

success
boolean
Whether the seller was selected.
curl -X POST 'http://localhost:9000/vendor/sellers/select' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"seller_id": "sel_01HXYZ"}'
{ "success": true }