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