Перейти к основному содержанию
GET
/
v1
/
plus
/
carts
/
{id}
/
items
cURL
curl --request GET \
  --url https://api.example.com/v1/plus/carts/{id}/items/
[
  {
    "id": 123,
    "product": {
      "id": 123,
      "name": "<string>",
      "category": 123,
      "description": "<string>",
      "thumbnail": "<string>"
    },
    "product_company": {
      "id": 123,
      "company": 123,
      "count": -1
    },
    "product_price": {
      "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
    },
    "prices": {
      "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
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "price": "<string>",
    "cart": 123,
    "quantity": 1073741823
  }
]

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

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

Ответ

200 - application/json
id
integer
обязательно
product
object
обязательно
product_company
object
обязательно
product_price
object
обязательно
prices
object
обязательно
created_at
string<date-time>
обязательно
updated_at
string<date-time>
обязательно
price
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
cart
integer
обязательно
quantity
integer
Требуемый диапазон: 0 <= x <= 2147483647