AdminUpsertCondition
The attributes to create or update in the discount condition.
Properties
The discount condition's operator.
id
stringThe discount condition's ID.
products
string[]The products associated with the discount condition, if the discount condition's type is
products
.product_collections
string[]The product collections associated with the discount condition, if the discount condition's type is
product_collections
.product_types
string[]The product types associated with the discount condition, if the discount condition's type is
product_types
.product_tags
string[]The product tags associated with the discount condition, if the discount condition's type is
product_tags
.customer_groups
string[]The customer groups associated with the discount condition, if the discount condition's type is
customer_groups
.Was this section helpful?