{
"id": 42311,
"product_id": 1331,
"sku": "0133949911",
"external_id": "13141ADA",
"barcode": "9000132491131",
"web_url": "https://demo_site.com/42311",
"handle": "demo_handle",
"title": "A demo item",
"description": "This is an item for demonstration",
"position": 0,
"price": 1000,
"price_discounted": 599.99,
"price_comparison": 1200,
"price_cost": 100,
"available_quantity": 231,
"images": [],
"tags": [],
"options": [
{
"name": "Size",
"value": "61",
"sort_order": null
},
{
"name": "Colour",
"value": "900",
"sort_order": null
}
],
"created_at": "2020-04-16 11:04:43",
"updated_at": "2020-04-16 11:04:43"
}
What are product variants?
Products with variants are products that have similarities, they are usually based on the same model, and differ in some way. Variants allow customers to purchase a product in different aspects such as colour or size. Product variants need to be attached to a master product_id
Product variant properties
Attribute | Description |
---|---|
idINTEGER | A unique Omneo ID for the variant |
product_idINTEGER | The product_id of the attached Product |
skuSTRING | A string representing the SKU |
external_idSTRING | A unique external id of the originating system |
barcodeSTRING BARCODE | The unique barcode of the item |
web_urlSTRING URL | The URL of a web location to view the product. (eCommerce site, product catalogue) |
handleSTRING | A unique handle for the product |
titleSTRING | The title of the product |
descriptionSTRING | The description of the product |
positionINTEGER | The position of the product with 0 being first. This will influence the default ordering of products |
priceFLOAT | The full price of the item. |
price_discountedFLOAT | The discounted price of the item. |
price_comparisonFLOAT | The 'compare at' price of the item |
price_costFLOAT | The cost price of the item |
available_quantityINTEGER | The quantity available for sale |
imagesARRAY | Product images attached to the item |
tagsARRAY | Tags attached to the item |
optionsARRAY | Options attached to the item |
created_atREAD-ONLY DATE-TIME | The UTC date & time the Product Variant record was created in ISO 8601 format. |
updated_atREAD-ONLY DATE-TIME | The UTC date & time the Product Variant record was last updated in ISO 8601 format. |