Skip to main content
POST
Create exchange

Авторизации

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
обязательно

Тело

inventory
integer | null
write-only
tarif
integer | null
write-only
tarif_price
string<decimal> | null
write-only
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tarif_duration
string | null
write-only
start_at
string<date-time> | null
write-only

Ответ

201 - application/json

The response is of type object.