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

# Commerce API: Retrieve order status

## Get order

In most cases, you'll want to get information about an individual order. You can retrieve an order by calling the [GET /orders/:id](https://developer.ongoody.com/api-reference/orders/retrieve-an-order.md) endpoint.

This will return all information about the order, in particular its status, such as `notified`, `opened`, `shipped`, `delivered`, etc. For more information on all of the available order statuses, visit the [Order Lifecycle](https://developer.ongoody.com/introduction/order-lifecycle.md) documentation page.

For more information about the other fields in the Order object, refer to the [Order schema](https://developer.ongoody.com/api-reference/schemas/order.md).

## Cancel order

To cancel an order in `created`, `notified`, or `opened` status, call the [POST /orders/:id/cancel](https://developer.ongoody.com/api-reference/orders/cancel-an-order.md) endpoint. For gifts that are in the `accepted` state or later, they are already processing; please contact Goody Support for these orders.

## Get order batch

You can retrieve an order batch by calling the [GET /order\_batches/:id](https://developer.ongoody.com/api-reference/orders/retrieve-an-order.md) endpoint, or retrieve orders inside the order batch using the [GET /orders/:id/orders](https://developer.ongoody.com/api-reference/order-batches/retrieve-orders-for-an-order-batch.md) endpoint.

For more information about the other fields in the OrderBatch object, refer to the [OrderBatch schema](https://developer.ongoody.com/api-reference/schemas/orderbatch.md).


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