AdminPostDiscountsDiscountConditions
Fields to create or update a discount condition.
constructor
Properties
customer_groups
string[]The customer groups associated with the discount condition, if the discount condition's type is
customer_groups
.Operator of the condition. in
indicates that discountable resources are within the specified resources. not\_in
indicates that discountable resources are everything but the specified resources.
in
indicates that discountable resources are within the specified resources. not\_in
indicates that discountable resources are everything but the specified resources.product_collections
string[]The product collections associated with the discount condition, if the discount condition's type is
product_collections
.product_tags
string[]The product tags associated with the discount condition, if the discount condition's type is
product_tags
.product_types
string[]The product types associated with the discount condition, if the discount condition's type is
product_types
.products
string[]The products associated with the discount condition, if the discount condition's type is
products
.Was this section helpful?