AdminPostDiscountsDiscountConditions
admin/discounts.internal.AdminPostDiscountsDiscountConditions
Schema
AdminPostDiscountsDiscountConditions type: object required:
- operator
properties:
operator:
description: "Operator of the condition.
inindicates that discountable resources are within the specified resources.not_inindicates that discountable resources are everything but the specified resources." type: string enum: [in, not_in] products: type: array description: list of product IDs if the condition's type isproducts. items: type: string product_types: type: array description: list of product type IDs if the condition's type isproduct_types. items: type: string product_collections: type: array description: list of product collection IDs if the condition's type isproduct_collections. items: type: string product_tags: type: array description: list of product tag IDs if the condition's type isproduct_tags. items: type: string customer_groups: type: array description: list of customer group IDs if the condition's type iscustomer_groups. items: type: string
Properties
customer_groupsstring[]product_collectionsstring[]product_tagsstring[]product_typesstring[]productsstring[]Was this section helpful?