34 lines
893 B
TypeScript
34 lines
893 B
TypeScript
/**
|
|
* @schema AdminCreateProductVariantPrice
|
|
* type: object
|
|
* description: The details of a variant's price.
|
|
* x-schemaName: AdminCreateProductVariantPrice
|
|
* required:
|
|
* - currency_code
|
|
* - amount
|
|
* properties:
|
|
* currency_code:
|
|
* type: string
|
|
* title: currency_code
|
|
* description: The price's currency code.
|
|
* amount:
|
|
* type: number
|
|
* title: amount
|
|
* description: The price's amount.
|
|
* min_quantity:
|
|
* type: number
|
|
* title: min_quantity
|
|
* description: The minimum quantity that must be available in the cart for this price to apply.
|
|
* max_quantity:
|
|
* type: number
|
|
* title: max_quantity
|
|
* description: The maximum quantity that must not be surpassed in the cart for this price to apply.
|
|
* rules:
|
|
* type: object
|
|
* description: The price's rules.
|
|
* example:
|
|
* region_id: reg_123
|
|
*
|
|
*/
|
|
|