patch

PATCH /v2/ecommerceSubscriptions/{id}/cancel — Cancel subscription

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Initiates cancellation of an ecommerce subscription. This sets the subscription's status to pending-cancel and its schedule.endDate to now — it does not immediately transition the subscription to a final cancelled state.

Response 200

{
  "success": true,
  "message": "Subscription cancellation initiated successfully",
  "data": {
    "id": "sub::abc123",
    "status": "pending-cancel"
  }
}

Required role

Affiliate token required

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!