|
1
|
type: object |
|
2
|
description: The details of the shipping option's price. |
|
3
|
x-schemaName: AdminShippingOptionPrice |
|
4
|
required: |
|
5
|
- price_rules |
|
6
|
- rules_count |
|
7
|
- id |
|
8
|
- title |
|
9
|
- currency_code |
|
10
|
- amount |
|
11
|
- raw_amount |
|
12
|
- min_quantity |
|
13
|
- max_quantity |
|
14
|
- price_set_id |
|
15
|
- created_at |
|
16
|
- updated_at |
|
17
|
- deleted_at |
|
18
|
properties: |
|
19
|
price_rules: |
|
20
|
type: array |
|
21
|
description: The price's rules. |
|
22
|
items: |
|
23
|
$ref: ./AdminShippingOptionPriceRule.yaml |
|
24
|
rules_count: |
|
25
|
type: number |
|
26
|
title: rules_count |
|
27
|
description: The number of rules the price has. |
|
28
|
id: |
|
29
|
type: string |
|
30
|
title: id |
|
31
|
description: The price's ID. |
|
32
|
title: |
|
33
|
type: string |
|
34
|
title: title |
|
35
|
description: The price's title. |
|
36
|
currency_code: |
|
37
|
type: string |
|
38
|
title: currency_code |
|
39
|
description: The price's currency code. |
|
40
|
example: usd |
|
41
|
amount: |
|
42
|
type: number |
|
43
|
title: amount |
|
44
|
description: The price's amount. |
|
45
|
raw_amount: |
|
46
|
type: object |
|
47
|
description: The price's raw amount. |
|
48
|
min_quantity: |
|
49
|
type: number |
|
50
|
title: min_quantity |
|
51
|
description: The minimum quantity required in the cart for this price to apply. |
|
52
|
max_quantity: |
|
53
|
type: number |
|
54
|
title: max_quantity |
|
55
|
description: >- |
|
56
|
The maximum quantity that the cart's items must not surpass for this price |
|
57
|
to apply. |
|
58
|
price_set_id: |
|
59
|
type: string |
|
60
|
title: price_set_id |
|
61
|
description: The ID of the price set this price belongs to. |
|
62
|
created_at: |
|
63
|
type: string |
|
64
|
format: date-time |
|
65
|
title: created_at |
|
66
|
description: The date the price was created. |
|
67
|
updated_at: |
|
68
|
type: string |
|
69
|
format: date-time |
|
70
|
title: updated_at |
|
71
|
description: The date the price was updated. |
|
72
|
deleted_at: |
|
73
|
type: string |
|
74
|
format: date-time |
|
75
|
title: deleted_at |
|
76
|
description: The date the price was deleted. |