Skip to main content
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

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:

Pagination

This endpoint supports higher limits for bulk operations:

Example: Build SKU Autocomplete

Example: Export Pricing Catalog

Authorizations

Authorization
string
header
required

API key obtained from FlexPortal dashboard

Headers

Tenant-ID
string
required

Your tenant identifier

Query Parameters

limit
string

Items per page (default: 5000, max: 5000)

startAfter
string

Cursor for pagination

status
string

Filter by status (active, inactive)

productSku
string

Filter by product SKU

grade
string

Filter by grade (A, B, C, D, E)

Response

200 - application/json

List of variants

variants
object[]
required
count
number
required
limit
number
required
hasMore
boolean
required
nextCursor
string | null
required