|
1
|
type: object |
|
2
|
description: The properties to update in the shipping option rule. |
|
3
|
x-schemaName: AdminUpdateShippingOptionRule |
|
4
|
required: |
|
5
|
- id |
|
6
|
- operator |
|
7
|
- attribute |
|
8
|
- value |
|
9
|
properties: |
|
10
|
id: |
|
11
|
type: string |
|
12
|
title: id |
|
13
|
description: The rule's ID. |
|
14
|
operator: |
|
15
|
type: string |
|
16
|
description: The operator used to check whether a rule applies. |
|
17
|
enum: |
|
18
|
- gt |
|
19
|
- lt |
|
20
|
- eq |
|
21
|
- ne |
|
22
|
- in |
|
23
|
- lte |
|
24
|
- gte |
|
25
|
- nin |
|
26
|
attribute: |
|
27
|
type: string |
|
28
|
title: attribute |
|
29
|
description: The name of a property or table that the rule applies to. |
|
30
|
example: customer_group |
|
31
|
value: |
|
32
|
oneOf: |
|
33
|
- type: string |
|
34
|
title: value |
|
35
|
description: A value of the attribute that enables this rule. |
|
36
|
example: cusgroup_123 |
|
37
|
- type: array |
|
38
|
description: Values of the attribute that enable this rule. |
|
39
|
items: |
|
40
|
type: string |
|
41
|
title: value |
|
42
|
description: A value of the attribute that enables this rule. |
|
43
|
example: cusgroup_123 |