List variants
list_variantsFetch paginated store variants (SKUs) with filters by status, name, or product ID. Returns an error when archived status filters are unsupported, preventing inaccurate catalog results.
Instructions
List variants (sellable items / SKUs) of the store, with optional filters (paginated). By default the API returns variants of all statuses except ARCHIVED. Known KIT API defect: ARCHIVED is silently stripped from the status filter, so archived variants cannot be listed (only read by ID via get_variant); the tool detects this and fails with STATUS_FILTER_IGNORED, ARCHIVE_READ_UNSUPPORTED or MIXED_ARCHIVED_FILTER_UNSUPPORTED (for filters mixing ARCHIVED with other statuses) instead of returning the wrong catalog slice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch all pages via auto-pagination, up to 500 items; ignores page/per_page. | |
| name | No | Case-insensitive partial search by name, SKU, barcode or KIT ID. | |
| page | No | Page number, starting at 1 (default 1). | |
| status | No | Filter by variant status. | |
| per_page | No | Items per page, 1-100 (default 25). Values outside the range are clamped. | |
| product_id | No | Filter by parent product ID (UUID). |