Skip to main content
Schema2020-08-27object

sku

Stores representations of [stock keeping units](http://en.wikipedia.org/wiki/Stock_keeping_unit). 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. Related guide: [Tax, Shipping, and Inventory](https://stripe.com/docs/orders).

Source
openapi/spec3.json
Commit
d70de345383d
Active snapshot
da69df7e6e11

Sku

object

Stores representations of [stock keeping units](http://en.wikipedia.org/wiki/Stock_keeping_unit). 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. Related guide: [Tax, Shipping, and Inventory](https://stripe.com/docs/orders).

active boolean
required

Whether the SKU is available for purchase.

attributes object
required

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"}`.

created integer (unix-time)
required

Time at which the object was created. Measured in seconds since the Unix epoch.

currency string
required

Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

id string
required

Unique identifier for the object.

image string
optionalnullable

The URL of an image for this SKU, meant to be displayable to the customer.

livemode boolean
required

Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

metadata object
required

Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

object string
required

String representing the object's type. Objects of the same type share the same value.

package_dimensions
optionalnullable

The dimensions of this SKU for shipping purposes.

price integer
required

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).

product
required

The ID of the product this SKU is associated with. The product must be currently active.

updated integer (unix-time)
required

Time at which the object was last updated. Measured in seconds since the Unix epoch.