Get a product
Products
Get Product
Retrieves a specific product by ID, including its variants.
GET
Get a product
Overview
Retrieve a single product by ID, including all its variants. Use this endpoint when you need complete product details including pricing for all configurations.Common Use Cases
- Product Detail Page: Display full product information with all available variants
- Variant Selection: Show customers all available configurations and their pricing
- Order Validation: Verify a variant exists and is active before creating an order
- Pricing Display: Show subscription pricing for different contract lengths
Understanding Variants
Each variant represents a specific product configuration:Variant Fields Explained
| Field | Description |
|---|---|
sku | Unique variant identifier used in orders |
specification | Technical specs (e.g., “M3 Max, 64GB”) |
grade | Condition grade: A (like new) to E (refurbished) |
color | Color option |
status | active or inactive |
listPrice | MSRP/retail price |
acquisitionCost | Your cost to acquire this variant |
pricing | Monthly prices by contract length (months) |
Pricing by Contract Length
Thepricing object maps contract lengths (in months) to monthly subscription prices:
Grade Classification
Products are classified by condition:| Grade | Description | Typical Use |
|---|---|---|
| A | Like new, minimal wear | Premium subscriptions |
| B | Light wear, fully functional | Standard subscriptions |
| C | Visible wear, fully functional | Budget subscriptions |
| D | Significant wear, functional | Short-term/value subscriptions |
| E | Refurbished/repaired | Budget/secondary market |
Example: Building a Variant Selector
Related Endpoints
- List Products - Browse all products
- List Variants - Query variants across products
- Update Product - Modify product details
- Create Order - Create orders using variant SKUs
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The product ID
Response
Product details
Available options:
active, discontinued