List sellers
Returns all sellers belonging to the authenticated account. Results are automatically scoped to the account associated with the token.
GET
/sellersAuthorization
AuthorizationBearer token (JWT) · headerrequiredResponses
200List of sellers
total_itemsintegerper_pageintegerpageinteger_linksHalLinks_classstring[]_embeddedobjectShow propertiesHide properties
itemsSeller[]Show propertiesHide properties
Array of
Seller_linksHalLinksidintegeraccount_idintegerlocalestringcurrency_codestringprovides_shippingbooleanprovides_pickupbooleanprices_include_taxbooleantax_ratenumbertax_namestringproducts_countintegercreated_onstring<date-time>updated_onstring<date-time>401Invalid or missing token
403Access denied
Request
curl -X GET "https://api.onbolder.com/v2/sellers" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/sellers", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/sellers",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"_class": [
"results",
"sellers"
],
"total_items": 1,
"_links": {
"self": {
"href": "https://api.onbolder.com/v2/sellers"
}
},
"_embedded": {
"items": [
{
"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"
},
"shops:list": {
"href": "https://api.onbolder.com/v2/shops?seller_id=5"
},
"products:list": {
"href": "https://api.onbolder.com/v2/products{?seller_ids,...}",
"templated": true
}
}
}
]
}
}Invalid or missing token
Access denied