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.

Show definition
"""
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.
"""
enum ProductVariantInventoryPolicy {
  CONTINUE
  DENY
}

Values

CONTINUE
DENY
Version 2019-07 (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.

Show definition
"""
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.
"""
enum ProductVariantInventoryPolicy {
  CONTINUE
  DENY
}

Values

CONTINUE
DENY
Version 2019-10 (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.

Show definition
"""
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.
"""
enum ProductVariantInventoryPolicy {
  CONTINUE
  DENY
}

Values

CONTINUE
DENY

Sign up for a Partner account to get started.

Sign up