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

993 B

displayed_sidebar
displayed_sidebar
pricingReference

CreatePriceSetDTO

An object of expected properties when creating a price set.

Properties

prices

Optional prices: CreatePricesDTO[]

An array of objects of type CreatePricesDTO, each being a price to associate with the price set.

Defined in

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


rules

Optional rules: { rule_attribute: string }[]

An array of objects, each object accepts a property rule_attribute, whose value is a string indicating the rule_attribute value of a rule type. This property is used to specify the rule types associated with the price set.

Defined in

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