Перейти к основному содержанию
GET
/
v1
/
shared
/
auth
/
profile
/
orders
/
{id}
cURL
curl --request GET \
  --url https://api.example.com/v1/shared/auth/profile/orders/{id}/
{
  "id": 123,
  "reviews_cnt": 123,
  "delivery_address": "<string>",
  "delivery_address_return": "<string>",
  "bonus_amount": "<string>",
  "bonus_used": "<string>",
  "bonus_max": "<string>",
  "can_cancel": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "rent_start": "2023-11-07T05:31:56Z",
  "rent_end": "2023-11-07T05:31:56Z",
  "id_dense": 1073741823,
  "status": 0,
  "plus_id": 0,
  "unique_id": "<string>",
  "rent_fact_start": "2023-11-07T05:31:56Z",
  "rent_fact_end": "2023-11-07T05:31:56Z",
  "autorenewal": true,
  "autowithdraw": true,
  "duriation": "<string>",
  "initial_duriation": "<string>",
  "counting_duration": "<string>",
  "price": "<string>",
  "price_discount": "<string>",
  "price_inventory": "<string>",
  "price_inventory_discount": "<string>",
  "price_service": "<string>",
  "price_service_discount": "<string>",
  "price_delivery": "<string>",
  "price_referral": "<string>",
  "tax_percent": "<string>",
  "tax_included": true,
  "price_tax": "<string>",
  "discount_amount": "<string>",
  "discount_inventory_amount": "<string>",
  "discount_service_amount": "<string>",
  "discount_combine": true,
  "additional_discount": "<string>",
  "payment_status": 0,
  "paid_amount": "<string>",
  "time_exceed": true,
  "penalty_amount": "<string>",
  "penalty_auto": "<string>",
  "penalty_custom": "<string>",
  "penalty_duriation": "<string>",
  "penalty_step_duriation": "<string>",
  "penalty_disabled": true,
  "extra": "<unknown>",
  "deleted": true,
  "active": true,
  "tenant": 123,
  "client": 123,
  "discount": 123,
  "user_created": 123,
  "rental_point": 123,
  "rental_point_return": 123,
  "bag": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "default_tarif_period": 123
}

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

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

Ответ

200 - application/json
id
integer
обязательно
reviews_cnt
integer
обязательно
delivery_address
string
обязательно
delivery_address_return
string
обязательно
bonus_amount
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_used
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
bonus_max
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
can_cancel
string
обязательно
created_at
string<date-time>
обязательно
updated_at
string<date-time>
обязательно
rent_start
string<date-time>
обязательно
rent_end
string<date-time>
обязательно
id_dense
integer | null
Требуемый диапазон: 0 <= x <= 2147483647
status
enum<integer>
  • 0 - Запрос
  • 1 - Забронировано
  • 2 - В аренде
  • 3 - Отменено
  • 4 - Завершено
  • 5 - Должник
Доступные опции:
0,
1,
2,
3,
4,
5
Требуемый диапазон: 0 <= x <= 32767
plus_id
integer<int64> | null
Требуемый диапазон: -9223372036854776000 <= x <= 9223372036854776000
unique_id
string | null
Maximum string length: 64
rent_fact_start
string<date-time> | null
rent_fact_end
string<date-time> | null
autorenewal
boolean
autowithdraw
boolean
duriation
string | null
initial_duriation
string | null
counting_duration
string | null
price
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_inventory
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_inventory_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_service
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_service_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_delivery
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
price_referral
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tax_percent
string<decimal>
Pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
tax_included
boolean
price_tax
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
discount_amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
discount_inventory_amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
discount_service_amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
discount_combine
boolean
additional_discount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
payment_status
enum<integer>
  • 0 - Ожидается оплата
  • 1 - Оплата произведена
  • 2 - Частичная оплата
Доступные опции:
0,
1,
2
Требуемый диапазон: 0 <= x <= 32767
paid_amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
time_exceed
boolean
penalty_amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
penalty_auto
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
penalty_custom
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
penalty_duriation
string | null
penalty_step_duriation
string
penalty_disabled
boolean
extra
any
deleted
boolean
active
boolean
tenant
integer
client
integer | null
discount
integer | null
user_created
integer | null
rental_point
integer | null
rental_point_return
integer | null
bag
string<uuid> | null
default_tarif_period
integer | null