GET
/
tariffs
/
elements

Authorizations

Authorization
string
header
required

Authenticate with bearer_token you obtained from /login endpoint.

Query Parameters

direction
any

Filter by tariff direction, supported values are IMPORT and EXPORT.

type
string

Filter by tariff type, supported values are COMMODITY and NON_COMMODITY.

location_id
string
required

Filter by FlatPeak Location ID.

starting_after
string

Specifies a cursor for pagination use; provider_id defines the place in the list. To retrieve the next page in the list include starting_after where ID is the last ID in the currently retrieved list.

ending_before
string

Specifies a cursor for pagination use; provider_id defines the place in the list. To retrieve the previous page in the list include ending_before where is the first ID in the currently retrieved list.

limit
integer

A limit on the number of objects to be returned. Can range between 1 and 100, and the default is 30.

Response

200 - application/json
has_more
boolean
default:
false
required

Is set to true if more objects are available.

object
string
required

Represents the object’s type. i.e. list.

url
string
required

Represents url slug for the object.

data
object[]