SKUs (Stock Keeping Units) are variants of e-commerce products. Each SKU has its own price, currency, inventory, and optional attributes like weight and country restrictions.
| Attribute | Type | Description |
|---|
id | integer | Unique identifier |
product_id | integer | Parent product ID |
name | string | SKU name (max 255 chars) |
active | boolean | Whether the SKU is available for purchase |
currency | string | Three-letter ISO currency code |
price | integer | Price in cents |
weight | number | Weight for shipping calculations |
countries | array | Country codes where available |
image | string | SKU image URL |
inventory_type | integer | 0 = infinite, 1 = finite |
inventory_quantity | integer | Stock count (when finite) |
inventory_description | string | Inventory description |
metadata | object | Custom key-value metadata |
entitlements | array | Access entitlements granted on purchase |
expires_at | integer | Unix timestamp of expiration |
created_at | integer | Unix timestamp |
updated_at | integer | Unix timestamp |