Get a seller
Returns a single seller by ID. Sellers are account-scoped.
GET
/sellers/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredSeller ID
Responses
200Seller entity
_linksHalLinksidintegeraccount_idintegerlocalestringcurrency_codestringprovides_shippingbooleanprovides_pickupbooleanprices_include_taxbooleantax_ratenumbertax_namestringproducts_countintegercreated_onstring<date-time>updated_onstring<date-time>401Invalid or missing token
403Access denied
404Seller not found
Request
curl -X GET "https://api.onbolder.com/v2/sellers/5" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/sellers/5", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/sellers/5",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"id": 5,
"account_id": 10,
"locale": "en",
"currency_code": "USD",
"provides_shipping": true,
"provides_pickup": true,
"prices_include_tax": true,
"tax_rate": 0.19,
"tax_name": "VAT",
"products_count": 42,
"created_on": "2023-01-15T10:00:00Z",
"updated_on": "2024-03-20T14:30:00Z",
"_links": {
"self": {
"href": "https://api.onbolder.com/v2/sellers/5"
},
"shops:show": {
"href": "https://api.onbolder.com/v2/shops/1",
"title": "Main shop"
},
"shops:list": {
"href": "https://api.onbolder.com/v2/shops?seller_id=5",
"title": "All shops owned by this seller"
},
"products:list": {
"href": "https://api.onbolder.com/v2/products{?seller_ids,...}",
"templated": true
}
}
}Invalid or missing token
Access denied
Seller not found