Skip to main content
PUT
Update deliveries

Авторизации

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

Тело

delivery_place
object
обязательно
issue_place
object
обязательно
worker
integer
обязательно
pickup_date
string<date-time> | null
обязательно
type
enum<integer>
обязательно
  • 0 - Доставка
  • 1 - Самовывоз
Доступные опции:
0,
1
Требуемый диапазон: -32768 <= x <= 32767
price
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
cancel_comment
string | null
delivered_at
string<date-time> | null
issued_at
string<date-time> | null
status
enum<integer>
  • 0 - Ожидает
  • 1 - В работе
  • 2 - Доставлено
  • 3 - Отменено
Доступные опции:
0,
1,
2,
3
Требуемый диапазон: -32768 <= x <= 32767
comment
string | null
price_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
extra
any
issue
integer | null
phone
string | null
Maximum string length: 32
phone_alternative
string | null
Maximum string length: 32

Ответ

200 - application/json
id
integer
обязательно
read-only
request
object
обязательно
delivery_place
object
обязательно
issue_place
object
обязательно
worker
integer
обязательно
pickup_date
string<date-time> | null
обязательно
type
enum<integer>
обязательно
  • 0 - Доставка
  • 1 - Самовывоз
Доступные опции:
0,
1
Требуемый диапазон: -32768 <= x <= 32767
price
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
images
object[]
обязательно
read-only
client
object
обязательно
manager
integer
обязательно
read-only
inventories
object[]
обязательно
read-only
cancel_comment
string | null
delivered_at
string<date-time> | null
issued_at
string<date-time> | null
status
enum<integer>
  • 0 - Ожидает
  • 1 - В работе
  • 2 - Доставлено
  • 3 - Отменено
Доступные опции:
0,
1,
2,
3
Требуемый диапазон: -32768 <= x <= 32767
comment
string | null
price_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
extra
any
issue
integer | null
phone
string | null
Maximum string length: 32
phone_alternative
string | null
Maximum string length: 32