productPurchasable

Arguments

storeHashStringOptional
Store hash.
productIdIntegerOptional
Product ID.
skuStringOptional
Variant sku
isProductBooleanOptional
Is product or variant

Returns

an optional Object
availabilityString
The availability of product
inventoryLevelInteger
The inventory level of product
inventoryTrackingString
The inventory tracking of product
purchasingDisabledBoolean
The purchasing disabled of variant
availableToSellInteger
Total available quantity for a product
unlimitedBackorderBoolean
Indicate if the product has unlimited backorder