Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminPromotionRule.yaml
github-actions[bot] b23ddcdde8 chore(docs): Updated API Reference (v2) (#8609)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-15 14:31:35 +00:00

35 lines
622 B
YAML

type: object
description: The updated's details.
x-schemaName: AdminPromotionRule
required:
- id
- values
properties:
id:
type: string
title: id
description: The updated's ID.
description:
type: string
title: description
description: The updated's description.
attribute:
type: string
title: attribute
description: The updated's attribute.
operator:
type: string
enum:
- gt
- lt
- eq
- ne
- in
- lte
- gte
values:
type: array
description: The updated's values.
items:
$ref: ./BasePromotionRuleValue.yaml