Skip to main content
API

Update a tariff

x-ms-visibility: "important"

Send a request to update a tariff details specified in the request body.

Path Parameters
    tariffId string required

    This is the globally unique ID for the tariff

Request Body required

Tariff object that needs to be updated. Price in an element excludes VAT.

    name string
    currency string
    useType int32

    Possible values: [0, 1, 2]

    UseType default value: PRICE

    ocpiType int32 nullable

    Possible values: [0, 1, 2, 3, 4]

    Default value: 0

    minPrice object
    exclVat double nullable
    inclVat double nullable
    maxPrice object
    exclVat double nullable
    inclVat double nullable
    elements object[]
  • Array [
  • priceComponents object[]
  • Array [
  • type int32 nullable

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8]

    Default value: 0

    price double

    Price excluding VAT

    vat double nullable
    margin double nullable
    stepSize int32 nullable
    marginPercentage double nullable
    priceCap double nullable
    costPercentage double nullable
    biddingZone string
  • ]
  • restrictions object
    startTime string
    endTime string
    startDate string
    endDate string
    minKwh double nullable
    maxKwh double nullable
    minCurrent double nullable
    maxCurrent double nullable
    minPower double nullable
    maxPower double nullable
    minDuration int32 nullable
    maxDuration int32 nullable
    dayOfWeek int32[]

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    reservation int32 nullable

    Possible values: [0, 1]

    Default value: 0

  • ]
  • startDateTime date-time nullable
    endDateTime date-time nullable
    tariffAltText object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextOffline object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextDuringCharging object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextStopTransaction object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltUrl uri
Responses

Returns the tariff id


Schema
    id string
Loading...