Create collection
create_collectionCreate a Yandex KIT catalog collection using title, status (ACTIVE|INACTIVE), and type (STATIC|DYNAMIC). Set a dynamic_filter for dynamic collections and call get_operation_schema for the exact request shape.
Instructions
Create a new collection. Required: title, status (ACTIVE|INACTIVE) and collection_type (STATIC|DYNAMIC; DYNAMIC also takes a dynamic_filter). Call get_operation_schema("CreateCollection") for the exact request shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection record matching the CreateCollectionRequest schema (see get_operation_schema("CreateCollection")). Required: title, status, collection_type. |