Get a variant
Returns a single variant by ID.
Required scope: read_products (for API-key authentication).
GET
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Query Parameters
Comma-separated associations to expand (e.g., images, prices, stock_items, option_values). Use dot notation for nested expand (max 4 levels).
Comma-separated list of fields to include (e.g., sku,price,stock). id is always included.
Response
variant found
Spree Admin SDK

