Перейти к основному содержанию
POST
/
v1
/
shared
/
auth
/
profile
/
sets
cURL
curl --request POST \
  --url https://api.example.com/v1/shared/auth/profile/sets/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "products": [
    {
      "id": 123,
      "price_discount": "<string>",
      "discount_amount": 123,
      "images": "<string>",
      "bonus": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "type": "set",
      "unique_id": "<string>",
      "category": 123,
      "image": "<string>",
      "price": "<string>",
      "amount": -1,
      "discount": 123,
      "extra": "<unknown>"
    }
  ]
}

Тело

name
string
обязательно
Maximum string length: 255

Ответ

201 - application/json
id
integer
обязательно
name
string
обязательно
Maximum string length: 255
products
object[]
обязательно