Skip to main content
PATCH
/
facilities
/
{ref}
Override facility attributes
curl --request PATCH \
  --url https://api.simcel.io/master/v1/facilities/{ref} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "Inactive",
  "region": "Southern Europe"
}
'
{
  "success": true,
  "overrideId": "<string>",
  "appliedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ref
string
required

Query Parameters

workspaceId
string
required

The workspace ID to query master data from

Body

application/json
status
enum<string> | null
Available options:
Active,
Inactive
region
string | null
channel
string | null
keyAccount
boolean | null

Response

Override applied successfully

success
boolean
overrideId
string

Internal ID of the created/updated override record

appliedAt
string<date-time>