27 August 2025
Pricing and DiscountsMessages/SubscriptionsGraphQL
You can now activate or deactivate a Discount Group in a Project. This enhancement lets you manage temporary promotions efficiently without deleting the Discount Group or reconfiguring Cart Discounts in a Project.
Changes:
- [API] Updated the following in the Discount Groups API:
- Added the 
isActivefield to DiscountGroup and DiscountGroupDraft types. - Added the Set IsActive update action.
 
 - Added the 
 - [API] Added the MaxDiscountGroupsReached error for Discount Groups.
 - [API] Added the DiscountGroupIsActiveSet Message for Discount Groups.
 - [GraphQL API] Added the 
isActivefield to theDiscountGrouptype. - [GraphQL API] Added the 
isActiveinput field to theDiscountGroupDrafttype. - [GraphQL API] Added the 
setIsActiveinput field to theDiscountGroupUpdateActiontype. - [GraphQL API] Added the 
DiscountGroupIsActiveSettype. 
The following changes were introduced in terms of GraphQL SDL:
extend type DiscountGroup {
  isActive: Boolean!
}
extend input DiscountGroupUpdateAction {
  setIsActive: SetDiscountGroupIsActive
}
extend input DiscountGroupDraft {
  isActive: Boolean = true
}
type DiscountGroupIsActiveSet implements MessagePayload {
  isActive: Boolean!
  discountGroupId: String!
  type: String!
}
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetDiscountGroupIsActive {
  isActive: Boolean!
}