Root endpoint
Returns the authenticated user’s account information and an embedded list of their shops, each carrying HAL links to all available actions (products, orders, contacts, theme, etc.).
GET
/Authorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via `POST https://auth.onbolder.com/oauth/token`.
Responses
200Authenticated root resource
uidintegeremailstringuser_namestringscopesstringlast_logged_onstring<date-time>_linksobject_embeddedobjectShow propertiesHide properties
shopsShopSummary[]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/" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.onbolder.com/v1/", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.onbolder.com/v1/",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"uid": 0,
"email": "string",
"user_name": "string",
"scopes": "string",
"last_logged_on": "2019-08-24T14:15:22Z",
"_links": {},
"_embedded": {
"shops": [
{
"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": {}
}
]
}
}