Перейти к основному содержанию
POST
/
v1
/
shop
/
sales
/
{sale_id}
/
inventories
/
bulk_update
cURL
curl --request POST \
  --url https://api.example.com/v1/shop/sales/{sale_id}/inventories/bulk_update/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "inventories": [
    {
      "inventory_group": 123,
      "inventory_group_count": 123,
      "warehouse": 123,
      "id": 123,
      "inventory": 123,
      "counterparty": 123,
      "tarif": 123,
      "discount": 123,
      "price": "<string>",
      "extra": "<unknown>"
    }
  ]
}
'
{
  "inventories": [
    {}
  ]
}

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

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

Тело

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

Ответ

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