Skip to content

Returns details of the store with the given ID. Returns 200 and the store, 404 if the store does not exist, or 401 if not logged in.

GET
/api/stores/{storeId}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

storeId*
Typestring
Required

Responses

Store information
Authorization
api_key
Variables
Key
Value
storeId*
cURL
curl -X GET \
'http://localhost/api/stores/{storeId}'

Samples

cURL
curl -X GET http://localhost/api/stores/{storeId}
JavaScript
fetch("http://localhost/api/stores/{storeId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/stores/{storeId}");
Python
import requests
response = requests.get("http://localhost/api/stores/{storeId}")
print(response.json())