List all variants
Products
List Variants
Returns all product variants. Useful for building pricing tables or dropdowns.
GET
List all variants
Overview
Query variants across all products. Unlike Get Product which returns variants for a single product, this endpoint lets you search, filter, and paginate across your entire variant catalog.When to Use This Endpoint
| Use Case | Recommended Endpoint |
|---|---|
| Get variants for one product | Get Product |
| Search variants by SKU | List Variants |
| Filter variants by grade/status | List Variants |
| Build variant search/autocomplete | List Variants |
| Export variant catalog | List Variants |
Common Use Cases
SKU Lookup
Find variant details by SKU for order validation or inventory management
Inventory View
Display all variants with pricing for warehouse or operations teams
Grade Filtering
Find all Grade B or Grade C variants for promotional pricing
Bulk Export
Export complete variant catalog for external systems
Filtering Variants
Response Fields
Each variant includes:| Field | Description |
|---|---|
variantId | Unique variant identifier |
sku | Variant SKU (used in orders) |
productId | Parent product ID |
productName | Parent product name |
specification | Technical specification |
grade | Condition grade (A-E) |
color | Color option |
status | active or inactive |
listPrice | MSRP/retail price |
acquisitionCost | Your cost to acquire |
pricing | Monthly prices by contract length |
Pagination
This endpoint supports higher limits for bulk operations:| Parameter | Default | Maximum |
|---|---|---|
limit | 50 | 5,000 |
startAfter | — | Cursor from previous response |
Example: Build SKU Autocomplete
Example: Export Pricing Catalog
Related Endpoints
- Get Product - Get variants for specific product
- Create Product - Add new variants via product
- Update Product - Modify variant details
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Query Parameters
Items per page (default: 5000, max: 5000)
Cursor for pagination
Filter by status (active, inactive)
Filter by product SKU
Filter by grade (A, B, C, D, E)