chore(docs): Updated API Reference (v2) (#9437)
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>
This commit is contained in:
committed by
GitHub
parent
97c193be1b
commit
21badd069d
@@ -1,5 +1,5 @@
|
||||
type: object
|
||||
description: The updated's details.
|
||||
description: The promotion rule's details.
|
||||
x-schemaName: AdminPromotionRule
|
||||
required:
|
||||
- id
|
||||
@@ -8,18 +8,19 @@ properties:
|
||||
id:
|
||||
type: string
|
||||
title: id
|
||||
description: The updated's ID.
|
||||
description: The promotion rule's ID.
|
||||
description:
|
||||
type: string
|
||||
title: description
|
||||
description: The updated's description.
|
||||
description: The promotion rule's description.
|
||||
attribute:
|
||||
type: string
|
||||
title: attribute
|
||||
description: The updated's attribute.
|
||||
description: The promotion rule's attribute.
|
||||
example: customer_group_id
|
||||
operator:
|
||||
type: string
|
||||
description: The updated's operator.
|
||||
description: The rule's operator.
|
||||
enum:
|
||||
- gt
|
||||
- lt
|
||||
@@ -30,6 +31,8 @@ properties:
|
||||
- gte
|
||||
values:
|
||||
type: array
|
||||
description: The updated's values.
|
||||
description: The rule's values.
|
||||
example:
|
||||
- cusgroup_123
|
||||
items:
|
||||
$ref: ./BasePromotionRuleValue.yaml
|
||||
|
||||
Reference in New Issue
Block a user