21 July 2025
GraphQLOrdersMessages/Subscriptions
You can now delete Recurring Orders that have been canceled or that are expired.
Changes:
- [API] Added Delete RecurringOrder by ID and Delete RecurringOrder by Key methods to the Recurring Orders API.
 - [API] Added the RecurringOrderDeleted Message.
 - [GraphQL API] Added the 
RecurringOrderDeletedtype to the GraphQL schema. - [GraphQL API] Added the 
deleteRecurringOrderfield to theMutationtype. 
The following changes were introduced in terms of GraphQL SDL:
extend type Mutation {
  "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
  deleteRecurringOrder(version: Long!, personalDataErasure: Boolean = false,
    "Queries with specified ID"
    id: String,
    "Queries with specified key"
    key: String): RecurringOrder
}
type RecurringOrderDeleted implements MessagePayload {
  recurringOrder: RecurringOrder!
  type: String!
}