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

# Cancel a label

<Warning>
  This page applies to v2 of the Sendcloud API and is no longer maintained. To learn more about switching to API v3,
  read our [migration guide](/docs/getting-started/migration-guidelines-for-api-v3#parcels/shipments).
</Warning>

It's possible to create labels in Sendcloud and then cancel them before the carrier deadline. This is good to know for [testing purposes](/docs/getting-started/test-labels/), in particular when you want to test creating return parcels.

<Tip>
  In most cases, you will not be charged for labels which are **not shipped** and cancelled before 23:59 on the **day of
  creation**.
</Tip>

## Conditions for label cancellation

It's not always possible to cancel a label which is already announced. As a result, cancellation is not guaranteed and may be asynchronous depending on the state of the parcel.

<Warning>
  Each carrier will have different cancellation deadlines. Some carriers do not accept cancellation requests regardless
  of whether or not the label is cancelled within the deadline. You can find out more about cancellation deadlines and
  supporting carriers in our [help
  center](https://support.sendcloud.com/hc/en-us/articles/360025143991-How-do-I-cancel-my-shipment-).
</Warning>

## How to cancel or delete a label

Labels can be cancelled or deleted from the Sendcloud platform or via the API.

To cancel a label, make a request to the [Cancel/Delete a parcel endpoint](/api/v2/parcels/cancel-a-parcel) and specify the parcel `id` as the path parameter for the `POST`request to `https://panel.sendcloud.sc/api/v2/parcels/{id}/cancel`

If the parcel already had a shipping label, it will be cancelled but it will still be in the Sendcloud system under the original parcel `id`. In the Sendcloud platform, it will appear in the **Cancelled labels** tab.

```json Example response for a cancelled label theme={null}
{
  "status": "cancelled",
  "message": "Parcel has been cancelled"
}
```

If the parcel did not have a shipping label attached to it, and was not yet announced with the carrier, then the parcel object will be **deleted**. You will need to create the parcel again if you want to announce it at a later date.

```json Example response for a deleted label theme={null}
{
  "status": "deleted",
  "message": "Parcel has been deleted"
}
```

## Information about cancelled labels

* If you don't manage to cancel a label within the deadline, don't worry. You'll be charged for the label, but if you **cancel it within 42 days** and it remains unshipped, the cost will automatically be reimbursed on your next invoice.
* When the cost for a label is deducted, it will be clearly stated on your invoice. For more information see the [help center](https://support.sendcloud.com/hc/en-us/articles/360025144511-How-undelivered-shipments-appear-on-your-invoice).
