You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend PromotionRule withgiftsLimit - will define the maximum number of gifts to choose from the gifts list. For now, we will always return 1, and it won't be configurable for now
Extend RewardTypeEnum with GIFT
Extend OrderLine and CheckoutLine with isGift flag
Consider adding filter for getting lines that are gifts
Part of #15075
API changes
Mutations
gifts
fieldpromotionCreate
,PromotionRuleCreate
,promotionRuleUpdate
:gifts
field when theGIFT
reward type is chosenrewardValueType
,rewardValue
,rewardPredicate
should be empty - raise anValidationError
otherwisegifts
field - the provided IDs must be theProductVariant
idsCheckoutLinesUpdate
- don't allow to update quantity of lines marked as gift lineOrderLineUpdate
- don't allow to update quantity of lines marked as gift linecheckoutLineDelete
andCheckoutLinesDelete
- do not allow deleting gift linesTypes
PromotionRule
withgiftIds
PromotionRule
withgiftsLimit
- will define the maximum number of gifts to choose from the gifts list. For now, we will always return 1, and it won't be configurable for nowRewardTypeEnum
with GIFTOrderLine
andCheckoutLine
withisGift
flagThe text was updated successfully, but these errors were encountered: