1 type: object
2 description: The shipping option's calculated price.
3 x-schemaName: StoreCalculatedPrice
4 required:
5 - id
6 - calculated_amount
7 - original_amount
8 - original_amount_with_tax
9 - original_amount_without_tax
10 - currency_code
11 properties:
12 id:
13 type: string
14 title: id
15 description: The ID of the price set from which the price was selected.
16 is_calculated_price_price_list:
17 type: boolean
18 title: is_calculated_price_price_list
19 description: Whether the calculated price belongs to a price list.
20 is_calculated_price_tax_inclusive:
21 type: boolean
22 title: is_calculated_price_tax_inclusive
23 description: Whether the calculated price is tax inclusive.
24 externalDocs:
25 url: >-
26 https://docs.medusajs.com/resources/commerce-modules/pricing/tax-inclusive-pricing
27 calculated_amount:
28 type: number
29 title: calculated_amount
30 description: >-
31 The amount of the calculated price, or `null` if there isn't a calculated
32 price. This is the amount shown to the customer.
33 calculated_amount_with_tax:
34 type: number
35 title: calculated_amount_with_tax
36 description: The `calculated_amount` with taxes applied.
37 calculated_amount_without_tax:
38 type: number
39 title: calculated_amount_without_tax
40 description: The `calculated_amount` without taxes applied.
41 is_original_price_price_list:
42 type: boolean
43 title: is_original_price_price_list
44 description: Whether the original price belongs to a price list.
45 is_original_price_tax_inclusive:
46 type: boolean
47 title: is_original_price_tax_inclusive
48 description: Whether the original price is tax inclusive.
49 externalDocs:
50 url: >-
51 https://docs.medusajs.com/resources/commerce-modules/pricing/tax-inclusive-pricing
52 original_amount:
53 type: number
54 title: original_amount
55 description: >-
56 The amount of the original price, or `null` if there isn't an original
57 price. This amount is useful to compare with the `calculated_amount`, such
58 as to check for discounted value.
59 currency_code:
60 type: string
61 title: currency_code
62 description: >-
63 The currency code of the calculated price, or `null` if there isn't a
64 calculated price.
65 calculated_price:
66 type: object
67 description: The calculated price's details.
68 required:
69 - id
70 - price_list_id
71 - price_list_type
72 - min_quantity
73 - max_quantity
74 properties:
75 id:
76 type: string
77 title: id
78 description: The ID of the price.
79 price_list_id:
80 type: string
81 title: price_list_id
82 description: The ID of the associated price list.
83 price_list_type:
84 type: string
85 title: price_list_type
86 description: The price list's type. For example, `sale` or `override`.
87 min_quantity:
88 type: number
89 title: min_quantity
90 description: The minimum quantity required in the cart for the price to apply.
91 max_quantity:
92 type: number
93 title: max_quantity
94 description: The maximum quantity required in the cart for the price to apply.
95 original_price:
96 type: object
97 description: The origin price's details.
98 required:
99 - id
100 - price_list_id
101 - price_list_type
102 - min_quantity
103 - max_quantity
104 properties:
105 id:
106 type: string
107 title: id
108 description: The ID of the price.
109 price_list_id:
110 type: string
111 title: price_list_id
112 description: The ID of the associated price list.
113 price_list_type:
114 type: string
115 title: price_list_type
116 description: The price list's type. For example, `sale` or `override`.
117 min_quantity:
118 type: number
119 title: min_quantity
120 description: The minimum quantity required in the cart for the price to apply.
121 max_quantity:
122 type: number
123 title: max_quantity
124 description: The maximum quantity required in the cart for the price to apply.
125 original_amount_with_tax:
126 type: number
127 title: original_amount_with_tax
128 description: The original amount with taxes applied.
129 original_amount_without_tax:
130 type: number
131 title: original_amount_without_tax
132 description: The original amount without taxes.