1 type: object
2 description: The price's details.
3 x-schemaName: StorePrice
4 required:
5 - id
6 - currency_code
7 - amount
8 - min_quantity
9 - max_quantity
10 properties:
11 id:
12 type: string
13 title: id
14 description: The price's ID.
15 currency_code:
16 type: string
17 title: currency_code
18 description: The price's ISO 2 currency code.
19 example: usd
20 amount:
21 type: number
22 title: amount
23 description: The price's amount.
24 min_quantity:
25 type: number
26 title: min_quantity
27 description: The minimum quantity required in the cart for the price to apply.
28 max_quantity:
29 type: number
30 title: max_quantity
31 description: The maximum quantity required in the cart for the price to apply.
32 price_rules:
33 type: array
34 description: The price's rules.
35 items:
36 $ref: ./StorePriceRule.yaml