|
1
|
type: object |
|
2
|
description: The shipping option rule's details. |
|
3
|
x-schemaName: AdminShippingOptionRule |
|
4
|
required: |
|
5
|
- id |
|
6
|
- attribute |
|
7
|
- operator |
|
8
|
- value |
|
9
|
- shipping_option_id |
|
10
|
- created_at |
|
11
|
- updated_at |
|
12
|
- deleted_at |
|
13
|
properties: |
|
14
|
id: |
|
15
|
type: string |
|
16
|
title: id |
|
17
|
description: The shipping option rule's ID. |
|
18
|
attribute: |
|
19
|
type: string |
|
20
|
title: attribute |
|
21
|
description: The shipping option rule's attribute. |
|
22
|
example: is_return |
|
23
|
operator: |
|
24
|
type: string |
|
25
|
description: The rule's operator. |
|
26
|
enum: |
|
27
|
- gt |
|
28
|
- lt |
|
29
|
- eq |
|
30
|
- ne |
|
31
|
- in |
|
32
|
- lte |
|
33
|
- gte |
|
34
|
- nin |
|
35
|
value: |
|
36
|
oneOf: |
|
37
|
- type: string |
|
38
|
title: value |
|
39
|
description: The shipping option rule's value. |
|
40
|
example: 'true' |
|
41
|
- type: array |
|
42
|
description: The shipping option rule's values. |
|
43
|
items: |
|
44
|
type: string |
|
45
|
title: value |
|
46
|
description: A value of the shipping option rule. |
|
47
|
example: 'true' |
|
48
|
shipping_option_id: |
|
49
|
type: string |
|
50
|
title: shipping_option_id |
|
51
|
description: The ID of the shipping option this rule is for. |
|
52
|
created_at: |
|
53
|
type: string |
|
54
|
format: date-time |
|
55
|
title: created_at |
|
56
|
description: The date the shipping option rule was created. |
|
57
|
updated_at: |
|
58
|
type: string |
|
59
|
format: date-time |
|
60
|
title: updated_at |
|
61
|
description: The date the shipping option rule was updated. |
|
62
|
deleted_at: |
|
63
|
type: string |
|
64
|
format: date-time |
|
65
|
title: deleted_at |
|
66
|
description: The date the shipping option rule was deleted. |