Skip to main content
PATCH
Patch services

Авторизации

Authorization
string
header
обязательно

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

Заголовки

X-Tenant-Id
integer

Компания, в контексте которой выполняется запрос — её id из GET /v1/tenant/. Пользователь должен состоять в этой компании: чужой id доступа к данным не даёт. Без заголовка компания определяется по домену запроса.

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

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

Тело

tarif_price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tarif_duration
string
start_at
string<date-time> | null
end_at
string<date-time> | null
price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_tax
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
info
string | null
extra
any
tenant
integer
request
integer | null
client
integer | null
request_inventory
integer | null
service
integer
worker
integer | null
tarif
integer | null

Ответ

200 - application/json
id
integer
обязательно
read-only
created_at
string<date-time>
обязательно
read-only
updated_at
string<date-time>
обязательно
read-only
service
integer
обязательно
tarif_price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tarif_duration
string
start_at
string<date-time> | null
end_at
string<date-time> | null
price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_tax
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
info
string | null
extra
any
tenant
integer
request
integer | null
client
integer | null
request_inventory
integer | null
worker
integer | null
tarif
integer | null