> ## Documentation Index
> Fetch the complete documentation index at: https://commet.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# subscription.updated

> Fired when subscription details change, including when a cancellation is scheduled.

## Detecting scheduled cancellation

When a customer cancels, `subscription.updated` fires with `status: "active"` but `canceledAt` and `endDate` set. This tells you the subscription is still usable but ending soon. Show a notice like "your subscription will end on \{endDate}" in your UI.

Access should only be revoked when you receive `subscription.canceled` (status: `"canceled"`).


## OpenAPI

````yaml /openapi/en/webhooks/2026-08-27.json webhook subscription.updated
openapi: 3.1.0
info:
  title: Commet Webhooks
  version: '2026-08-27'
  description: >-
    Outbound webhook events emitted by the Commet API. Each event is delivered
    as a signed POST to your configured endpoints.
servers: []
security: []
paths: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.