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

# Subscription Schedules

> Every subscription-schedules command in the Flexprice CLI, with flags, required fields and examples.

## cancel

Cancel subscription schedule

| Flag                | Type   | Required | Description                                                                                                     |
| ------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------- |
| `--schedule_id`     | string |          | schedule\_id is the ID of the schedule to cancel (optional if subscription\_id and schedule\_type are provided) |
| `--schedule_type`   | string |          |                                                                                                                 |
| `--subscription_id` | string |          | subscription\_id is the ID of the subscription (required if schedule\_id is not provided)                       |

```sh theme={null}
flexprice subscription-schedules cancel
```

## list

List all subscription schedules

```sh theme={null}
flexprice subscription-schedules list
```

## list-for-subscription

List subscription schedules

```sh theme={null}
flexprice subscription-schedules list-for-subscription
```

## retrieve

Get subscription schedule

```sh theme={null}
flexprice subscription-schedules retrieve
```
