Перейти к основному содержанию
GET
/
v1
/
plus
/
products
/
{id}
/
{company_id}
/
tariffs
cURL
curl --request GET \
  --url https://api.example.com/v1/plus/products/{id}/{company_id}/tariffs/
[
  {
    "id": 123,
    "name": "<string>",
    "duration": "<string>",
    "price": "<string>",
    "weekdays": [
      3
    ],
    "start": "<string>",
    "end": "<string>",
    "outer_id": -1,
    "active": true,
    "order": -1,
    "tenant": 123,
    "product": 123,
    "product_company": 123
  }
]

Параметры пути

company_id
integer
обязательно
id
integer
обязательно

Ответ

200 - application/json
id
integer
обязательно
name
string
обязательно
Maximum string length: 255
duration
string
обязательно
price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
weekdays
integer[]
Требуемый диапазон: 0 <= x <= 6
start
string<time> | null
end
string<time> | null
outer_id
integer | null
Требуемый диапазон: -2147483648 <= x <= 2147483647
active
boolean
order
integer
Требуемый диапазон: -2147483648 <= x <= 2147483647
tenant
integer | null
product
integer | null
product_company
integer | null