Skip to navigation

Assign a tariff to a connector

Prices new sessions on one OCPI connector with this tariff. With replace (the default) the connector’s other tariffs are retired; sessions already started keep their price.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

tariff_idstringRequired1-36 characters
OCPI tariff id.

Request

This endpoint expects an object.
location_idstringRequired1-36 characters
evse_uidstringRequired1-36 characters
connector_idstringRequired1-36 characters
charge_point_idstring or nullOptional<=36 characters
replaceboolean or nullOptionalDefaults to true

Response

The connector link that now prices new sessions.
tariff_idstring
assignedlist of objects

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