Product, a specific combination of variants defined by its unique SKU in Product.variant_combinations, or even a specific modifier.| Name | Type | Description |
|---|---|---|
id | string | Unique identifier for this inventory record (e.g., inv_...). |
product_id | string | Link to the Products model (the merchant's offer). |
variant_combination_sku | string | Optional. The final unique SKU from Product.variant_combinations that this inventory record applies to. If null, applies to the base product (if no variants) or a modifier. |
modifier_id | string | Optional. Links to a specific modifier within Product.modifier_groups. Used to track availability of add-ons. If null, applies to base product or a variant combination. |
quantity | integer | Nullable. The exact number of units available for this specific SKU or modifier. Can be null for non-quantity-tracked items. |
is_in_stock | boolean | A simple, direct signal of availability (true/false) for this specific SKU or modifier. Crucial primary flag. |
updated_at | string | Timestamp of the last modification (ISO 8601 UTC). |
prod_tm_55667, Almarai Milk) which has no variants. variant_combination_sku is null. The quantity field shows 42 units are available, and is_in_stock is true.{
"id": "inv_tm_55667",
"product_id": "prod_tm_55667",
"variant_combination_sku": null,
"modifier_id": null,
"quantity": 42,
"is_in_stock": true,
"updated_at": "2025-10-16T11:20:05Z"
}{
"id": "inv_TSHIRT-S-RD",
"product_id": "prod_retail_tshirt",
"variant_combination_sku": "TSHIRT-S-RD",
"modifier_id": null,
"quantity": 25,
"is_in_stock": true,
"updated_at": "2025-10-18T10:00:00Z"
}{
"id": "inv_TSHIRT-M-BLU",
"product_id": "prod_retail_tshirt",
"variant_combination_sku": "TSHIRT-M-BLU",
"modifier_id": null,
"quantity": 0,
"is_in_stock": false,
"updated_at": "2025-10-18T10:05:00Z"
}{
"id": "inv_rbh_classic_burger_s",
"product_id": "prod_rbh_classic_burger",
"variant_combination_sku": "RBH-CLASSIC-S",
"modifier_id": null,
"quantity": null,
"is_in_stock": true,
"updated_at": "2025-10-15T22:15:00Z"
}{
"id": "inv_rbh_classic_burger_d",
"product_id": "prod_rbh_classic_burger",
"variant_combination_sku": "RBH-CLASSIC-D",
"modifier_id": null,
"quantity": null,
"is_in_stock": false,
"updated_at": "2025-10-18T19:30:00Z"
}{
"id": "inv_rbh_mod_jalapenos",
"product_id": "prod_rbh_classic_burger",
"variant_combination_sku": null,
"modifier_id": "mod_jalapenos",
"quantity": null,
"is_in_stock": false,
"updated_at": "2025-10-17T14:10:00Z"
}