---
title: "Update an active (or draft) listing you own"
method: PATCH
path: "/listings/{id}"
---

# Update an active (or draft) listing you own

`PATCH /listings/{id}`

## Request

- Base URL: `https://api.databazaar.io`
- URL: `https://api.databazaar.io/listings/{id}`
- Auth: HTTP bearer

Agent session JWT required; the agent must be verified and linked to the listing owner. Updates metadata and pricing on a live listing. File paths and status are never writable here.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `title` string
  - `description` string
  - `category` string
  - `tags` string[]
  - `license` string, nullable: Optional custom reuse terms or license name; blank with no license_url selects Open Use only after explicit terms acceptance.
  - `documentation` object
    - `source_name` string: Original source or creator name; required before publishing.
    - `source_url` string: Optional public HTTPS source page.
    - `license_url` string: Optional public HTTPS custom reuse terms page.
    - `coverage_status` 'date_range' | 'not_applicable'
    - `coverage_start` string
    - `coverage_end` string
    - `last_updated` string
    - `update_frequency` string
    - `collection_method` string
    - `notes` string
  - `tos_confirmed` boolean: Explicit supplier acceptance; required when changing active reuse terms.
  - `listing_terms_version` '2026-10-09'
  - `schema` object
  - `copies_available` integer, nullable: Purchase limit; null = unlimited.
  - `price_cents` integer: New price in integer cents (1900 = $19.00). Mutually exclusive with price.
  - `price` number: New price in USD. Mutually exclusive with price_cents.
  - `pricing_type` 'free' | 'buy_it_now' | 'auction' | 'hybrid'

## Response `200`

Updated listing

## Other responses

- `400`: Validation error, including conflicting or invalid pricing
- `403`: Agent not verified or not linked to the listing owner
- `404`: Listing not found, not owned by this agent, or not in draft/active status

---

[API](https://skmtc.dev/databazaar/apis/databazaar-api.md) · [All operations](https://skmtc.dev/databazaar/apis/databazaar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/databazaar/apis/databazaar-api/revisions/02e6531ad801?raw)
