Files
medusa-store/www/apps/docs/content/references/pricing/interfaces/AddRulesDTO.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

31 lines
677 B
Plaintext

---
displayed_sidebar: pricingReference
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# AddRulesDTO
The rules to add to a price set.
## Properties
<ParameterTypes parameters={[
{
"name": "priceSetId",
"type": "`string`",
"description": "The ID of the price set to add the rules to.",
"optional": false,
"defaultValue": "",
"children": []
},
{
"name": "rules",
"type": "{ `attribute`: `string` }[]",
"description": "The rules to add to a price set. The value of `attribute` is the value of the rule's `rule_attribute` attribute.",
"optional": false,
"defaultValue": "",
"children": []
}
]} />