# API reference

> The Seller API isn’t open to every seller yet. You can read the docs now; API keys and the Claude connector work once the API is turned on for your account. To ask for access, contact us: https://gathermark.com/help

Base URL: `https://api.gathermark.com`. Every path below starts with `/v1/`. Authenticate every request with `Authorization: Bearer <your key>` (see [Authentication and scopes](https://gathermark.com/developers/authentication)); errors use the shape in [Limits and errors](https://gathermark.com/developers/limits-and-errors).

This reference is generated from the OpenAPI spec at `https://api.gathermark.com/v1/openapi.json`. Use the spec to generate a client in your language.

Each endpoint shows the scope it needs.

Every response field has a description and an example, and every operation has a short, stable `operationId` (such as `createListing`) for generated clients. [Conventions and versioning](https://gathermark.com/developers/conventions-and-versioning) explains ids, money, times, pagination and what can change.

## GET /v1/communities

Communities

Communities a listing can be posted in; `is_default` marks the one used when `community_id` is omitted.

`GET https://api.gathermark.com/v1/communities`

Required scope: `listings:read`

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `communities` | array of object | yes | Every community, the default one marked. |
| `communities[].id` | string | yes | The community id (`community_id` on a listing).. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `communities[].name` | string | yes | The community's name.. Example: `"Fountain Pens"` |
| `communities[].slug` | string | yes | The community's URL slug.. Example: `"fountain-pens"` |
| `communities[].is_default` | boolean | yes | Whether listings without `community_id` are posted here.. Example: `true` |

## GET /v1/listings

Your listings

Drafts and listings created through the API or MCP (including ones published since), newest first; `source=all` lists every listing you own, made on the site too. Pass `next_cursor` as `cursor` for the next page.

`GET https://api.gathermark.com/v1/listings`

Required scope: `listings:read`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `cursor` | query | string | no | `next_cursor` from the previous page. Leave out for the first page. |
| `limit` | query | integer | no | Listings per page (default 20, max 100). |
| `source` | query | string | no | api (default): listings made through the API or MCP; all: every listing you own. |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `listings` | array of object | yes | Newest first. |
| `listings[].id` | string | yes | The listing id.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `listings[].status` | string | yes | The listing's public status: draft (not published), active (for sale), sold, expired, or inactive (not for sale for another reason, such as paused, delisted or frozen; see the listing on the site). Treat a value you do not know like inactive: new values can be added.. One of: draft, active, sold, expired, inactive. Example: `"active"` |
| `listings[].source` | string | yes | Where it was made: api, mcp, or the site's own value.. Example: `"api"` |
| `listings[].title` | string | yes | The title.. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `listings[].currency` | string | yes | ISO currency code.. Example: `"USD"` |
| `listings[].item_count` | integer | yes | How many items it has.. Example: `6` |
| `listings[].edit_url` | string | yes | The listing's edit page on Gathermark.. Example: `"https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"` |
| `listings[].listing_url` | string | yes | The public listing page buyers open, for a published listing (on a sold, expired or inactive listing the page says it is no longer for sale); null for a draft, or for a listing whose page is hidden (frozen). Give it to the seller after publishing.. Example: `"https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"` |
| `listings[].created_at` | string | yes | When it was created (as a draft). It stays the same when the draft is published. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T09:30:00Z"` |
| `listings[].updated_at` | string | yes | When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T10:05:00Z"` |
| `next_cursor` | string | yes | Pass as `cursor` for the next page; null on the last page.. Example: `"MjAyNi0xMS0yNFQwOTozMDowMHxLcDNWYk44eFF3Mkxt"` |

## POST /v1/listings

Create a draft listing

Creates a draft with its items. Optional `Idempotency-Key` header (max 100 characters): the same key and body returns the original draft with 200; the same key with a different body is 409 idempotency_conflict. Image URLs that cannot be fetched are listed under `warnings`. Counts against the daily draft quota (429 daily_quota_exceeded).

`POST https://api.gathermark.com/v1/listings`

Required scope: `listings:write`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `Idempotency-Key` | header | string | no | Optional, at most 100 characters. Repeating a request with the same key and body returns the original result instead of doing it again; the same key with a different body is 409 idempotency_conflict. |

### Request body

| Field | Type | Required | Notes |
|---|---|---|---|
| `title` | string | yes | Listing title, 5 to 200 characters.. 5 to 200 characters. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `description` | string | no | Plain text. Blank lines separate paragraphs.. at most 20000 characters. Example: `"Six pens from one collection. Photos of each pen below."` |
| `currency` | string | no | ISO currency code from /v1/vocab. Default: the seller's default listing currency.. One of: AUD, BRL, CAD, CNY, CZK, DKK, EUR, HKD, HUF, ILS, JPY, MYR, NZD, NOK, PLN, GBP, SGD, SEK, CHF, THB, USD. Example: `"USD"` |
| `community_id` | string | no | A community id from /v1/communities. Default: the default community, chosen at publish time.. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `shipping_profile_id` | string | no | One of the seller's shipping profile ids from /v1/shipping-profiles (same currency as the listing). Omitted: the draft has no shipping.. Example: `"sP9xK2mVq7LtR3Nb"` |
| `image_urls` | array of string | no | https:// image URLs; they become the gallery, in order.. Example: `["https://img.example.com/pen-roll.jpg"]` |
| `items` | array of object | yes | At least one item. |
| `items[].name` | string | yes | Item name, 3 to 200 characters.. 3 to 200 characters. Example: `"Parker 51 Aerometric"` |
| `items[].price` | string | yes | Price in the listing currency as a decimal string, e.g. "185.00". Greater than zero, at most two decimal places.. pattern ^\d{1,7}(\.\d{1,2})?$. Example: `"185.00"` |
| `items[].quantity` | integer | no | How many are for sale. Default 1.. >= 1, <= 10000, default 1. Example: `1` |
| `items[].condition` | string | no | One of the conditions in /v1/vocab (case-insensitive). Canonical values: Mint (Uninked), Mint (Inked), New/New Old Stock, Excellent, Fine, Fair, Parts - Only good for parts.. Example: `"Excellent"` |
| `items[].nib_size` | string | no | One of the nib sizes in /v1/vocab; short forms like "F" or "EF" are accepted. Canonical values: Extra Fine (EF), Fine (F), Medium Fine (MF), Medium (M), Broad (B), Double Broad (BB), Stub, Italic, Flex. The short forms are in nib_size_short_forms.. Example: `"Fine (F)"` |
| `items[].description` | string | no | Plain text. Blank lines separate paragraphs.. at most 5000 characters. Example: `"Burgundy, restored sac. Writes a smooth fine line."` |
| `items[].image_urls` | array of string | no | https:// image URLs for this item.. Example: `["https://img.example.com/parker-51.jpg"]` |

### Responses

- `200` A replay: the same Idempotency-Key and body as an earlier request; the listing that request created, as it is now.
- `201` The new draft.
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `409` idempotency_conflict.
- `422` validation_error (see `field`).
- `429` rate_limited (per minute) or daily_quota_exceeded (drafts per UTC day); see Retry-After. Nothing was created.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `201` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `201` `X-RateLimit-Remaining`: Requests left in the current minute.
- `201` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The listing id (`listing_id` in paths). It stays the same when a draft is published.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `status` | string | yes | The listing's public status: draft (not published), active (for sale), sold, expired, or inactive (not for sale for another reason, such as paused, delisted or frozen; see the listing on the site). Treat a value you do not know like inactive: new values can be added.. One of: draft, active, sold, expired, inactive. Example: `"draft"` |
| `source` | string | yes | Where it was made: api, mcp, or the site's own value for listings made on the site or imported.. Example: `"api"` |
| `title` | string | yes | The title (5 to 200 characters).. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Six pens from one collection."` |
| `currency` | string | yes | ISO currency code of every price on the listing.. Example: `"USD"` |
| `community_id` | string | yes | The community id. A draft without one shows the default community it will be published in (null only when there is no default).. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `shipping_profile_id` | string | yes | The shipping profile the listing's shipping came from, or null.. Example: `"sP9xK2mVq7LtR3Nb"` |
| `edit_url` | string | yes | The listing's edit page on Gathermark.. Example: `"https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"` |
| `listing_url` | string | yes | The public listing page buyers open, for a published listing (on a sold, expired or inactive listing the page says it is no longer for sale); null for a draft, or for a listing whose page is hidden (frozen). Give it to the seller after publishing.. Example: `"https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"` |
| `can_publish` | boolean | yes | Whether every publish check passes (`missing` is empty).. Example: `false` |
| `missing` | array of string | yes | Publish-check codes the listing still fails, in order (account checks first). An open set: new codes can be added.. Example: `["image","shipping"]` |
| `failed_checks` | array of object | yes | The failing publish checks in full, in the order of `missing`: check, message, fix, field (such as items[1].name) and, for an item check, item_id. An item check appears once per item at fault.. Example: `[{"check":"item_price","field":"items[1].price","fix":"Give each item a price.","item_id":"i8Hn3QxV5mLb2TsK","message":"Every item needs a price."}]` |
| `images` | array of object | yes | The gallery, in order. |
| `images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `items` | array of object | yes | The items, in order. |
| `items[].id` | string | yes | The item id.. Example: `"i2Lm7QxT4pVb9KsN"` |
| `items[].name` | string | yes | The item's name.. Example: `"Parker 51 Aerometric"` |
| `items[].price` | string | yes | The item's price in the listing currency. A decimal string in the currency's own decimals: "185.00", or "1500" for zero-decimal currencies (JPY, HUF).. pattern ^\d+(\.\d{2})?$. Example: `"185.00"` |
| `items[].quantity` | integer | yes | How many are for sale.. Example: `1` |
| `items[].condition` | string | yes | The condition, one of /v1/vocab `conditions` (listings made on the site or imported can hold other text), or null.. Example: `"Excellent"` |
| `items[].nib_size` | string | yes | The nib size, one of /v1/vocab `nib_sizes` (listings made on the site or imported can hold other text), or null.. Example: `"Fine (F)"` |
| `items[].description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Burgundy, restored sac."` |
| `items[].images` | array of object | yes | The item's photos, in order. |
| `items[].images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `items[].images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `warnings` | array of object | yes | Always present. Create lists what was skipped (image URLs that could not be fetched and so on); every other response has []. PATCH never skips an image: it is refused with 422 image_fetch_failed instead. |
| `warnings[].code` | string | yes | What happened.. One of: image_fetch_failed, image_concurrency_limited, image_budget_exceeded. Example: `"image_fetch_failed"` |
| `warnings[].url` | string | yes | The image URL it is about.. Example: `"https://img.example.com/pen-roll.jpg"` |
| `warnings[].message` | string | yes | What to do about it.. Example: `"This image could not be fetched; add it on the site instead."` |
| `archived` | boolean | no | Live listings only: whether it is archived (hidden from the dashboard's default tabs; the status does not change).. Example: `false` |
| `created_at` | string | yes | When it was created (as a draft). It stays the same when the draft is published. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T09:30:00Z"` |
| `updated_at` | string | yes | When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T10:05:00Z"` |

## GET /v1/listings/{listing_id}

One listing

Any listing you own (made on the site too). Status, items, images, `edit_url`, `listing_url` (the public page, once published), `can_publish` and what is `missing` before publish. On a draft, `missing` is an ordered list of publish-check codes (account checks first); treat it as an open set, since new codes can be added.

`GET https://api.gathermark.com/v1/listings/{listing_id}`

Required scope: `listings:read`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `listing_id` | path | string | yes | The listing id (`id` of a listing; the same for a draft and once it is published). |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the listing does not exist or belongs to another seller, or the API is not enabled.
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The listing id (`listing_id` in paths). It stays the same when a draft is published.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `status` | string | yes | The listing's public status: draft (not published), active (for sale), sold, expired, or inactive (not for sale for another reason, such as paused, delisted or frozen; see the listing on the site). Treat a value you do not know like inactive: new values can be added.. One of: draft, active, sold, expired, inactive. Example: `"draft"` |
| `source` | string | yes | Where it was made: api, mcp, or the site's own value for listings made on the site or imported.. Example: `"api"` |
| `title` | string | yes | The title (5 to 200 characters).. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Six pens from one collection."` |
| `currency` | string | yes | ISO currency code of every price on the listing.. Example: `"USD"` |
| `community_id` | string | yes | The community id. A draft without one shows the default community it will be published in (null only when there is no default).. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `shipping_profile_id` | string | yes | The shipping profile the listing's shipping came from, or null.. Example: `"sP9xK2mVq7LtR3Nb"` |
| `edit_url` | string | yes | The listing's edit page on Gathermark.. Example: `"https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"` |
| `listing_url` | string | yes | The public listing page buyers open, for a published listing (on a sold, expired or inactive listing the page says it is no longer for sale); null for a draft, or for a listing whose page is hidden (frozen). Give it to the seller after publishing.. Example: `"https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"` |
| `can_publish` | boolean | yes | Whether every publish check passes (`missing` is empty).. Example: `false` |
| `missing` | array of string | yes | Publish-check codes the listing still fails, in order (account checks first). An open set: new codes can be added.. Example: `["image","shipping"]` |
| `failed_checks` | array of object | yes | The failing publish checks in full, in the order of `missing`: check, message, fix, field (such as items[1].name) and, for an item check, item_id. An item check appears once per item at fault.. Example: `[{"check":"item_price","field":"items[1].price","fix":"Give each item a price.","item_id":"i8Hn3QxV5mLb2TsK","message":"Every item needs a price."}]` |
| `images` | array of object | yes | The gallery, in order. |
| `images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `items` | array of object | yes | The items, in order. |
| `items[].id` | string | yes | The item id.. Example: `"i2Lm7QxT4pVb9KsN"` |
| `items[].name` | string | yes | The item's name.. Example: `"Parker 51 Aerometric"` |
| `items[].price` | string | yes | The item's price in the listing currency. A decimal string in the currency's own decimals: "185.00", or "1500" for zero-decimal currencies (JPY, HUF).. pattern ^\d+(\.\d{2})?$. Example: `"185.00"` |
| `items[].quantity` | integer | yes | How many are for sale.. Example: `1` |
| `items[].condition` | string | yes | The condition, one of /v1/vocab `conditions` (listings made on the site or imported can hold other text), or null.. Example: `"Excellent"` |
| `items[].nib_size` | string | yes | The nib size, one of /v1/vocab `nib_sizes` (listings made on the site or imported can hold other text), or null.. Example: `"Fine (F)"` |
| `items[].description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Burgundy, restored sac."` |
| `items[].images` | array of object | yes | The item's photos, in order. |
| `items[].images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `items[].images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `warnings` | array of object | yes | Always present. Create lists what was skipped (image URLs that could not be fetched and so on); every other response has []. PATCH never skips an image: it is refused with 422 image_fetch_failed instead. |
| `warnings[].code` | string | yes | What happened.. One of: image_fetch_failed, image_concurrency_limited, image_budget_exceeded. Example: `"image_fetch_failed"` |
| `warnings[].url` | string | yes | The image URL it is about.. Example: `"https://img.example.com/pen-roll.jpg"` |
| `warnings[].message` | string | yes | What to do about it.. Example: `"This image could not be fetched; add it on the site instead."` |
| `archived` | boolean | no | Live listings only: whether it is archived (hidden from the dashboard's default tabs; the status does not change).. Example: `false` |
| `created_at` | string | yes | When it was created (as a draft). It stays the same when the draft is published. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T09:30:00Z"` |
| `updated_at` | string | yes | When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T10:05:00Z"` |

## PATCH /v1/listings/{listing_id}

Change a draft

Only the fields sent change; `items` replaces every item. If any image_urls entry (gallery or item) cannot be added, nothing changes: 422 image_fetch_failed names each one in `failed_images`. New image URLs it fetched still count toward today's image limit. Only listings made through the API: one of your listings made on the site (or imported) is 409 listing_not_api_made (change it on the site). A live listing is 409 listing_not_draft.

`PATCH https://api.gathermark.com/v1/listings/{listing_id}`

Required scope: `listings:write`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `listing_id` | path | string | yes | The listing id (`id` of a listing; the same for a draft and once it is published). |

### Request body

| Field | Type | Required | Notes |
|---|---|---|---|
| `title` | string | no | Listing title, 5 to 200 characters.. 5 to 200 characters. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `description` | string | no | Plain text. Blank lines separate paragraphs.. at most 20000 characters. Example: `"Six pens from one collection. Photos of each pen below."` |
| `community_id` | string | no | A community id from /v1/communities, or null.. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `shipping_profile_id` | string | no | A shipping profile id, or null to remove shipping.. Example: `"sP9xK2mVq7LtR3Nb"` |
| `items` | array of object | no | Replaces all items (at least one). Send every item to keep; an item sent without image_urls (and, where item ids are accepted, without its id) has no images. |
| `items[].name` | string | yes | Item name, 3 to 200 characters.. 3 to 200 characters. Example: `"Parker 51 Aerometric"` |
| `items[].price` | string | yes | Price in the listing currency as a decimal string, e.g. "185.00". Greater than zero, at most two decimal places.. pattern ^\d{1,7}(\.\d{1,2})?$. Example: `"185.00"` |
| `items[].quantity` | integer | no | How many are for sale. Default 1.. >= 1, <= 10000. Example: `1` |
| `items[].condition` | string | no | One of the conditions in /v1/vocab (case-insensitive). Canonical values: Mint (Uninked), Mint (Inked), New/New Old Stock, Excellent, Fine, Fair, Parts - Only good for parts.. Example: `"Excellent"` |
| `items[].nib_size` | string | no | One of the nib sizes in /v1/vocab; short forms like "F" or "EF" are accepted. Canonical values: Extra Fine (EF), Fine (F), Medium Fine (MF), Medium (M), Broad (B), Double Broad (BB), Stub, Italic, Flex. The short forms are in nib_size_short_forms.. Example: `"Fine (F)"` |
| `items[].description` | string | no | Plain text. Blank lines separate paragraphs.. at most 5000 characters. Example: `"Burgundy, restored sac. Writes a smooth fine line."` |
| `items[].image_urls` | array of string | no | https:// image URLs for this item. The listing's own image URLs (as GET returns them) keep those images without uploading them again.. Example: `["https://img.example.com/parker-51.jpg"]` |
| `image_urls` | array of string | no | Replaces the listing's gallery photos, in this order: https:// image URLs, or a photo's own `url` from GET to keep it. [] removes every gallery photo; leave it out to keep them. Videos added on the site are kept.. Example: `["https://img.example.com/pen-roll.jpg"]` |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the listing does not exist or belongs to another seller, or the API is not enabled.
- `409` listing_not_draft.
- `422` validation_error (see `field`), or image_fetch_failed: an image_urls entry could not be added (each one is in `failed_images`); nothing was changed.
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The listing id (`listing_id` in paths). It stays the same when a draft is published.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `status` | string | yes | The listing's public status: draft (not published), active (for sale), sold, expired, or inactive (not for sale for another reason, such as paused, delisted or frozen; see the listing on the site). Treat a value you do not know like inactive: new values can be added.. One of: draft, active, sold, expired, inactive. Example: `"draft"` |
| `source` | string | yes | Where it was made: api, mcp, or the site's own value for listings made on the site or imported.. Example: `"api"` |
| `title` | string | yes | The title (5 to 200 characters).. Example: `"Vintage pen roll: Parker, Pelikan"` |
| `description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Six pens from one collection."` |
| `currency` | string | yes | ISO currency code of every price on the listing.. Example: `"USD"` |
| `community_id` | string | yes | The community id. A draft without one shows the default community it will be published in (null only when there is no default).. Example: `"c4Tn8VbQ2mXr6PzL"` |
| `shipping_profile_id` | string | yes | The shipping profile the listing's shipping came from, or null.. Example: `"sP9xK2mVq7LtR3Nb"` |
| `edit_url` | string | yes | The listing's edit page on Gathermark.. Example: `"https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"` |
| `listing_url` | string | yes | The public listing page buyers open, for a published listing (on a sold, expired or inactive listing the page says it is no longer for sale); null for a draft, or for a listing whose page is hidden (frozen). Give it to the seller after publishing.. Example: `"https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"` |
| `can_publish` | boolean | yes | Whether every publish check passes (`missing` is empty).. Example: `false` |
| `missing` | array of string | yes | Publish-check codes the listing still fails, in order (account checks first). An open set: new codes can be added.. Example: `["image","shipping"]` |
| `failed_checks` | array of object | yes | The failing publish checks in full, in the order of `missing`: check, message, fix, field (such as items[1].name) and, for an item check, item_id. An item check appears once per item at fault.. Example: `[{"check":"item_price","field":"items[1].price","fix":"Give each item a price.","item_id":"i8Hn3QxV5mLb2TsK","message":"Every item needs a price."}]` |
| `images` | array of object | yes | The gallery, in order. |
| `images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `items` | array of object | yes | The items, in order. |
| `items[].id` | string | yes | The item id.. Example: `"i2Lm7QxT4pVb9KsN"` |
| `items[].name` | string | yes | The item's name.. Example: `"Parker 51 Aerometric"` |
| `items[].price` | string | yes | The item's price in the listing currency. A decimal string in the currency's own decimals: "185.00", or "1500" for zero-decimal currencies (JPY, HUF).. pattern ^\d+(\.\d{2})?$. Example: `"185.00"` |
| `items[].quantity` | integer | yes | How many are for sale.. Example: `1` |
| `items[].condition` | string | yes | The condition, one of /v1/vocab `conditions` (listings made on the site or imported can hold other text), or null.. Example: `"Excellent"` |
| `items[].nib_size` | string | yes | The nib size, one of /v1/vocab `nib_sizes` (listings made on the site or imported can hold other text), or null.. Example: `"Fine (F)"` |
| `items[].description` | string | yes | Plain text; blank lines separate paragraphs.. Example: `"Burgundy, restored sac."` |
| `items[].images` | array of object | yes | The item's photos, in order. |
| `items[].images[].id` | string | yes | The image id (stable while the image is kept).. Example: `"8Hq2kT0pXbLm3Va1"` |
| `items[].images[].url` | string | yes | A public https URL of the image (Cloudinary).. Example: `"https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"` |
| `warnings` | array of object | yes | Always present. Create lists what was skipped (image URLs that could not be fetched and so on); every other response has []. PATCH never skips an image: it is refused with 422 image_fetch_failed instead. |
| `warnings[].code` | string | yes | What happened.. One of: image_fetch_failed, image_concurrency_limited, image_budget_exceeded. Example: `"image_fetch_failed"` |
| `warnings[].url` | string | yes | The image URL it is about.. Example: `"https://img.example.com/pen-roll.jpg"` |
| `warnings[].message` | string | yes | What to do about it.. Example: `"This image could not be fetched; add it on the site instead."` |
| `archived` | boolean | no | Live listings only: whether it is archived (hidden from the dashboard's default tabs; the status does not change).. Example: `false` |
| `created_at` | string | yes | When it was created (as a draft). It stays the same when the draft is published. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T09:30:00Z"` |
| `updated_at` | string | yes | When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-24T10:05:00Z"` |

## DELETE /v1/listings/{listing_id}

Delete a draft

Deletes a draft. A live listing is 409 listing_not_draft.

`DELETE https://api.gathermark.com/v1/listings/{listing_id}`

Required scope: `listings:write`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `listing_id` | path | string | yes | The listing id (`id` of a listing; the same for a draft and once it is published). |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the listing does not exist or belongs to another seller, or the API is not enabled.
- `409` listing_not_draft.
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The id of the deleted listing or shipping profile.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `deleted` | boolean | yes | Always true.. Example: `true` |

## GET /v1/me

Your account

Display name, default currency, whether you can publish (and what is missing), the effective limits and today's usage.

`GET https://api.gathermark.com/v1/me`

Required scope: `listings:read`

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The seller's account id (not the key's id).. Example: `"u7Rk2PqLm9Xs4TbN"` |
| `display_name` | string | yes | The seller's display name on Gathermark.. Example: `"Inkwell Pens"` |
| `default_currency` | string | yes | The currency new listings use when `currency` is left out.. One of: AUD, BRL, CAD, CNY, CZK, DKK, EUR, HKD, HUF, ILS, JPY, MYR, NZD, NOK, PLN, GBP, SGD, SEK, CHF, THB, USD. Example: `"USD"` |
| `can_publish` | boolean | yes | Whether the account passes every account-level publish check (`missing` is empty).. Example: `true` |
| `missing` | array of string | yes | Account-level publish-check codes the account still fails, in order. An open set: new codes can be added.. Example: `["paypal_onboarding"]` |
| `scopes` | array of string | yes | The scopes of the key that made the request.. Example: `["listings:read","listings:write","shipping:read"]` |
| `limits` | object | yes | The limits that apply to the key that made the request (a key can have lower limits than the account). |
| `limits.rate_limit_per_minute` | integer | yes | Requests per minute, shared by all of the account's keys.. Example: `60` |
| `limits.daily_draft_quota` | integer | yes | Drafts the account can create per UTC day.. Example: `50` |
| `limits.max_items_per_listing` | integer | yes | Most items one listing can hold.. Example: `50` |
| `limits.max_images_per_listing` | integer | yes | Most images (gallery and item photos together) one listing can hold.. Example: `30` |
| `usage_today` | object | yes | Today's usage (UTC day). |
| `usage_today.date` | string | yes | The UTC day these counts are for (YYYY-MM-DD).. Example: `"2026-11-24"` |
| `usage_today.requests` | integer | yes | Requests made today.. Example: `42` |
| `usage_today.drafts_created` | integer | yes | Drafts created today.. Example: `3` |
| `usage_today.listings_published` | integer | yes | Listings published through the API today.. Example: `1` |
| `usage_today.rate_limited` | integer | yes | Requests refused with 429 rate_limited today.. Example: `0` |
| `usage_today.drafts_remaining` | integer | yes | Drafts that can still be created today.. Example: `47` |
| `usage_today.publishes_remaining` | integer | yes | Listings that can still be published through the API today.. Example: `24` |
| `quota_resets_at` | string | yes | When today's quotas reset (the next UTC midnight). ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).. Example: `"2026-11-25T00:00:00Z"` |
| `missing_permissions` | array of object | yes | The permissions the account could have (flag-gated ones only while enabled for it) that this key lacks, in canonical scope order, each with the MCP tools that need it. Empty when the key has them all. |
| `missing_permissions[].scope` | string | yes | The scope. |
| `missing_permissions[].description` | string | yes | What it allows, as the consent page words it.. Example: `"Publish listings so they go live on Gathermark"` |
| `missing_permissions[].tools` | array of string | yes | The MCP tools that need it.. Example: `["publish_listing","mark_listing_sold"]` |

## GET /v1/shipping-profiles

Your shipping profiles

Use an `id` as `shipping_profile_id` when creating a draft (same currency as the listing).

`GET https://api.gathermark.com/v1/shipping-profiles`

Required scope: `shipping:read`

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `shipping_profiles` | array of object | yes | The seller's profiles, default first. |
| `shipping_profiles[].id` | string | yes | The profile id (`shipping_profile_id` on a listing).. Example: `"sP9xK2mVq7LtR3Nb"` |
| `shipping_profiles[].name` | string | yes | The profile's name (unique per seller).. Example: `"US and Canada"` |
| `shipping_profiles[].is_default` | boolean | yes | Whether this is the seller's default profile.. Example: `true` |
| `shipping_profiles[].currency` | string | yes | The currency of the profile's amounts; a listing must use the same currency.. Example: `"USD"` |
| `shipping_profiles[].origin_country` | string | yes | ISO country code the items ship from.. Example: `"US"` |
| `shipping_profiles[].destinations` | array of string | yes | Destination codes: ISO country codes or US, CA, GB, EU, AU, JP, WORLDWIDE, OTHER.. Example: `["US","CA"]` |
| `shipping_profiles[].shipping_methods` | map of object | yes | The method for each destination, keyed by destination code. |
| `shipping_profiles[].shipping_methods.*.method` | string | yes | free, flat_fee, free_above (free over `free_above_amount`, else `flat_fee_amount`) or quote (the buyer asks for a quote).. One of: free, flat_fee, free_above, quote. Example: `"flat_fee"` |
| `shipping_profiles[].shipping_methods.*.flat_fee_amount` | integer | no | The fee in minor units (cents). Always present: set for flat_fee and free_above, null for free and quote.. Example: `1500` |
| `shipping_profiles[].shipping_methods.*.free_above_amount` | integer | no | Orders above this (minor units) ship free. Always present: set for free_above, null otherwise.. Example: `20000` |
| `shipping_profiles[].processing_min_days` | integer | yes | Fewest business days to dispatch.. Example: `1` |
| `shipping_profiles[].processing_max_days` | integer | yes | Most business days to dispatch.. Example: `3` |
| `shipping_profiles[].processing_time` | string | yes | The processing time as buyers see it.. Example: `"1-3 business days"` |
| `shipping_profiles[].summary` | string | yes | A one-line summary.. Example: `"Ships from US to US, CA; processing 1-3 business days; prices in USD."` |
| `shipping_profiles[].live_listing_count` | integer | yes | How many of the seller's active listings use this profile.. Example: `4` |

## POST /v1/shipping-profiles

Create a shipping profile

Needs the shipping:write scope. Same rules as the site's shipping profile form; amounts are in cents (minor units). `shipping_methods` has one entry per destination (method free, flat_fee with flat_fee_amount, free_above with flat_fee_amount and free_above_amount, or quote); at least one destination must not be quote.

`POST https://api.gathermark.com/v1/shipping-profiles`

Required scope: `shipping:write`

### Request body

| Field | Type | Required | Notes |
|---|---|---|---|
| `name` | string | yes | Name. 1 to 100 characters |
| `is_default` | boolean | no | Is Default. default false |
| `currency` | string | no | ISO currency code. 3 to 3 characters, default "USD" |
| `origin_country` | string | yes | ISO country code. 2 to 2 characters |
| `destinations` | array of string | yes | List of destination codes. at least 1 items |
| `shipping_methods` | map of object | yes | Shipping methods per destination |
| `shipping_methods.*.method` | string | yes | Method. One of: free, flat_fee, free_above, quote |
| `shipping_methods.*.flat_fee_amount` | integer | no | Flat fee in cents |
| `shipping_methods.*.free_above_amount` | integer | no | Free shipping threshold in cents |
| `processing_min_days` | integer | no | Processing Min Days. >= 0, <= 65, default 3 |
| `processing_max_days` | integer | no | Processing Max Days. >= 0, <= 65, default 5 |

### Responses

- `201` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope (needs shipping:write).
- `404` not_found: the API is not enabled for the account.
- `409` profile_name_taken: another of your profiles has this name.
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `201` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `201` `X-RateLimit-Remaining`: Requests left in the current minute.
- `201` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `201` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The profile id (`shipping_profile_id` on a listing).. Example: `"sP9xK2mVq7LtR3Nb"` |
| `name` | string | yes | The profile's name (unique per seller).. Example: `"US and Canada"` |
| `is_default` | boolean | yes | Whether this is the seller's default profile.. Example: `true` |
| `currency` | string | yes | The currency of the profile's amounts; a listing must use the same currency.. Example: `"USD"` |
| `origin_country` | string | yes | ISO country code the items ship from.. Example: `"US"` |
| `destinations` | array of string | yes | Destination codes: ISO country codes or US, CA, GB, EU, AU, JP, WORLDWIDE, OTHER.. Example: `["US","CA"]` |
| `shipping_methods` | map of object | yes | The method for each destination, keyed by destination code. |
| `shipping_methods.*.method` | string | yes | free, flat_fee, free_above (free over `free_above_amount`, else `flat_fee_amount`) or quote (the buyer asks for a quote).. One of: free, flat_fee, free_above, quote. Example: `"flat_fee"` |
| `shipping_methods.*.flat_fee_amount` | integer | no | The fee in minor units (cents). Always present: set for flat_fee and free_above, null for free and quote.. Example: `1500` |
| `shipping_methods.*.free_above_amount` | integer | no | Orders above this (minor units) ship free. Always present: set for free_above, null otherwise.. Example: `20000` |
| `processing_min_days` | integer | yes | Fewest business days to dispatch.. Example: `1` |
| `processing_max_days` | integer | yes | Most business days to dispatch.. Example: `3` |
| `processing_time` | string | yes | The processing time as buyers see it.. Example: `"1-3 business days"` |
| `summary` | string | yes | A one-line summary.. Example: `"Ships from US to US, CA; processing 1-3 business days; prices in USD."` |
| `live_listing_count` | integer | yes | How many of the seller's active listings use this profile.. Example: `4` |

## PATCH /v1/shipping-profiles/{profile_id}

Change a shipping profile

Needs the shipping:write scope. Same rules as the site's shipping profile form; amounts are in cents (minor units). Only the fields sent change. Listings already using the profile keep their own copy of its shipping (as on the site).

`PATCH https://api.gathermark.com/v1/shipping-profiles/{profile_id}`

Required scope: `shipping:write`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `profile_id` | path | string | yes | The shipping profile id (`id` from GET /v1/shipping-profiles). |

### Request body

| Field | Type | Required | Notes |
|---|---|---|---|
| `name` | string | no | Name. 1 to 100 characters |
| `is_default` | boolean | no | Is Default |
| `currency` | string | no | ISO currency code. 3 to 3 characters |
| `origin_country` | string | no | Origin Country. 2 to 2 characters |
| `destinations` | array of string | no | Destinations. at least 1 items |
| `shipping_methods` | map of object | no | Shipping Methods |
| `shipping_methods.*.method` | string | yes | Method. One of: free, flat_fee, free_above, quote |
| `shipping_methods.*.flat_fee_amount` | integer | no | Flat fee in cents |
| `shipping_methods.*.free_above_amount` | integer | no | Free shipping threshold in cents |
| `processing_min_days` | integer | no | Processing Min Days. >= 0, <= 65 |
| `processing_max_days` | integer | no | Processing Max Days. >= 0, <= 65 |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope (needs shipping:write).
- `404` not_found: the shipping profile does not exist or belongs to another seller, or the API is not enabled.
- `409` profile_name_taken: another of your profiles has this name.
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The profile id (`shipping_profile_id` on a listing).. Example: `"sP9xK2mVq7LtR3Nb"` |
| `name` | string | yes | The profile's name (unique per seller).. Example: `"US and Canada"` |
| `is_default` | boolean | yes | Whether this is the seller's default profile.. Example: `true` |
| `currency` | string | yes | The currency of the profile's amounts; a listing must use the same currency.. Example: `"USD"` |
| `origin_country` | string | yes | ISO country code the items ship from.. Example: `"US"` |
| `destinations` | array of string | yes | Destination codes: ISO country codes or US, CA, GB, EU, AU, JP, WORLDWIDE, OTHER.. Example: `["US","CA"]` |
| `shipping_methods` | map of object | yes | The method for each destination, keyed by destination code. |
| `shipping_methods.*.method` | string | yes | free, flat_fee, free_above (free over `free_above_amount`, else `flat_fee_amount`) or quote (the buyer asks for a quote).. One of: free, flat_fee, free_above, quote. Example: `"flat_fee"` |
| `shipping_methods.*.flat_fee_amount` | integer | no | The fee in minor units (cents). Always present: set for flat_fee and free_above, null for free and quote.. Example: `1500` |
| `shipping_methods.*.free_above_amount` | integer | no | Orders above this (minor units) ship free. Always present: set for free_above, null otherwise.. Example: `20000` |
| `processing_min_days` | integer | yes | Fewest business days to dispatch.. Example: `1` |
| `processing_max_days` | integer | yes | Most business days to dispatch.. Example: `3` |
| `processing_time` | string | yes | The processing time as buyers see it.. Example: `"1-3 business days"` |
| `summary` | string | yes | A one-line summary.. Example: `"Ships from US to US, CA; processing 1-3 business days; prices in USD."` |
| `live_listing_count` | integer | yes | How many of the seller's active listings use this profile.. Example: `4` |

## DELETE /v1/shipping-profiles/{profile_id}

Delete a shipping profile

Needs the shipping:write scope. Same rules as the site's shipping profile form; amounts are in cents (minor units). Refused (409 profile_in_use) while live listings or your imported shop use it.

`DELETE https://api.gathermark.com/v1/shipping-profiles/{profile_id}`

Required scope: `shipping:write`

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `profile_id` | path | string | yes | The shipping profile id (`id` from GET /v1/shipping-profiles). |

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope (needs shipping:write).
- `404` not_found: the shipping profile does not exist or belongs to another seller, or the API is not enabled.
- `409` profile_in_use (live listings or your imported shop use it; see `reason` and `fix`).
- `422` validation_error (see `field`).
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The id of the deleted listing or shipping profile.. Example: `"Kp3VbN8xQw2LmT7z"` |
| `deleted` | boolean | yes | Always true.. Example: `true` |

## GET /v1/vocab

Allowed values and limits

Allowed `condition` and `nib_size` values, supported currencies and field limits.

`GET https://api.gathermark.com/v1/vocab`

Required scope: `listings:read`

### Responses

- `200` Successful Response
- `401` Missing or invalid API key (unauthorized), or an expired API key (key_expired).
- `403` api_access_suspended, or insufficient_scope.
- `404` not_found: the API is not enabled for the account.
- `429` rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.

Response headers:

- `200` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `200` `X-RateLimit-Remaining`: Requests left in the current minute.
- `200` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `429` `X-RateLimit-Remaining`: Requests left in the current minute.
- `429` `X-RateLimit-Reset`: When the current minute window ends, in Unix seconds (UTC).
- `429` `Retry-After`: Seconds to wait before retrying (for a daily limit: until the next UTC midnight).

Response `200` fields:

| Field | Type | Required | Notes |
|---|---|---|---|
| `conditions` | array of string | yes | Allowed `condition` values (fixed in code, not edited by admins).. Example: `["Mint (Uninked)","Excellent","Fine"]` |
| `nib_sizes` | array of string | yes | Allowed `nib_size` values (fixed in code).. Example: `["Extra Fine (EF)","Fine (F)"]` |
| `nib_size_short_forms` | map of string | yes | Short forms accepted for `nib_size`, and the value each becomes.. Example: `{"EF":"Extra Fine (EF)","F":"Fine (F)"}` |
| `currencies` | array of string | yes | Currencies a listing can use.. Example: `["USD","EUR","GBP","JPY"]` |
| `limits` | object | yes | Field limits for saving a draft (publishing has its own, stricter `publish_limits`). |
| `limits.title_min_length` | integer | yes | Shortest title.. Example: `5` |
| `limits.title_max_length` | integer | yes | Longest title.. Example: `200` |
| `limits.item_name_min_length` | integer | yes | Shortest item name.. Example: `3` |
| `limits.item_name_max_length` | integer | yes | Longest item name.. Example: `200` |
| `limits.description_max_length` | integer | yes | Longest listing description.. Example: `20000` |
| `limits.item_description_max_length` | integer | yes | Longest item description.. Example: `5000` |
| `limits.price_max` | string | yes | Highest item price, in any currency.. Example: `"1000000.00"` |
| `limits.quantity_max` | integer | yes | Highest item quantity.. Example: `10000` |
| `limits.max_items_per_listing` | integer | yes | Most items one listing can hold (for this key).. Example: `50` |
| `limits.max_images_per_listing` | integer | yes | Most images one listing can hold (for this key).. Example: `30` |
| `limits.idempotency_key_max_length` | integer | yes | Longest Idempotency-Key header.. Example: `100` |
| `publish_limits` | object | yes | The minimums a listing must meet to publish (stricter than saving a draft). |
| `publish_limits.title_min_length` | integer | yes | Shortest title that can publish.. Example: `5` |
| `publish_limits.title_max_length` | integer | yes | Longest title that can publish.. Example: `200` |
| `publish_limits.item_name_min_length` | integer | yes | Shortest item name that can publish.. Example: `5` |
| `publish_limits.item_description_min_length` | integer | yes | Shortest item description that can publish.. Example: `10` |
| `publish_limits.item_price_min_exclusive` | string | yes | Every item price must be above this.. Example: `"0.00"` |
| `publish_limits.item_quantity_min` | integer | yes | Lowest item quantity that can publish.. Example: `1` |

