Parameter | Description | Type |
---|---|---|
store_id | store id (type string but must have integer format i.g. "123" due to legacy issues) | string |
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 requiredStatus | Description |
---|---|
ok | Store was created |
This store already exists. |
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"
}
}
curl --location --request POST 'https://api.mpc.dev.placewise.com/v3/infinity-mall/stores' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: '
{}