PUT
Atualizar política de preço

Authorizations

Authorization
string
header
required

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

Path Parameters

sensor_id
string
required

UUID do sensor no Meters Service.

Body

application/json
min_sell_price_eur
string<decimal>
required
Example:

"0.120000"

max_buy_price_eur
string<decimal>
required
Example:

"0.180000"

enabled
boolean
default:true

Response

Política atualizada.

min_sell_price_eur
string<decimal>
required
Example:

"0.120000"

max_buy_price_eur
string<decimal>
required
Example:

"0.180000"

enabled
boolean
default:true
id
string
sensor_id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>