Sellers
Retrieve Current Seller
Retrieve the seller the request is scoped to.
GET
/
vendor
/
sellers
/
me
curl 'http://localhost:9000/vendor/sellers/me' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { seller } = await client.vendor.sellers.me.query()
{
"seller": {
"id": "sel_01HXYZ",
"name": "Acme Store",
"handle": "acme-store",
"email": "store@acme.com",
"status": "open",
"currency_code": "usd",
"address": { "city": "New York", "country_code": "us" }
}
}
Returns the seller identified by the current seller context (
x-seller-id header or session), including address, payment details, and professional details.
Query parameters
string
Comma-separated fields to include in the response.
Response
object
Show properties
Show properties
string
The seller’s ID.
string
The seller’s name.
string
The seller’s handle.
string
The seller’s email.
string
The seller’s phone.
string
Store description.
string
Logo URL.
string
Banner URL.
string
Website URL.
string
Default currency.
enum
One of
open, pending_approval, suspended, terminated.string
Approval timestamp.
string
Rejection timestamp.
boolean
Whether the seller has premium status.
string
Start of a temporary store closure.
string
End of a temporary store closure.
string
Closure message shown to customers.
object
The seller’s address.
object
The seller’s bank details.
object
The seller’s business registration details.
object
Custom key-value pairs.
curl 'http://localhost:9000/vendor/sellers/me' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { seller } = await client.vendor.sellers.me.query()
{
"seller": {
"id": "sel_01HXYZ",
"name": "Acme Store",
"handle": "acme-store",
"email": "store@acme.com",
"status": "open",
"currency_code": "usd",
"address": { "city": "New York", "country_code": "us" }
}
}
⌘I
curl 'http://localhost:9000/vendor/sellers/me' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>'
const { seller } = await client.vendor.sellers.me.query()
{
"seller": {
"id": "sel_01HXYZ",
"name": "Acme Store",
"handle": "acme-store",
"email": "store@acme.com",
"status": "open",
"currency_code": "usd",
"address": { "city": "New York", "country_code": "us" }
}
}