All Release Notes

Added setValidFromAndUntil to cart discounts and discount codes

28 August 2018
Enhancement
CartsGraphQLPricing

It is now possible to set the validFrom and validUntil values for CartDiscounts and DiscountCode in the same update action. We also added support for these update actions to the GraphQL API.

  • [API] Added update action Set Valid From and Until.
  • [API] Added update action Set Valid From and Until.
  • [GraphQL API] Added CartDiscountUpdateAction.setValidFromAndUntil.
  • [GraphQL API] Added DiscountCodeUpdateAction.setValidFromAndUntil.
Copyright © 2021 commercetools