Skip to main content
Skip to main content

AdminUpsertCondition

The attributes to create or update in the discount condition.

constructor


Properties

customer_groupsstring[]
The customer groups associated with the discount condition, if the discount condition's type is customer_groups.
idstring
The discount condition's ID.
The discount condition's operator.
product_collectionsstring[]
The product collections associated with the discount condition, if the discount condition's type is product_collections.
product_tagsstring[]
The product tags associated with the discount condition, if the discount condition's type is product_tags.
product_typesstring[]
The product types associated with the discount condition, if the discount condition's type is product_types.
productsstring[]
The products associated with the discount condition, if the discount condition's type is products.
Was this section helpful?