docs: generate pricing module reference (#5349)

* docs: generate pricing module reference

* added notes about new configurations
This commit is contained in:
Shahed Nasser
2023-10-11 14:08:19 +03:00
committed by GitHub
parent 9c1c19f409
commit f0af8ecc89
110 changed files with 7170 additions and 146 deletions

View File

@@ -0,0 +1,31 @@
---
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](https://github.com/medusajs/medusa/blob/daea35fe73/packages/types/src/pricing/common/price-set.ts#L81)
___
### 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](https://github.com/medusajs/medusa/blob/daea35fe73/packages/types/src/pricing/common/price-set.ts#L82)