# API changes: June 19, 2026

[← Changelog](/docs/changelog) · [June 2026](/docs/changelog/2026-06)

### FIX-0619-1: document creation

**Before**

[POST /v1/documents](/docs/entities/documents/create) returned `422` and did not create the document.

**After**

The endpoint creates a document from a template and returns the record.

### FIX-0619-2: warehouse auto-pagination

**Before**

`GET /v1/warehouses` and warehouse stock returned only the first page when `limit > 50`.

**After**

Auto-pagination collects every record into a single response.

**Affected endpoints:** [GET /v1/warehouses](/docs/entities/warehouses/list), [GET /v1/warehouses/:id/stock](/docs/entities/warehouses/stock)

### FIX-0619-3: list-type custom field values preserved

**Before**

When creating and updating a "list" (enum) custom field, the list values were lost.

**After**

List values are preserved on create and update.

**Affected endpoints:** [create](/docs/userfields/crm/create), [update](/docs/userfields/crm/update) a custom field

### FIX-0619-4: partial update of a basket item

**Before**

[PATCH /v1/basket-items/:id](/docs/entities/basket-items/update) did not perform a partial update of the item.

**After**

Partial update works, the `quantity` field is required in the body.

### FIX-0619-5: Open Channels config filter and sort

**Before**

For [Open Channels configs](/docs/openlines/config/list), filter and sort did not work for all fields, and values were not normalized on write.

**After**

Filter and sort respect the field schema, boolean values are coerced to the Bitrix24 format (`Y`/`N`) on write.
