Shop details
Returns full details for a single shop, including HAL links for all available actions (products, orders, contacts, theme, variants).
GET
/shops/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via `POST https://auth.onbolder.com/oauth/token`.
Path parameters
idstringrequiredShop ID or subdomain
Responses
200Shop resource
idstringnamestringsubdomainstringurlstringdescriptionstringcurrency_codestringlocalestringcreated_onstring<date-time>updated_onstring<date-time>product_countsobjectShow propertiesHide properties
visibleintegerhiddeninteger_linksobjectanalytics_idstring | nullasset_countinteger_embeddedobjectShow propertiesHide properties
accountobjectShow propertiesHide properties
statusstringplanstringcreated_onstring<date-time>updated_onstring<date-time>branchesBranch[]Show propertiesHide properties
Array of
Branchidintegernamestringtypestringallow_local_pickupboolean_embeddedobjectShow propertiesHide properties
addressAddressShow propertiesHide properties
streetstringstreet_2stringlocality_namestringregion_namestringcountry_namestringcountry_codestringpostal_codestring | nulllat_longstringLatitude,longitude pair
404Resource not found
messagestringRequest
curl -X GET "https://api.onbolder.com/v1/shops/string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v1/shops/string", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v1/shops/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"id": "string",
"name": "string",
"subdomain": "string",
"url": "string",
"description": "string",
"currency_code": "string",
"locale": "string",
"created_on": "2019-08-24T14:15:22Z",
"updated_on": "2019-08-24T14:15:22Z",
"product_counts": {
"visible": 0,
"hidden": 0
},
"_links": {},
"analytics_id": "string",
"asset_count": 0,
"_embedded": {
"account": {
"status": "string",
"plan": "string",
"created_on": "2019-08-24T14:15:22Z",
"updated_on": "2019-08-24T14:15:22Z"
},
"branches": [
{
"id": 0,
"name": "string",
"type": "string",
"allow_local_pickup": true,
"_embedded": {
"address": {
"street": "string",
"street_2": "string",
"locality_name": "string",
"region_name": "string",
"country_name": "string",
"country_code": "string",
"postal_code": "string",
"lat_long": "string"
}
}
}
]
}
}{
"message": "string"
}