1 {"slug":"/references/promotion/interfaces/promotion.CreatePromotionRuleDTO","title":"CreatePromotionRuleDTO","frontmatter":{"displayed_sidebar":"promotionReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The promotion rule to be created."},{"kind":"typeList","sectionTitle":"CreatePromotionRuleDTO","types":[{"name":"description","type":"`null` \\| `string`","description":"The description of the promotion rule.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the promotion rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[PromotionRuleOperatorValues](/references/promotion/types/promotion.PromotionRuleOperatorValues)","description":"The operator of the promotion rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string` \\| `string`[]","description":"The values of the promotion rule.\nWhen provided, `PromotionRuleValue` records are\ncreated and associated with the promotion rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}