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
@@ -0,0 +1,43 @@
|
||||
type: object
|
||||
description: The properties to update in the shipping option rule.
|
||||
required:
|
||||
- id
|
||||
- operator
|
||||
- attribute
|
||||
- value
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
title: id
|
||||
description: The rule's ID.
|
||||
operator:
|
||||
type: string
|
||||
description: The operator used to check whether a rule applies.
|
||||
enum:
|
||||
- in
|
||||
- eq
|
||||
- ne
|
||||
- gt
|
||||
- gte
|
||||
- lt
|
||||
- lte
|
||||
- nin
|
||||
attribute:
|
||||
type: string
|
||||
title: attribute
|
||||
description: The name of a property or table that the rule applies to.
|
||||
example: customer_group
|
||||
value:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: value
|
||||
description: A value of the attribute that enables this rule.
|
||||
example: cusgroup_123
|
||||
- type: array
|
||||
description: Values of the attribute that enable this rule.
|
||||
items:
|
||||
type: string
|
||||
title: value
|
||||
description: A value of the attribute that enables this rule.
|
||||
example: cusgroup_123
|
||||
x-schemaName: AdminUpdateShippingOptionRule
|
||||
Reference in New Issue
Block a user