Files
medusa-store/www/utils/generated/oas-output/schemas/AdminCreatePriceListPrice.ts
2025-10-31 16:15:46 +02:00

39 lines
1.0 KiB
TypeScript

/**
* @schema AdminCreatePriceListPrice
* type: object
* description: The details of a price to be created within a price list.
* required:
* - currency_code
* - amount
* - variant_id
* properties:
* currency_code:
* type: string
* title: currency_code
* description: The price's currency code.
* amount:
* type: number
* title: amount
* description: The price's amount.
* variant_id:
* type: string
* title: variant_id
* description: The ID of the product variant this price is for.
* min_quantity:
* type: number
* title: min_quantity
* description: The minimum quantity required in the cart for this price to be applied.
* max_quantity:
* type: number
* title: max_quantity
* description: The maximum quantity in the cart that shouldn't be crossed for this price to be applied.
* rules:
* type: object
* description: The price's rules.
* example:
* region_id: reg_123
* x-schemaName: AdminCreatePriceListPrice
*
*/