Перейти к основному содержанию
POST
/
v1
/
crm
/
tarifs
/
bulk_create
cURL
curl --request POST \
  --url https://api.example.com/v1/crm/tarifs/bulk_create/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "tarifs": [
    {
      "price": "<string>",
      "weekdays": [
        3
      ],
      "start": "<string>",
      "end": "<string>",
      "published": true,
      "order": -1,
      "name": "<string>",
      "inventory": 123,
      "inventory_group": 123,
      "inventory_set": 123,
      "inventory_set_price": 123,
      "time_period": 123
    }
  ]
}
'
{
  "tarifs": [
    {
      "price": "<string>",
      "weekdays": [
        3
      ],
      "start": "<string>",
      "end": "<string>",
      "published": true,
      "order": -1,
      "name": "<string>",
      "inventory": 123,
      "inventory_group": 123,
      "inventory_set": 123,
      "inventory_set_price": 123,
      "time_period": 123
    }
  ]
}

Тело

tarifs
object[]
обязательно

Ответ

201 - application/json
tarifs
object[]
обязательно