List shops
Returns a paginated list of shops accessible to the authenticated account.
GET
/shopsAuthorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via `POST https://auth.onbolder.com/oauth/token`.
Query parameters
pageintegerPage number
default: 1
per_pageintegerItems per page
default: 50
Responses
200Paginated shops list
total_itemsintegerpageintegerper_pageinteger_linksobjectShow propertiesHide properties
selfHalLinkShow propertiesHide properties
hrefstringmethodstringtitlestringtypestringtemplatedbooleannextHalLinkShow propertiesHide properties
hrefstringmethodstringtitlestringtypestringtemplatedbooleanlastHalLinkShow propertiesHide properties
hrefstringmethodstringtitlestringtypestringtemplatedboolean_embeddedobjectShow propertiesHide properties
itemsShopSummary[]Show propertiesHide properties
Array of
ShopSummaryidstringnamestringsubdomainstringurlstringdescriptionstringcurrency_codestringlocalestringcreated_onstring<date-time>updated_onstring<date-time>product_countsobjectShow propertiesHide properties
visibleintegerhiddeninteger_linksobjectRequest
curl -X GET "https://api.onbolder.com/v1/shops" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v1/shops", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v1/shops",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"total_items": 0,
"page": 0,
"per_page": 0,
"_links": {
"self": {
"href": "string",
"method": "string",
"title": "string",
"type": "string",
"templated": true
},
"next": {
"href": "string",
"method": "string",
"title": "string",
"type": "string",
"templated": true
},
"last": {
"href": "string",
"method": "string",
"title": "string",
"type": "string",
"templated": true
}
},
"_embedded": {
"items": [
{
"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": {}
}
]
}
}