docs: clarify prices are stored in major units (#13897)

* update package

* docs: clarify prices are stored in major units

* revert change

* revert change

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
This commit is contained in:
Shahed Nasserandadrien2p authored and GitHub committed 2025-10-31 13:29:37 +02:00
1 parent 38d486bec0
commit 3518ba1694
5 files changed
+8 -8

No files matched your search

@@ -10,7 +10,7 @@ In this guide, you’ll learn about the main concepts in the Pricing Module.
The [Price](/references/pricing/models/Price) data model represents a specific price for a resource. For example, the price of a product variant in the USD currency.
The `Price` data model has an `amount` property that represents the monetary value of the price. It's stored as an integer in base or major units. For example, `$20.00` is stored as `20`, and `$20.5` is stored as `20.5`.
The `Price` data model has an `amount` property that represents the monetary value of the price. It's stored as an integer in major units. For example, `$20.00` is stored as `20`, and `$20.5` is stored as `20.5`.
The `Price` data model belongs to other data models like `PriceSet` and `PriceList` to provide a variety of pricing features, as explained below.