Get a shop
GET
/shops/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredResponses
200Shop entity
_linksHalLinksidintegerseller_idintegeraccount_idintegernamestringsubdomainstringurlstringdescriptionstringlocalestringcurrency_codestringtimezonestringasset_countintegerproduct_countsobjectShow propertiesHide properties
visibleintegerblockedintegerhiddenintegerproducts_use_variant_pricesbooleancreated_onstring<date-time>updated_onstring<date-time>403Access denied
404Shop not found
Request
curl -X GET "https://api.onbolder.com/v2/shops/0" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v2/shops/0", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v2/shops/0",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"id": 1,
"seller_id": 5,
"account_id": 10,
"name": "My Store",
"subdomain": "mystore",
"url": "mystore.onbolder.com",
"locale": "en",
"currency_code": "USD",
"_links": {
"self": {
"href": "https://api.onbolder.com/v2/shops/1"
},
"products:list": {
"href": "https://api.onbolder.com/v2/products?shop_id=1"
},
"orders:list": {
"href": "https://api.onbolder.com/v2/orders?shop_id=1"
},
"customers:list": {
"href": "https://api.onbolder.com/v2/customers?shop_id=1"
},
"hub:subscriptions": {
"href": "https://api.onbolder.com/v2/sellers/5/webhooks"
}
}
}Access denied
Shop not found