Appearance
Product
Returns a single product
GET: /headless_api/products/{product_slug}
{
"data": {
"id": 1,
"primary_sku": "416502",
"breadcrumbs": [
{
"title": "Hem",
"slug": ""
},
{
"title": "Clothes",
"slug": "clothes"
}
],
"name": "T-shirt",
"slug": "t-shirt",
"is_new": true, // Bool
"images": [
{
"id": 6188,
"sort_order": 0,
"name": "9G0ueaMwZrtRwf61633359232",
"title": "Black t-shirt",
"alt_tag": "",
"path_xs": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_small": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_medium": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_large": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_xl": "https://d3dnwnveix5428.cloudfront.net/image_hash"
}
],
"variants": [
{
"id": 1,
"sku": "416502",
"gtin": "",
"prices": [
{
"currency": {
"name": "Svenska kronor",
"iso": "SEK",
"format": "{value} kr",
"decimal_separator": ",",
"thousand_separator": " "
},
"tier": 1,
"price": 68,
"price_inc_vat": 85,
"formatted_price": "85 kr",
"price_in_cents": 6800,
"price_in_cents_inc_vat": 8500,
"compare_price": 0,
"compare_price_inc_vat": 0,
"formatted_compare_price": "0 kr"
}
],
"options": [
{
"option": "Färg",
"value": "Svart",
"option_type_value": "#222F3D",
"type": {
"id": 1,
"name": "Färgval",
"is_color": true,
"is_button": false,
"is_radio": false
}
},
{
"option": "Storlek",
"value": "S",
"option_type_value": null,
"type": {
"id": 0,
"name": "Dropdown",
"is_color": false,
"is_button": false,
"is_radio": false
}
}
],
"has_comparison_price": false,
"comparison_price": "0 kr",
"stock": "12.00",
"inventory_status": {
"title": "i lager skickas omgående",
"orderable": true,
"watchable": false,
"show_stock": true
},
"image": {
"id": 6188,
"sort_order": 0,
"name": "9G0ueaMwZrtRwf61633359232",
"title": "Black t-shirt",
"alt_tag": "",
"path_xs": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_small": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_medium": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_large": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_xl": "https://d3dnwnveix5428.cloudfront.net/image_hash"
}
}
],
"description": "Product description",
"short_description": "Short description",
"meta_title": "Meta title",
"meta_description": "Meta description",
"categories": [
{
"id": 1,
"parent_id": null,
"name": "Clothes",
"slug": "clothes",
"path": "sv/category/clothes",
"meta_title": ""
}
],
"brand": {
"name": "Brand name",
"description": "Brand description",
"image": {
"id": 1,
"sort_order": 0,
"name": "9G0ueaMwZrtRwf61633359232",
"title": "Black t-shirt",
"alt_tag": "",
"path_xs": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_small": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_medium": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_large": "https://d3dnwnveix5428.cloudfront.net/image_hash",
"path_xl": "https://d3dnwnveix5428.cloudfront.net/image_hash"
},
"slug": "brand-name",
"meta_title": "meta title",
"meta_description": "meta description",
"website": ""
},
"reviews": [
// List of reviews
],
"questions": [
// List of FAQ
],
"accessories": [
// List of product objects
],
"related_products": [
// List of product objects
],
/*
* Optinal, only exists if properties app is installed
*/
"properties": [
// List of product objects
]
}
}