Skip to main content
Skip to main content

AdminPostDiscountsDiscountConditions

Fields to create or update a discount condition.

Properties

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.
productsstring[]
The products associated with the discount condition, if the discount condition's type is products.
product_collectionsstring[]
The product collections associated with the discount condition, if the discount condition's type is product_collections.
product_typesstring[]
The product types associated with the discount condition, if the discount condition's type is product_types.
product_tagsstring[]
The product tags associated with the discount condition, if the discount condition's type is product_tags.
customer_groupsstring[]
The customer groups associated with the discount condition, if the discount condition's type is customer_groups.
Was this section helpful?