Files
medusa-store/docs/api/admin/components/schemas/AdminPostDiscountsDiscountConditions.yaml
2022-12-22 17:09:49 +02:00

38 lines
932 B
YAML

type: object
required:
- operator
properties:
operator:
description: Operator of the condition
type: string
enum:
- in
- not_in
products:
type: array
description: list of product IDs if the condition is applied on products.
items:
type: string
product_types:
type: array
description: list of product type IDs if the condition is applied on product types.
items:
type: string
product_collections:
type: array
description: >-
list of product collection IDs if the condition is applied on product
collections.
items:
type: string
product_tags:
type: array
description: list of product tag IDs if the condition is applied on product tags.
items:
type: string
customer_groups:
type: array
description: list of customer group IDs if the condition is applied on customer groups.
items:
type: string