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