Update a service
PATCH /v1/services/{id}
requirements replaces the whole set; omitting it leaves it untouched.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Identifier of the service.
Query Parameters
Section titled “Query Parameters ”Related objects to inline. Repeat the parameter, or send a comma separated list. Accepts: requirements.
Header Parameters
Section titled “Header Parameters ”The dated API version to speak. Defaults to 2026-09-01; an unsupported value is a 400.
Example
2026-09-01Which Bookrail tool the caller is, recorded as actor.via on every event the request writes. A closed list: an unknown value is a 400. Absent means the request declared no tool.
Request Body required
Section titled “Request Body required ”object
object
object
Three letter ISO 4217 currency code.
Example
EURobject
object
Identifier of a policy, prefixed with pol_.
Example
pol_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
object
Identifier of a resource, prefixed with res_.
Example
res_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a resource_group, prefixed with rg_.
Example
rg_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cFree-form key/value pairs stored with the object and returned untouched.
object
Responses
Section titled “ Responses ”Success.
object
Identifier of a service, prefixed with svc_.
Example
svc_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cobject
Amount in the minor unit of the currency (cents for EUR).
object
Evaluated in order for every slot and frozen on the booking: the first rule whose when matches replaces the flat price. Empty means the flat price always applies.
object
object
Identifier of a policy, prefixed with pol_.
Example
pol_0198f0c2a1b47e2e9a1c0f4d5e6a7b8c{ min_notice_minutes?, max_advance_days? }, as stored.
Optional tenant this object belongs to, for multi-tenant customers.
Free-form key/value pairs stored with the object and returned untouched.
object
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZPresent only with expand[]=requirements.
object
Identifier of a service_requirement, prefixed with sreq_.
Example
sreq_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a service, prefixed with svc_.
Example
svc_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a resource, prefixed with res_.
Example
res_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cIdentifier of a resource_group, prefixed with rg_.
Example
rg_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cHeaders
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: invalid_body, parameter_invalid, parameter_missing, unsupported_api_version.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: invalid_api_key, invalid_authorization_header, missing_api_key, revoked_api_key.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: resource_missing.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: internal_error.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.