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,39 +1,27 @@
|
||||
type: object
|
||||
description: The attribute's attributes.
|
||||
description: The details of a potential rule attribute.
|
||||
x-schemaName: AdminRuleAttributeOption
|
||||
required:
|
||||
- id
|
||||
- value
|
||||
- label
|
||||
- field_type
|
||||
- required
|
||||
- disguised
|
||||
- operators
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
title: id
|
||||
description: The attribute's ID.
|
||||
description: The rule attribute's ID, which is a rule's `attribute` it refers to.
|
||||
example: customer_group
|
||||
value:
|
||||
type: string
|
||||
title: value
|
||||
description: The attribute's value.
|
||||
description: The rule attribute's value.
|
||||
example: customer.groups.id
|
||||
label:
|
||||
type: string
|
||||
title: label
|
||||
description: The attribute's label.
|
||||
field_type:
|
||||
type: string
|
||||
title: field_type
|
||||
description: The attribute's field type.
|
||||
required:
|
||||
type: boolean
|
||||
title: required
|
||||
description: The attribute's required.
|
||||
disguised:
|
||||
type: boolean
|
||||
title: disguised
|
||||
description: The attribute's disguised.
|
||||
description: The rule attribute option's label.
|
||||
example: Customer Group
|
||||
operators:
|
||||
type: array
|
||||
description: The attribute's operators.
|
||||
|
||||
Reference in New Issue
Block a user