Update a bookable site
Changes only the fields you send. Null clears optional objects and lists; location_id, role, origin, ocpi_version and last_updated cannot be null.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
booking_location_id
OCPI id of the bookable site.
Query parameters
country_code
OCPI country code of the party that owns the row, e.g. NL.
party_id
OCPI party id of the party that owns the row, e.g. OCP.
Request
This endpoint expects an object.
location_id
booking_option
OCPI booking option. The gateway stores the object it received.
policy
OCPI booking policy. Later fields are kept.
tariff_ids
booking_terms
Terms accepted for the reservation.
calendars
last_updated
role
origin
Allowed values:
ocpi_version
Allowed values:
Response
The bookable site after the update.
id
booking_location_id
location_id
last_updated
role
origin
organization_id
country_code
party_id
ocpi_version
created_at
updated_at
booking_option
policy
tariff_ids
booking_terms
Terms accepted for the reservation.
calendars
deleted_at
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error