ProductVariantInventoryPolicy enum

Version 2020-04 (Release candidate)

The inventory policy for a product variant controls whether customers can continue to buy the variant when it is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. When the value is deny, customers can't buy the variant when it's out of stock.

Values

CONTINUE

Continue selling a product variant when it is out of stock.

DENY

Stop selling a product variant when it is out of stock.

Types that return ProductVariantInventoryPolicy

Version 2020-01 (Latest)

The inventory policy for a product variant controls whether customers can continue to buy the variant when it is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. When the value is deny, customers can't buy the variant when it's out of stock.

Values

CONTINUE

Continue selling a product variant when it is out of stock.

DENY

Stop selling a product variant when it is out of stock.

Types that return ProductVariantInventoryPolicy

Version 2019-10

The inventory policy for a product variant controls whether customers can continue to buy the variant when it is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. When the value is deny, customers can't buy the variant when it's out of stock.

Values

CONTINUE

Continue selling a product variant when it is out of stock.

DENY

Stop selling a product variant when it is out of stock.

Types that return ProductVariantInventoryPolicy

Version 2019-07

The inventory policy for a product variant controls whether customers can continue to buy the variant when it is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. When the value is deny, customers can't buy the variant when it's out of stock.

Values

CONTINUE

Continue selling a product variant when it is out of stock.

DENY

Stop selling a product variant when it is out of stock.

Types that return ProductVariantInventoryPolicy

Version 2019-04

The inventory policy for a product variant controls whether customers can continue to buy the variant when it is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. When the value is deny, customers can't buy the variant when it's out of stock.

Values

CONTINUE

Continue selling a product variant when it is out of stock.

DENY

Stop selling a product variant when it is out of stock.

Types that return ProductVariantInventoryPolicy