Allows to patch the store with information like the store team status.
PATCH
/api/stores/{storeId}/informationAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
storeId*
Typestring
RequiredRequest Body
JSON
{
"name": "string",
"regionId": 0,
"location": null,
"address": null,
"publicInfo": "string",
"publicTime": 0,
"categoryId": 0,
"chainId": 0,
"cooperationStatus": 0,
"description": "string",
"contact": null,
"cooperationStart": "string",
"calendarInterval": 0,
"weight": 0,
"effort": 0,
"showsSticker": 0,
"publicity": 0,
"teamStatus": 0,
"options": null,
"groceries": [
0
],
"isHygieneRequired": true
}
Responses
Store information
Authorization
api_key
Variables
Key
Value
storeId*
cURL
curl -X PATCH \
'http://localhost/api/stores/{storeId}/information' \
--data '{
"name": "string",
"regionId": 0,
"location": null,
"address": null,
"publicInfo": "string",
"publicTime": 0,
"categoryId": 0,
"chainId": 0,
"cooperationStatus": 0,
"description": "string",
"contact": null,
"cooperationStart": "string",
"calendarInterval": 0,
"weight": 0,
"effort": 0,
"showsSticker": 0,
"publicity": 0,
"teamStatus": 0,
"options": null,
"groceries": [
0
],
"isHygieneRequired": true
}'
Samples
cURL
curl -X PATCH http://localhost/api/stores/{storeId}/information
JavaScript
fetch("http://localhost/api/stores/{storeId}/information", { method: "PATCH" })
.then(response => response.json())
.then(data => console.log(data));
PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://localhost/api/stores/{storeId}/information");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
response = requests.patch("http://localhost/api/stores/{storeId}/information")
print(response.json())