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

# show()

> Present an Encore offer for a placement

<Warning>
  **Deprecated** — Use [`Encore.placement(id).show()`](./placement) instead. This method still works but will be removed in a future release.
</Warning>

Presents an Encore offer sheet for the given placement ID. Returns a result indicating whether the user was granted an entitlement.

## Signature

```tsx theme={null}
show(placementId: string): Promise<PlacementResult>
```

## Parameters

| Name          | Type   | Description                                                 |
| ------------- | ------ | ----------------------------------------------------------- |
| `placementId` | string | The placement identifier configured in the Encore Dashboard |

## Returns

A [`PlacementResult`](./placement-result) object.

## Usage

```tsx theme={null}
const result = await Encore.show('cancellation_flow');

if (result.status === 'granted') {
  // User accepted the offer
} else if (result.status === 'dismissed') {
  // User dismissed — proceed with original flow
}
```

<Info>
  Register `onPurchaseRequest` and `onPassthrough` handlers before calling `show()`. See [onPurchaseRequest()](./on-purchase-request) and [onPassthrough()](./on-passthrough).
</Info>
