Skip to main content
POST
/
admin
/
sellers
/
{id}
/
terminate
curl -X POST 'http://localhost:9000/admin/sellers/sel_01HXYZABCDEF/terminate' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"reason": "Account closed by operator"}'
{
  "seller": {
    "id": "sel_01HXYZABCDEF",
    "name": "Acme",
    "status": "terminated",
    "status_reason": "Account closed by operator",
    "updated_at": "2026-06-10T16:45:00.000Z"
  }
}
Sets the seller’s status to terminated, optionally recording a reason.

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.

Body parameters

reason
string
Reason for the termination, stored in status_reason.

Response

seller
object
curl -X POST 'http://localhost:9000/admin/sellers/sel_01HXYZABCDEF/terminate' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"reason": "Account closed by operator"}'
{
  "seller": {
    "id": "sel_01HXYZABCDEF",
    "name": "Acme",
    "status": "terminated",
    "status_reason": "Account closed by operator",
    "updated_at": "2026-06-10T16:45:00.000Z"
  }
}