Files
medusa-store/www/utils/generated/oas-output/schemas/StorePrice.ts
github-actions[bot] a5ed061d6c chore(docs): Updated API Reference (automated) (#10531)
* chore(docs): Generated API Reference (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-12-10 17:57:32 +01:00

42 lines
992 B
TypeScript

/**
* @schema StorePrice
* type: object
* description: The price's details.
* x-schemaName: StorePrice
* required:
* - id
* - currency_code
* - amount
* - min_quantity
* - max_quantity
* properties:
* id:
* type: string
* title: id
* description: The price's ID.
* currency_code:
* type: string
* title: currency_code
* description: The price's ISO 2 currency code.
* example: usd
* amount:
* type: number
* title: amount
* description: The price's amount.
* min_quantity:
* type: number
* title: min_quantity
* description: The minimum quantity required in the cart for the price to apply.
* max_quantity:
* type: number
* title: max_quantity
* description: The maximum quantity required in the cart for the price to apply.
* price_rules:
* type: array
* description: The price's rules.
* items:
* $ref: "#/components/schemas/StorePriceRule"
*
*/