Files
medusa-store/www/apps/docs/content/references/pricing/interfaces/AddRulesDTO.md
Shahed Nasser f0af8ecc89 docs: generate pricing module reference (#5349)
* docs: generate pricing module reference

* added notes about new configurations
2023-10-11 14:08:19 +03:00

790 B

displayed_sidebar
displayed_sidebar
pricingReference

AddRulesDTO

An object used to specify the rules to add to a price set.

Properties

priceSetId

priceSetId: string

A string indicating the ID of the price set to add the rules to.

Defined in

packages/types/src/pricing/common/price-set.ts:81


rules

rules: { attribute: string }[]

An array of objects, each object holds a property attribute, with its value being the rule_attribute of the rule to add to the price set.

Defined in

packages/types/src/pricing/common/price-set.ts:82