Update types.ts

This commit is contained in:
cond0r 2021-03-27 20:35:32 +02:00
parent c2e5eb8501
commit 78ba559d4f

View File

@ -51,6 +51,8 @@ export type ProductVariant = {
isInStock?: boolean isInStock?: boolean
// Indicates if the product variant is available for sale. // Indicates if the product variant is available for sale.
availableForSale?: boolean 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 // The variant's weight. If a weight was not explicitly specified on the
// variant this will be the product's weight. // variant this will be the product's weight.
weight?: Measurement weight?: Measurement