---
title: "Delete an order asynchronously"
method: DELETE
path: "/v1/async/orders/{orderNumber}"
tags: ["Orders"]
---

# Delete an order asynchronously

`DELETE /v1/async/orders/{orderNumber}`

**Note:** This operation is only available if you have the <a href= "https://docs.zuora.com?resourceId=billing-overview-orders"
target= "_blank">Orders</a> feature enabled. If you are an existing Zuora <a href= "https://docs.zuora.com?resourceId=billing-subscribe-and-amend" target= "_blank">Subscribe and Amend</a> customer, we recommend you enable 
<a href= "https://docs.zuora.com?resourceId=billing-overview-orders"
target= "_blank">Orders Harmonization</a> to access the <a href= "https://docs.zuora.com?resourceId=billing-overview-orders"
target= "_blank">Orders</a> feature. With Orders, you can access both existing\
functions for subscription and billing management and the <a href= "https://docs.zuora.com?resourceId=billing-orders-harmonization"
target= "_blank">new features</a> on Zuora Billing.
**Note:** The <a href= "https://docs.zuora.com?resourceId=billing-overview-orders-harmonization"
target= "_blank">Order Line Items</a>
feature is now generally available to all Zuora customers. You need to enable
the <a href= "https://docs.zuora.com?resourceId=billing-overview-orders"
target= "_blank">Orders</a>
feature to access the <a href= "https://docs.zuora.com?resourceId=billing-overview-orders-harmonization"
target= "_blank">Order Line Items</a>
feature. As of Zuora Billing Release 313 (November 2021), new customers who\
onboard on <a href= "https://docs.zuora.com?resourceId=billing-overview-orders"
target= "_blank">Orders</a>
will have the <a href= "https://docs.zuora.com?resourceId=billing-overview-orders-harmonization"
target= "_blank">Order Line Items</a> feature enabled by default. 
Deletes a specified order. 
All the subscriptions changed by this order are deleted. After the deletion, the subscriptions are rolled back to the previous version. 
All the order line items created in this order are deleted.
You are not allowed to delete an order if the charges that are affected by this order are invoiced.

## Path parameters

- `orderNumber` string, string, required

## Headers

- `Idempotency-Key` string
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Version` string

## Response `200`

OK

- DeleteOrderAsyncResponse
  - `jobId` string — The ID of an asynchronous job that will be returned for tracking the status and result of the job.
  - `success` boolean — Indicates whether the call succeeded.

## Other responses

- `500` — Internal Server Error
- `4XX` — Invalid input

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
