1 type: object
2 description: The details of a price to be created within a price list.
3 required:
4 - currency_code
5 - amount
6 - variant_id
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 variant_id:
17 type: string
18 title: variant_id
19 description: The ID of the product variant this price is for.
20 min_quantity:
21 type: number
22 title: min_quantity
23 description: The minimum quantity required in the cart for this price to be applied.
24 max_quantity:
25 type: number
26 title: max_quantity
27 description: >-
28 The maximum quantity in the cart that shouldn't be crossed for this price
29 to be applied.
30 rules:
31 type: object
32 description: The price's rules.
33 example:
34 region_id: reg_123
35 x-schemaName: AdminCreatePriceListPrice