GET/v2/shopHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON[ { "id": "3cc57322-eaac-4dda-b0f7-49bf7b992acd", "cover": "cover_placeholder_1.jpg", "name": "Музыкальный Сервис (3 мес)", "desc": "Подписка на Музыкальный Сервис на 3 месяца (подарочная)", "price": 150 }, { "id": "d7ed7bc9-91b6-4b56-b299-0d025e03dffd", "cover": "cover_placeholder_2.jpg", "name": "Музыкальный Сервис (6 мес)", "desc": "Подписка на Музыкальный Сервис на 6 месяцев (подарочная)", "price": 300 } ]
GET/v2/shop/ordersHeaders
| Name | Value |
| Content-Type | multipart/form-data |
| Authorization | Bearer <token> |
Response
JSON[ { "id": "order-uuid-001", "product": { "id": "3cc57322-eaac-4dda-b0f7-49bf7b992acd", "cover": "cover_placeholder_1.jpg", "name": "Музыкальный Сервис (3 мес)", "desc": "Подписка на Музыкальный Сервис на 3 месяца (подарочная)", "price": 150 }, "user": { "id": "user-uuid-101", "avatar": "avatar_placeholder_1.jpg", "username": "ivan.ivanov" }, "price": 150, "status": "completed", "createdAt": "2025-09-29T21:55:00.000Z" } ]
GET/v2/shop/myHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON[ { "id": "091d6aae-361b-4402-ba0f-c8371cd12a40", "product": { "id": "58182a54-ab72-474e-a94f-9d75d34f5414", "cover": "placeholder_cover.png", "name": "Сервис «Универсальный» (3 мес)", "desc": "Подписка на Сервис «Универсальный» на 3 месяца", "price": 100 }, "price": 100, "status": 2, "createdAt": "2025-09-29T22:00:00.000Z" } ]
POST/v2/shopHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Body
| Name | Value |
| cover | Обложка товара |
| name | Название товара |
| desc | Описание товара |
| price | Цена товара |
Response
JSON{ status: "OK" }
POST/v2/shop/product/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Body
| Name | Value |
| cover | Обложка товара |
| name | Название товара |
| desc | Описание товара |
| price | Цена товара |
Response
JSON{ status: "OK" }
DELETE/v2/shop/product/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
POST/v2/shop/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON{ status: "OK" }
POST/v2/shop/order/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON{ status: "OK" }