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