A SKU (Stock Keeping Unit) represents a specific, purchasable configuration of a product—such as a black pair of shoes in size 7. Shoppers cannot purchase an Offer directly; they must select a SKU, which is a distinct combination of variant options that represent an actual item.
Offers and SKUs
Offers serve as the top-level category or wrapper in Violet's system. One Offer can contain multiple SKUs—sometimes just one, but in other cases, as many as 100 or more. This variability directly impacts the sizing and processing demands on our respective systems.
For example, an Offer may represent a t-shirt with variant options for COLOR and SIZE. The combination of the RED color variant option and the MEDIUM size variant option creates an individual SKU. Each distinct combination constitutes its own unique SKU.
SKU Data
Each SKU has its own unique ID. SKU data includes specific details about a product, such as
Quantity available (inventory)
Pricing information
Other product-specific attributes
While a SKU may carry a specific inventory quantity, that quantity is simply a data value within the SKU entity and is not included in the SKU count calculation.
You can access individual SKU data within the Offer Object, or retrieve data for a specific SKU by using its ID.
Keeping SKUs Updated
It is essential to keep every SKU up to date. When a SKU is updated in the merchant's platform, a webhook typically notifies Violet's system so we can update the SKU accordingly. Violet doesn't create a new SKU for every update; instead, Violet stores a new version to ensure that inventory, pricing, and related details remain accurate for shoppers.
Here is an example of a SKU as part of the Offer object:
SKU as part of Offer
Here is an example of a SKU object in isolation:
SKU JSON
You can learn more about how to interact with SKUs in our API Reference.