Create a tariff
Creates a tariff. Use this endpoint to manually create a tariff and link it to a Location. Useful when you are importing data to FlatPeak.
Authorizations
Body
Indicates end date of the energy supply contract between customer and provider.
Indicates start date of the energy supply contract between customer and provider.
Indicates direction of energy transfer this tariff applies to. Supported options are IMPORT or EXPORT
FlatPeak Location ID this tariff element will be associated with.
Indicates tariff type you want to work with. Set to COMMODITY or NON_COMMODITY.
Tariff display name.
Indicates if this tariff is based on a market rate.
FlatPeak ID of the provider this tariff belongs to.
Tariff schedule object.
Response
FlatPeak account ID.
Represents tariff connection type. Set automatically by FlatPeak depending on how tariff was created.
Indicates end date of the energy supply contract between customer and provider.
Indicates start date of the energy supply contract between customer and provider.
Indicates direction of energy transfer this tariff applies to. Supported options are IMPORT, EXPORT or LOCAL. LOCAL direction is in beta. Contact support to enable.
Unique tariff element ID.
This indicates that the tariff is linked to an external data source and is automatically updated from this source. Such as when it's linked to your customer's provider account or to a tariff in the FlatPeak tariffs library. This value is set automatically by FlatPeak and cannot be changed.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
FlatPeak Location ID this tariff element is associated with.
Indicates if this tariff is based on a market rate.
FlatPeak object type. I.e. tariff_element.
Status of tariff element. Possible values are CONNECTED or ERROR.
Indicates time when this tariff object was created.
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
Indicates tariff type you want to work with. Set to COMMODITY or NON_COMMODITY.
Tariff display name.
FlatPeak ID of the provider this tariff belongs to.
Tariff schedule object.
Was this page helpful?