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 masterproduct_id
Product variant properties
| Attribute | Description |
|---|---|
id INTEGER | A unique Omneo ID for the variant |
product_id INTEGER | The product_id of the attached Product |
sku STRING | A string representing the SKU |
external_id STRING | A unique external id of the originating system |
barcode STRING BARCODE | The unique barcode of the item |
web_url STRING URL | The URL of a web location to view the product. (eCommerce site, product catalogue) |
handle STRING | A unique handle for the product |
title STRING | The title of the product |
description STRING | The description of the product |
position INTEGER | The position of the product with 0 being first. This will influence the default ordering of products |
price FLOAT | The full price of the item. |
price_discounted FLOAT | The discounted price of the item. |
price_comparison FLOAT | The ‘compare at’ price of the item |
price_cost FLOAT | The cost price of the item |
available_quantity INTEGER | The quantity available for sale |
images ARRAY | Product images attached to the item |
tags ARRAY | Tags attached to the item |
options ARRAY | Options attached to the item |
created_at READ-ONLY DATE-TIME | The UTC date & time the Product Variant record was created in ISO 8601 format. |
updated_at READ-ONLY DATE-TIME | The UTC date & time the Product Variant record was last updated in ISO 8601 format. |
deleted_at READ-ONLY DATE-TIME | The UTC date & time the Product Variant was soft-deleted, or null if not deleted. Variants are soft-deleted automatically when their parent product is deleted. |