Appearance
PATCH
/config/physical-store/physical-stores/{storeId}Required scope:
physicalstore:updateUpdates the given fields; a field left out keeps its value. Only the IP whitelist can be changed for now, and a given whitelist fully replaces the existing one.
Parameters
Path parameters
storeId string Format:
uuidThe unique identifier of the physical store to update.
Request body
JSON
{
"ipWhitelist": [
"..."
]
}
Response
The physical store was updated successfully.
JSON
{
"storeId": "...",
"storeNumber": "...",
"name": "...",
"active": true,
"ipWhitelist": [
"..."
]
}
| Error code | Description |
|---|---|
physical-store-cidr-too-wide | One of the given IP whitelist entries is wider than /16 (IPv4) or /48 (IPv6). |
physical-store-invalid-cidr | One of the given IP whitelist entries is not a valid CIDR range. |
physical-store-not-found | The physical store with the given ID was not found. |
physical-store-whitelist-too-large | The IP whitelist holds too many entries. |