Returns a list of stores where the user is a member of reduced store information.
GET
/api/user/{userId}/stores/detailsAuthorizations
Parameters
Path Parameters
userId*
Typestring
RequiredResponses
Success.
JSON
{
"total": 1,
"stores": [
{
"id": 0,
"name": "string",
"region": null,
"location": null,
"street": "string",
"city": "string",
"zipCode": "string",
"cooperationStatus": null,
"createdAt": "string"
}
]
}
Samples
cURL
curl -X GET http://localhost/api/user/{userId}/stores/details
JavaScript
fetch("http://localhost/api/user/{userId}/stores/details")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/{userId}/stores/details");
Python
import requests
response = requests.get("http://localhost/api/user/{userId}/stores/details")
print(response.json())