| Parameter | Description | Type |
|---|---|---|
| id | ID | integer |
| Parameter | Description | Type |
|---|---|---|
| name* | store name | string |
| department_id | department/mall id | string |
| categories | categories | array |
| zones | zones | array |
| floor | foor | string |
| location | location | string |
| area | area | int |
| opening_hours | opening hours | array of day objects |
| description | description | string |
| phone | contact phone | string |
| external_url | website | string |
| tenant_categories | tenant categories | array |
| Parameter | Description | Type |
|---|---|---|
| name* | day of the week | string |
| hours* | opening hours | string |
* are required| Status | Description |
|---|---|
| ok | Store updated |
| Store with this id does not exist. |
| Status | Description |
|---|---|
422 | Invalid parameters (see example on the right) |
{
"id": 12345,
"store_id": "6789",
"status": "ok"
}{
"error": "Invalid format",
"details": {
"name": "The property {property} is required"
}
}id or store_id is invalid (422), returns:{
"error": "Store not found"
}curl --location --request PUT 'https://api.mpc.dev.placewise.com/v3/infinity-mall/stores/by_store_id/1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: '{}