cURL
curl --request GET \ --url https://api-eu.flexportal.io/v1/products/{productId} \ --header 'Authorization: Bearer <token>' \ --header 'Tenant-ID: <tenant-id>'
{ "productId": "<string>", "tenantId": "<string>", "productSku": "<string>", "name": "<string>", "specification": "<string>", "category": "<string>", "brand": "<string>", "status": "active", "createdAt": "<string>", "updatedAt": "<string>", "variants": [ { "tenantId": "<string>", "productId": "<string>", "productSku": "<string>", "variantSku": "<string>", "variantName": "<string>", "grade": "<string>", "pricing": [ { "contractLength": 2, "monthlyPrice": 1, "setupFee": 1, "discount": { "type": "percentage", "value": 1, "description": "<string>" } } ], "status": "active", "createdAt": "<string>", "updatedAt": "<string>", "colorName": "<string>", "rrp": 123 } ] }
Retrieves a specific product by ID, including its variants.
API key obtained from FlexPortal dashboard
Your tenant identifier
The product ID
Product details
active
discontinued
Show child attributes
x >= 1
x >= 0
percentage
fixed
inactive