Skip to main content
PUT
/
cabinet
/
admin
/
tariffs
/
order
Update Tariff Order
curl --request PUT \
  --url http://localhost:8080/cabinet/admin/tariffs/order \
  --header 'Content-Type: application/json' \
  --data '
{
  "tariff_ids": [
    123
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json

Request to reorder tariffs.

tariff_ids
integer[]
required

Ordered list of tariff IDs

Minimum array length: 1

Response

Successful Response