Files
medusa-store/www/apps/docs/content/references/pricing/interfaces/UpdateMoneyAmountDTO.mdx
github-actions[bot] 0ffa48b07f chore(docs): Generated Pricing Module Reference (#5432)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-20 12:08:59 +00:00

57 lines
1.3 KiB
Plaintext

---
displayed_sidebar: pricingReference
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# UpdateMoneyAmountDTO
*
The data to update in a money amount. The `id` is used to identify which money amount to update.
## Properties
<ParameterTypes parameters={[
{
"name": "amount",
"type": "`number`",
"description": "The price of this money amount.",
"optional": true,
"defaultValue": "",
"children": []
},
{
"name": "currency_code",
"type": "`string`",
"description": "The code of the currency to associate with the money amount.",
"optional": true,
"defaultValue": "",
"children": []
},
{
"name": "id",
"type": "`string`",
"description": "The ID of the money amount to update.",
"optional": false,
"defaultValue": "",
"children": []
},
{
"name": "max_quantity",
"type": "`number`",
"description": "The maximum quantity required to be purchased for this money amount to be applied.",
"optional": true,
"defaultValue": "",
"children": []
},
{
"name": "min_quantity",
"type": "`number`",
"description": "The minimum quantity required to be purchased for this money amount to be applied.",
"optional": true,
"defaultValue": "",
"children": []
}
]} />