Defines the object schema located at components.schemas.sku in the specification.
Stores representations of stock keeping units. SKUs describe specific product variations, taking into account any combination of: attributes, currency, and cost. For example, a product may be a T-shirt, whereas a specific SKU represents the `size: large`, `color: red` version of that shirt.
Can also be used to manage inventory.
Constructors
SkuskuActive :: Boolactive: Whether the SKU is available for purchase.
skuAttributes :: Objectattributes: A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`.
skuCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
skuCurrency :: Textcurrency: Three-letter ISO currency code, in lowercase. Must be a supported currency.
skuId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
skuImage :: Maybe (Nullable Text)image: The URL of an image for this SKU, meant to be displayable to the customer.
Constraints:
Maximum length of 2048
skuInventory :: SkuInventoryinventory:
skuLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
skuMetadata :: Objectmetadata: Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
skuPackageDimensions :: Maybe (Nullable SkuPackageDimensions'NonNullable)package_dimensions: The dimensions of this SKU for shipping purposes.
skuPrice :: Intprice: The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency).
skuProduct :: SkuProduct'Variantsproduct: The ID of the product this SKU is associated with. The product must be currently active.
skuUpdated :: Intupdated: Time at which the object was last updated. Measured in seconds since the Unix epoch.