28 July 2025
OrdersMessages/Subscriptions
You can now set an expiration date for Recurring Orders. This enhancement helps automate order lifecycle management and ensures orders do not persist beyond their intended period.
Changes:
- [API] Updated the following in the Recurring Orders API:
- Added the Set Expires At update action.
- Added the
expiresAt
field to the RecurringOrderDraft type.
- [API] Added the RecurringOrderExpiresAtSet Message to the Recurring Order Messages Type.
- [GraphQL API] Added the
setExpiresAt
input field to theRecurringOrderUpdateAction
type. - [GraphQL API] Added the following types to the GraphQL schema:
SetRecurringOrderExpiresAt
,RecurringOrderExpiresAtSet
The following changes were introduced in terms of GraphQL SDL:
extend input RecurringOrderUpdateAction {
setExpiresAt: SetRecurringOrderExpiresAt
}
type RecurringOrderExpiresAtSet implements MessagePayload {
newExpiresAt: DateTime
oldExpiresAt: DateTime
type: String!
}
input SetRecurringOrderExpiresAt {
expiresAt: DateTime
}