# Pause, reopen or close a listing

> Pauses a listing, puts it live again, or closes it for good. In a closed marketplace a listing can only be closed.


`POST https://dev.siteswap.pro/api/v1/listings/{id}/status`

Pauses a listing, puts it live again, or closes it for good. In a closed marketplace a listing can only be closed.

Needs the `listings:write` scope.

## Parameters

- `id` (path, string, required): The listing's id

## Body

- `status` ("active" | "paused" | "closed", required): `closed` cannot be undone

```json
{
  "status": "paused"
}
```

## Responses

- 200: OK
- 400: bad_request, key_in_url or invalid_json: the request could not be read
- 401: missing_key or invalid_key: no key, or a key that is not valid or was revoked
- 403: key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
- 404: not_found: nothing here that you may see
- 413: too_large: the body is over 256 KB
- 429: rate_limited or daily_quota: wait for Retry-After seconds

## Response fields

- `id` (string): The listing's id
- `url` (string): The listing on SiteSwap
- `marketplace` (string): The marketplace key
- `kind` ("have" | "need"): `have` for something offered, `need` for something wanted
- `deal` ("sale" | "trade" | "both"): Marketplaces with trades: for sale, for trade or either; `sale` everywhere else
- `status` ("active" | "paused" | "closed"): Only `active` listings are found by search; your own can be paused or closed
- `title` (string)
- `description` (string)
- `category` (object)
- `category.id` (string)
- `category.slug` (string)
- `category.name` (string)
- `material` (string | null): The material or type, or the name typed under Other
- `brand` (string | null): The brand or maker
- `product_line` (string | null): The product line
- `color` (string | null): The color
- `model` (string | null): The model
- `quantity` (object)
- `quantity.total` (number): Listed in all
- `quantity.open` (number): Still open: not promised to an accepted offer and not handed over
- `quantity.unit` (string)
- `quantity.basis` (string): `measured` or `estimated`
- `price` (object)
- `price.model` (string): `fixed`, `offers`, `free` or `pays_to_take` (the poster pays to have it taken)
- `price.cents` (integer | null): Per unit, in US cents; null without a price
- `location` (object)
- `location.city` (string)
- `location.region` (string): The state
- `location.distance_mi` (number | null): Straight-line miles from the `zip` you sent; null without one
- `pickup_only` (boolean)
- `can_deliver` (boolean)
- `can_load` (boolean)
- `available_from` (string | null): The first day, YYYY-MM-DD
- `fields` (object (by key)): The category's questions and their answers, by key (see `GET /catalog/categories/{id}`)
- `photo` (string | null): A small picture of the first photo
- `company` (object)
- `company.slug` (string): The company's address on SiteSwap, `/c/{slug}`
- `company.name` (string)
- `company.kind` (string): What kind of company, for example `contractor` or `supplier`
- `company.url` (string): Its public page
- `sample` (boolean): True for sample data on test servers
- `created_at` (string): When it was posted. ISO 8601 in UTC

```json
{
  "data": {
    "id": "1042",
    "url": "https://siteswap.pro/listing/1042",
    "marketplace": "materials",
    "kind": "have",
    "deal": "sale",
    "status": "paused",
    "title": "Clean fill, screened",
    "description": "About 40 yards from a basement dig.",
    "category": {
      "id": "3",
      "slug": "soil-and-fill",
      "name": "Soil and fill"
    },
    "material": "Clean fill",
    "brand": null,
    "product_line": null,
    "color": null,
    "model": null,
    "quantity": {
      "total": 40,
      "open": 40,
      "unit": "yd",
      "basis": "estimated"
    },
    "price": {
      "model": "free",
      "cents": null
    },
    "location": {
      "city": "Woburn",
      "region": "MA",
      "distance_mi": 3.2
    },
    "pickup_only": true,
    "can_deliver": false,
    "can_load": true,
    "available_from": null,
    "fields": {},
    "photo": null,
    "company": {
      "slug": "acme-site-work",
      "name": "Acme Site Work",
      "kind": "contractor",
      "url": "https://siteswap.pro/c/acme-site-work"
    },
    "sample": false,
    "created_at": "2026-12-02T14:03:20.991Z"
  },
  "meta": {
    "request_id": "3f9a1c0b7d2e",
    "api_version": "v1"
  }
}
```

## Example

```bash
curl -X POST "https://dev.siteswap.pro/api/v1/listings/1042/status" \
  -H "Authorization: Bearer ssk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"paused"}'
```