Update a location
Changes only the fields sent; send null to clear a field. Partner locations are read-only (409).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
location_id
OCPI location id.
Headers
If-Match
Optional. The last_updated value you read; the write is refused with 412 if the object changed since.
Request
This endpoint expects an object.
expected_revision
name
postal_code
state
parking_type
Allowed parking_type values on ocpp.ocpp_locations.
facilities
opening_times
charging_when_closed
publish
publish_allowed_to
parking_places
directions
operator
suboperator
owner
images
energy_mix
help_phone
address
city
country
coordinates
time_zone
Response
The object after the update.
id
location_id
publish
address
city
country
coordinates
time_zone
last_updated
revision
role
origin
country_code
party_id
ocpi_version
organization_id
created_at
updated_at
publish_allowed_to
name
postal_code
state
parking_type
parking_places
directions
operator
suboperator
owner
facilities
opening_times
charging_when_closed
images
energy_mix
help_phone
ocpp_version
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error