AdminPostDiscountsDiscountConditions
admin/discounts.internal.AdminPostDiscountsDiscountConditions
Schema
AdminPostDiscountsDiscountConditions type: object required:
- operator
properties:
operator:
description: "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." 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_groups
string[]product_collections
string[]product_tags
string[]product_types
string[]products
string[]Was this section helpful?