Facility FPA
Facilities

Update state of Facility by id or external ref

1min
PUT
https://{domain}/app/api/v2/facilities/{facilityId}/transition

State Transitions Allowed

from_state->to_state
onboarding:onboarding->active:active
active:active->inactive:inactive active:deboard active:pause
active:pause->active:active
active:deboard->active:active inactive:inactive
inactive:inactive->active:active
inactive:terminal->
Header Parameters
X-Solutions-Callback-Secret
Body Parameters
body
Description
Request parameters for updating the State
All Of
StateTransitionRequest +
toState
*
reasonCode
data
callback
Responses
202
Request Accepted
error
request
data
default
Default Error Response
error
request
Curl
JS
Ruby
Python
Responses
202
default