> ## 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.

# Approve Seller

> Approve a pending seller.

Moves the seller from `pending_approval` to `open` and sets `approved_at`.

## Path parameters

**id** `string` *required*

The seller's ID.

## Query parameters

**fields** `string`

Comma-separated list of fields to include, prefix with `+`/`-` to add or remove from defaults.

## Response

**seller** `object`

**properties**

**id** `string`

The seller's ID.

**status** `string`

The seller's status, `open` after approval.

**approved\_at** `string`

When the seller was approved.

**updated\_at** `string`

Last update timestamp.

```bash cURL theme={null}
curl -X POST 'http://localhost:9000/admin/sellers/sel_01HXYZABCDEF/approve' \
  -H 'Authorization: Bearer <token>'
```

```ts JS Client theme={null}
const { seller } = await client.admin.sellers.$id.approve.mutate({
  $id: "sel_01HXYZABCDEF",
})
```

```json 200 theme={null}
{
  "seller": {
    "id": "sel_01HXYZABCDEF",
    "name": "Acme",
    "handle": "acme",
    "status": "open",
    "approved_at": "2026-06-02T09:30:00.000Z",
    "updated_at": "2026-06-02T09:30:00.000Z"
  }
}
```


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