chore(docs): Updated API Reference (v2) (#9148)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-09-18 07:13:51 +00:00
committed by GitHub
parent a63f6910d0
commit 56ee4d6aad
254 changed files with 6349 additions and 5461 deletions

View File

@@ -1,5 +1,5 @@
type: object
description: The rule's rules.
description: The details of the shipping option rule.
x-schemaName: AdminCreateShippingOptionRule
required:
- operator
@@ -8,7 +8,7 @@ required:
properties:
operator:
type: string
description: The rule's operator.
description: The operator used to check whether a rule applies.
enum:
- gt
- lt
@@ -21,15 +21,18 @@ properties:
attribute:
type: string
title: attribute
description: The rule's attribute.
description: The name of a property or table that the rule applies to.
example: customer_group
value:
oneOf:
- type: string
title: value
description: The rule's value.
description: A value of the attribute that enables this rule.
example: cusgroup_123
- type: array
description: The rule's value.
description: Values of the attribute that enable this rule.
items:
type: string
title: value
description: The value's details.
description: A value of the attribute that enables this rule.
example: cusgroup_123