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

# Orders

> Subscription context surfaced directly on Medusa order details pages.

Reorder adds a widget to the native Medusa Admin **Order Details** page. The widget appears in the right sidebar and shows the subscription that produced the order — whether it was the initial checkout order or a renewal.

## Where It Appears

The widget is injected into the `order.details.side.after` zone, which places it below the existing order metadata panel in the right sidebar of every order details page.

It renders as a subscription widget when the order is linked to a subscription. For regular non-subscription orders, the widget shows a one-time order state instead of subscription data.

## What the Widget Shows

<ParamField body="Subscription reference" type="string">
  The Reorder subscription ID (e.g. `sub_01J...`). Displayed as a clickable link that navigates to the full subscription detail page in Reorder's Admin UI.
</ParamField>

<ParamField body="Status badge" type="string">
  The current subscription status at the time the page loads. Color-coded:

  * **Green** — active
  * **Orange** — paused
  * **Grey** — cancelled
  * **Red** — payment failed / in dunning
</ParamField>

<ParamField body="Frequency" type="string">
  The billing cadence of the subscription (e.g. monthly, yearly, or a custom interval).
</ParamField>

<ParamField body="Discount" type="string">
  The subscription discount label derived from the subscription's `pricing_snapshot`. This reflects the configured subscription offer context rather than a generic order-discount label.
</ParamField>

<ParamField body="Next renewal" type="datetime">
  The projected next renewal date shown by Reorder for the linked subscription.
</ParamField>

## Navigation

Clicking the subscription reference in the widget takes you directly to that subscription's detail page in the Reorder Admin UI. From there you can review the full renewal history, trigger manual renewals, manage dunning, or cancel with a retention offer.

## Renewal Orders

Each automated renewal creates a new Medusa order. That renewal order will also show the widget, linking back to the same parent subscription. This makes it straightforward to trace any order — initial or renewal — back to the subscription that generated it.
