Parameter | Description | Type |
---|---|---|
department_id | Department id from customer system | integer |
Status | Description |
---|---|
422 | Invalid parameters (see example on the right) |
{
"id": 12345,
"department_id": 67890,
"name": "Department/Mall name"
}
id
is invalid (422), returns:{
"error": "Department/Mall not found"
}
id
or department_id
curl --location --request GET 'https://api.mpc.dev.placewise.com/v3/infinity-mall/stores/departments/by_department_id/1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
{}