Sylius/tests/DataFixtures/ORM/resources/many_promotions.yml
tuka217 59bf2ce3bb [API] Create endpoints for promotions
[Documenation] Update api promotions documentation
2017-03-01 13:53:48 +01:00

16 lines
434 B
YAML

Sylius\Component\Core\Model\Promotion:
promotion_{3..5}:
code: "PR_<current()>"
name: "Sale <current()>"
couponBased: false
priority: <current()>
promotion_6:
code: "WEEKEND_PROMO"
name: "Weekend special"
couponBased: true
priority: 6
promotion_7:
code: "AUTUMNAL_PROMO"
name: "Autumnal special"
couponBased: true
priority: 7