Files
medusa-store/www/apps/api-reference/specs-v2/admin/components/schemas/AdminPostPromotionsPromotionRulesBatchUpdateReq.yaml
Shahed Nasser 4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00

39 lines
925 B
YAML

type: object
description: SUMMARY
x-schemaName: AdminPostPromotionsPromotionRulesBatchUpdateReq
required:
- rules
properties:
rules:
type: array
description: The promotion's rules.
items:
type: object
description: The rule's rules.
x-schemaName: UpdatePromotionRule
required:
- id
- attribute
- values
properties:
id:
type: string
title: id
description: The rule's ID.
operator: {}
description:
type: string
title: description
description: The rule's description.
attribute:
type: string
title: attribute
description: The rule's attribute.
values:
type: array
description: The rule's values.
items:
type: string
title: values
description: The value's values.