From 78ba559d4f9c5007e9077460e05ba93eb6fedcb1 Mon Sep 17 00:00:00 2001 From: cond0r Date: Sat, 27 Mar 2021 20:35:32 +0200 Subject: [PATCH] Update types.ts --- framework/commerce/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/commerce/types.ts b/framework/commerce/types.ts index 88b104311..ccb8572aa 100644 --- a/framework/commerce/types.ts +++ b/framework/commerce/types.ts @@ -51,6 +51,8 @@ export type ProductVariant = { isInStock?: boolean // Indicates if the product variant is available for sale. availableForSale?: boolean + // The total sellable quantity of the variant for online sales channels. + quantityAvailable?: number // The variant's weight. If a weight was not explicitly specified on the // variant this will be the product's weight. weight?: Measurement