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

# unsuspendSellerWorkflow

> Lift a seller suspension.

Validates the seller is currently suspended, then sets `status` back to `open` and clears `status_reason`. Triggered by `POST /admin/sellers/:id/unsuspend`. Emits `seller.unsuspended`.

## Usage

```ts theme={null}
import { unsuspendSellerWorkflow } from "@mercurjs/core/workflows"

await unsuspendSellerWorkflow(container).run({
  input: { seller_id: "sel_123" },
})
```

## Input

<ParamField body="seller_id" type="string" required>Id of the suspended seller.</ParamField>

## Result

<ResponseField name="result" type="void">Nothing is returned.</ResponseField>

## Hooks

* `sellerUnsuspended` — runs after the status change with `{ seller_id }`.

```ts theme={null}
unsuspendSellerWorkflow.hooks.sellerUnsuspended(async ({ seller_id }) => {
  // e.g. re-enable listings
})
```
