Link a location to a voucher group
Link one of your OCPI locations to the group, for your records; chargers do not apply vouchers.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
The voucher group’s id.
location_id
OCPI location id.
Query parameters
country_code
OCPI party country code, e.g. NL. Pass it with party_id when the location id is used by more than one party.
party_id
OCPI party id, e.g. OCP. Pass it with country_code when the location id is used by more than one party.
Response
The linked location.
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
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