1 type: object
2 description: The details of a variant's price.
3 x-schemaName: AdminCreateProductVariantPrice
4 required:
5 - currency_code
6 - amount
7 properties:
8 currency_code:
9 type: string
10 title: currency_code
11 description: The price's currency code.
12 amount:
13 type: number
14 title: amount
15 description: The price's amount.
16 min_quantity:
17 type: number
18 title: min_quantity
19 description: >-
20 The minimum quantity that must be available in the cart for this price to
21 apply.
22 max_quantity:
23 type: number
24 title: max_quantity
25 description: >-
26 The maximum quantity that must not be surpassed in the cart for this price
27 to apply.
28 rules:
29 type: object
30 description: The price's rules.
31 example:
32 region_id: reg_123