Skip to content
cancelMembershipSubscriptionMutation
cancelMembershipSubscription(purchase: ID!, reason: String): CancelMembershipSubscriptionResult!

Schedule a membership subscription to cancel at the end of the current billing period.

Arguments

purchaseID!
reasonString

Optional freeform reason the buyer gave for cancelling, captured for product feedback. Not surfaced back to the buyer.

Returns

CancelMembershipSubscriptionResult!

See CancelMembershipSubscriptionResult for the full shape.

Try it

Example
Query
mutation CancelMembershipSubscription($purchase: ID!, $reason: String) {
  cancelMembershipSubscription(purchase: $purchase, reason: $reason) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
cancelMembershipSubscription