Skip to main content

Tenants

Tenants API allows you to programmatically access your Storefront account.

List

GET /api/v1/tenants HTTP/1.1
Accept: application/json

Lists all tenants.

Parameters

ParameterInTypeRequiredDescription
qquerystringtrueQuery string
takequeryinteger(int32)falseItems to return at max
skipqueryinteger(int32)falseItems to skip in results

Response

Overview

StatusMeaningDescription
200OKA list of search results
500Internal Server ErrorAn unexpected error on the server side

Response schema

Status Code 200

NameTypeRequiredDescription
totalinteger(int32)trueTotal number of found hits
dataobjectfalseIndividual hits of the search result

Examples

200 response
{
"total": 13,
"data": [
{
"id": "..."
},
...
]
}

Code examples

curl -X GET \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
'/api/v1/search?q=apple'