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

2.2 KiB

displayed_sidebar
displayed_sidebar
pricingReference

UpdatePriceRuleDTO

An object used to specify the necessary data to update a price rule.

Properties

id

id: string

A string indicating the ID of the price rule to update.

Defined in

packages/types/src/pricing/common/price-rule.ts:75


price_list_id

Optional price_list_id: string

A string indicating the ID of the associated price list.

Defined in

packages/types/src/pricing/common/price-rule.ts:88


price_set_id

Optional price_set_id: string

A string indicating the ID of the associated price set.

Defined in

packages/types/src/pricing/common/price-rule.ts:76


price_set_money_amount_id

Optional price_set_money_amount_id: string

A string indicating the ID of the associated price set money amount.

Defined in

packages/types/src/pricing/common/price-rule.ts:87


priority

Optional priority: number

A number indicating the priority of the price rule in comparison to other applicable price rules.

Defined in

packages/types/src/pricing/common/price-rule.ts:86


rule_type_id

Optional rule_type_id: string

A string indicating the ID of the associated rule type.

Defined in

packages/types/src/pricing/common/price-rule.ts:77


value

Optional value: string

A string indicating the value of the price rule.

Defined in

packages/types/src/pricing/common/price-rule.ts:85