Update a reservation
Changes only the fields you send; the status changes only through the status actions. Null clears optional objects and lists; required fields cannot be null.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
booking_id
OCPI id of the reservation.
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.
request_id
booking_option
OCPI booking option. The gateway stores the object it received.
location_id
booking_tokens
tariff_ids
period
When the reservation may be used.
canceled
OCPI cancellation object.
access_information
booking_terms
Terms accepted for the reservation.
booking_requests
last_updated
role
origin
Allowed values:
ocpi_version
Allowed values:
Response
The reservation after the update.
id
booking_id
request_id
location_id
period
When the reservation may be used.
reservation_status
booking_terms
Terms accepted for the reservation.
booking_requests
last_updated
role
origin
organization_id
country_code
party_id
ocpi_version
created_at
updated_at
booking_option
booking_tokens
tariff_ids
canceled
access_information
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