# Orders (legacy)

Use these operations to manage customer orders.
This is the legacy order model.
If you are new to Rebilly, use [these order operations](#tag/orders).
Organizations that use the current order model cannot create legacy orders.
For these organizations, the operations that create a legacy order return a validation error.
For information on the legacy order model, and how to upgrade to the current order model, see [Legacy orders model](https://www.rebilly.com/docs/glossary#legacy-orders-model).
An order is a customer's request to purchase items.
It can contain subscription and one-time sale items.
When an order contains one or more subscription items, it is a subscription order.
An order generates an invoice.
A subscription order generates an invoice for each service period.
For more information, see [Orders](https://www.rebilly.com/docs/dev-docs/concepts/#orders).

 - [GET /subscriptions](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptioncollection.md): Retrieves a list of orders.
 - [POST /subscriptions](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscription.md): Creates an order. To create or update an order with a specified ID, use the [`PUT /subscriptions/{id}`](https://www.rebilly.com/catalog/all/orders-(legacy)/putsubscription) operation. Organizations th
 - [GET /subscriptions/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscription.md): Retrieves an order with a specified ID.
 - [PUT /subscriptions/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/putsubscription.md): Creates or updates (upserts) an order with a specified ID. Organizations that use the current order model cannot create legacy orders. For these organizations, this operation only updates an existing
 - [DELETE /subscriptions/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/deletesubscription.md): Deletes a pending order with a specified ID.
 - [POST /subscriptions/{id}/void](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptionvoid.md): Voids a pending order with a specified ID.
 - [POST /subscriptions/{id}/change-items](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptionitemschange.md): Changes the items or quantities of an order that contains subscription items and specifies if and when to give pro rata credits. To change the items at the next renewal, use the `POST /order-changes`
 - [POST /subscriptions/{id}/interim-invoice](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptioninteriminvoice.md): Issues an interim invoice for a subscription order. Use this operation for plan changes and pro rata adjustments. This process: - Creates an invoice. - Adds the subscription line items to the invoice.
 - [GET /subscription-pauses](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionpausecollection.md): Retrieves a list of subscription order pauses.
 - [POST /subscription-pauses](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptionpause.md): Pauses a subscription order with a specified ID.
 - [GET /subscription-pauses/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionpause.md): Retrieves a subscription order pause with a specified ID.
 - [PUT /subscription-pauses/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/putsubscriptionpause.md): Updates a subscription order pause.
 - [DELETE /subscription-pauses/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/deletesubscriptionpause.md): Deletes a subscription order pause with a specified ID. If the specified pause is `pending`, it is `revoked`. If the specified pause is `ongoing`, it is `finished`.
 - [GET /subscription-cancellations](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptioncancellationcollection.md): Retrieves a list of subscription order cancellations.
 - [POST /subscription-cancellations](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptioncancellation.md): Cancels a subscription order.
 - [GET /subscription-cancellations/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptioncancellation.md): Retrieves a subscription order cancellation with a specified ID.
 - [PUT /subscription-cancellations/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/putsubscriptioncancellation.md): Creates or updates (upserts) a subscription order cancellation with a specified ID.
 - [PATCH /subscription-cancellations/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/patchsubscriptioncancellation.md): Updates a subscription order cancellation with a specified ID. Use this operation to update a cancellation reason and description.
 - [DELETE /subscription-cancellations/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/deletesubscriptioncancellation.md): Deletes a subscription order cancellation with a specified ID. > **Important:** Only subscription order cancellations with a `status` of `draft` can be deleted.
 - [GET /subscription-reactivations](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionreactivationcollection.md): Retrieves a list of subscription order reactivations.
 - [POST /subscription-reactivations](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptionreactivation.md): Reactivates a subscription order with a specified ID.
 - [GET /subscription-reactivations/{id}](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionreactivation.md): Retrieves a subscription order reactivation with a specified ID.
 - [GET /subscriptions/{id}/upcoming-invoice](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionupcominginvoice.md): Retrieves an upcoming invoice for a specified subscription order. An upcoming invoice is an invoice that has not been issued. It functions as a preview of the next invoice for the order. For more info
 - [POST /subscriptions/{id}/upcoming-invoice/issue](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postsubscriptionupcominginvoiceissuance.md): Issues an upcoming invoice, for a subscription order with a specified ID, for early pay.
 - [POST /previews/orders](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postprevieworder.md): Previews an order. Use this operation to preview a draft order before making an order.
 - [GET /subscriptions/{id}/upcoming-invoices](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/getsubscriptionupcominginvoicecollection.md): Retrieves an upcoming invoice for a specified subscription order. This endpoint is deprecated. Use [Retrieve an upcoming subscription order invoice](https://www.rebilly.com/catalog/all/orders-(legacy)
 - [POST /subscriptions/{id}/upcoming-invoices/{invoiceId}/issue](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/postupcominginvoiceissuance.md): Issues an upcoming invoice with a specified ID for early pay. This endpoint is deprecated. Use [Issue an upcoming invoice for early pay](https://www.rebilly.com/catalog/all/orders-(legacy)/postsubscri
 - [POST hard-usage-limit-reached](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/hard-usage-limit-reached.md)
 - [POST order-abandoned](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/order-abandoned.md)
 - [POST order-completed](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/order-completed.md)
 - [POST renewal-invoice-issued](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/renewal-invoice-issued.md)
 - [POST soft-usage-limit-reached](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/soft-usage-limit-reached.md)
 - [POST subscription-activated](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-activated.md)
 - [POST subscription-canceled](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-canceled.md)
 - [POST subscription-churned](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-churned.md)
 - [POST subscription-created](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-created.md)
 - [POST subscription-downgraded](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-downgraded.md)
 - [POST subscription-items-changed](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-items-changed.md)
 - [POST subscription-modified](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-modified.md)
 - [POST subscription-quantity-filled-limit-reached](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-quantity-filled-limit-reached.md)
 - [POST subscription-reactivated](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-reactivated.md)
 - [POST subscription-renewed](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-renewed.md)
 - [POST subscription-trial-converted](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-trial-converted.md)
 - [POST subscription-trial-end-reminder](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-trial-end-reminder.md)
 - [POST subscription-trial-ended](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-trial-ended.md)
 - [POST subscription-upgraded](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-upgraded.md)
 - [POST subscription-paused](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-paused.md)
 - [POST subscription-pause-created](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-pause-created.md)
 - [POST subscription-pause-modified](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-pause-modified.md)
 - [POST subscription-pause-revoked](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-pause-revoked.md)
 - [POST subscription-resumed](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-resumed.md)
 - [POST trial-usage-limit-reached](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/trial-usage-limit-reached.md)
 - [POST order-delinquency-reached](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/order-delinquency-reached.md)
 - [POST order-abandon-reminder](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/order-abandon-reminder.md)
 - [POST subscription-renewal-reminder](https://www.rebilly.com/docs/dev-docs/api/orders-(legacy)/subscription-renewal-reminder.md)
