{"openapi":"3.1.0","info":{"title":"Gathermark Seller API","description":"Create and manage draft listings on Gathermark with a seller API key (`Authorization: Bearer gm_live_...`). Listings are created as drafts: open the draft's `edit_url`, add photos if needed and publish on the site. Keys with the `listings:publish` scope, on accounts where publishing through the API is enabled, can also publish: `\"publish\": true` on create, or `POST /v1/listings/{listing_id}/publish`. A publish runs the site's publish checks (422 publish_checks_failed lists every failed check; the listing stays a draft) and counts against a daily publish limit (429 daily_publish_cap_exceeded). Once a listing is published its `listing_url` is the public listing page buyers see (null for a draft). Errors are `{\"error\": {\"code\", \"message\", \"field\"}}`; responses to requests whose key was accepted carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Rate limits are shared by all of a seller's keys, and a key can have its own lower limit; GET /v1/me reports the limits of the key that calls it.","version":"1.0.0"},"servers":[{"url":"https://api.gathermark.com"}],"paths":{"/v1/me":{"get":{"tags":["Account"],"summary":"Your account","description":"Display name, default currency, whether you can publish (and what is missing), whether this key can publish through the API (`can_publish_via_api`), the effective limits and today's usage.","operationId":"getAccount","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/v1/shipping-profiles":{"get":{"tags":["Shipping"],"summary":"Your shipping profiles","description":"Use an `id` as `shipping_profile_id` when creating a draft (same currency as the listing).","operationId":"listShippingProfiles","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingProfileList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"tags":["Shipping"],"summary":"Create a shipping profile","description":"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.","operationId":"createShippingProfile","requestBody":{"description":"The new shipping profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShippingProfileIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingProfile"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope (needs shipping:write).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"profile_name_taken: another of your profiles has this name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/shipping-profiles/{profile_id}":{"patch":{"tags":["Shipping"],"summary":"Change a shipping profile","description":"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).","operationId":"updateShippingProfile","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","description":"The shipping profile id (`id` from GET /v1/shipping-profiles).","examples":["sP9xK2mVq7LtR3Nb"],"title":"Profile Id"},"description":"The shipping profile id (`id` from GET /v1/shipping-profiles)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingProfile"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope (needs shipping:write).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the shipping profile does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"profile_name_taken: another of your profiles has this name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"description":"The fields to change.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateShippingProfileIn"}}}}},"delete":{"tags":["Shipping"],"summary":"Delete a shipping profile","description":"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.","operationId":"deleteShippingProfile","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","description":"The shipping profile id (`id` from GET /v1/shipping-profiles).","examples":["sP9xK2mVq7LtR3Nb"],"title":"Profile Id"},"description":"The shipping profile id (`id` from GET /v1/shipping-profiles)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResult"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope (needs shipping:write).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the shipping profile does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"profile_in_use (live listings or your imported shop use it; see `reason` and `fix`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/communities":{"get":{"tags":["Reference data"],"summary":"Communities","description":"Communities a listing can be posted in; `is_default` marks the one used when `community_id` is omitted.","operationId":"listCommunities","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/v1/vocab":{"get":{"tags":["Reference data"],"summary":"Allowed values and limits","description":"Allowed `condition` and `nib_size` values, supported currencies and field limits.","operationId":"getVocabulary","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vocabulary"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/v1/listings":{"post":{"tags":["Listings"],"summary":"Create a draft listing","description":"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). `\"publish\": true` also publishes it (needs the listings:publish scope; 403 publish_not_enabled and 429 daily_publish_cap_exceeded create nothing; 422 publish_checks_failed keeps the draft and lists every failed check); the response is then the live listing (`status: active`).","operationId":"createListing","responses":{"201":{"description":"The new draft (or, with publish: true, the live listing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, insufficient_scope (publish: true needs listings:publish), or publish_not_enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited (per minute), daily_quota_exceeded (drafts per UTC day) or, with publish: true, daily_publish_cap_exceeded; see Retry-After. Nothing was created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`), or with publish: true publish_checks_failed (see `failed_checks`; the draft is kept).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"idempotency_conflict.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"A replay: the same Idempotency-Key and body as an earlier request; the listing that request created, as it is now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}}},"requestBody":{"required":true,"description":"The draft listing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDraftIn"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"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.","schema":{"type":"string","maxLength":100,"examples":["9f1c2d7e-roll-42"]}}]},"get":{"tags":["Listings"],"summary":"Your listings","description":"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.","operationId":"listListings","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"`next_cursor` from the previous page. Leave out for the first page.","title":"Cursor"},"description":"`next_cursor` from the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Listings per page (default 20, max 100).","default":20,"title":"Limit"},"description":"Listings per page (default 20, max 100)."},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}],"description":"api (default): listings made through the API or MCP; all: every listing you own.","enum":["api","all"],"title":"Source"},"description":"api (default): listings made through the API or MCP; all: every listing you own."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/listings/{listing_id}":{"get":{"tags":["Listings"],"summary":"One listing","description":"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.","operationId":"getListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Listings"],"summary":"Change a draft","description":"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.","operationId":"updateListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_draft.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"description":"The fields to change.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDraftIn"}}}}},"delete":{"tags":["Listings"],"summary":"Delete a draft","description":"Deletes a draft. A live listing is 409 listing_not_draft.","operationId":"deleteListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResult"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, or insufficient_scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_draft.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/listings/{listing_id}/publish":{"post":{"tags":["Listings"],"summary":"Publish a draft","description":"Publishes a draft made through the API or MCP, after the site's publish checks. Needs the listings:publish scope and publishing enabled for the account (403 publish_not_enabled). Idempotent: a listing that is already published comes back as it is (200; no checks, nothing counted), whatever its status: publish does not reactivate a listing that is already published (sold, paused and so on). A failed check is 422 publish_checks_failed with every failed check and the draft's edit_url; the listing stays a draft. Counts against the daily publish limit (429 daily_publish_cap_exceeded). Optional `Idempotency-Key` header, as on create. The published listing's `listing_url` is its public page.","operationId":"publishListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."},{"name":"Idempotency-Key","in":"header","required":false,"description":"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.","schema":{"type":"string","maxLength":100,"examples":["9f1c2d7e-roll-42"]}}],"responses":{"200":{"description":"The live listing (also when it was already live).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, insufficient_scope (needs listings:publish), or publish_not_enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited (per minute), or daily_publish_cap_exceeded (publishing a draft; listings published per UTC day); see Retry-After. Nothing was published.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"publish_checks_failed (see `failed_checks`; the listing stays a draft), or validation_error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"idempotency_conflict.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/listings/{listing_id}/mark-sold":{"post":{"tags":["Listings"],"summary":"Mark a live listing sold","description":"Needs the listings:publish scope and publishing enabled for the account (403 publish_not_enabled). Works on any listing you own, made on the site or through the API. Buyers see the change at once. Only an active listing (as the site's status menu). Idempotent: a listing already sold comes back unchanged (200).","operationId":"markListingSold","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, publish_not_enabled, or insufficient_scope (needs listings:publish).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_live (a draft) or listing_not_active (see `fix`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/listings/{listing_id}/archive":{"post":{"tags":["Listings"],"summary":"Archive a listing","description":"Needs the listings:publish scope and publishing enabled for the account (403 publish_not_enabled). Works on any listing you own, made on the site or through the API. Buyers see the change at once. Hides the listing from your dashboard's default tabs and takes it off sale, as the site's Archive: an active listing's status becomes inactive until it is unarchived. Idempotent.","operationId":"archiveListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, publish_not_enabled, or insufficient_scope (needs listings:publish).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_live (a draft).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/listings/{listing_id}/unarchive":{"post":{"tags":["Listings"],"summary":"Unarchive a listing","description":"Needs the listings:publish scope and publishing enabled for the account (403 publish_not_enabled). Works on any listing you own, made on the site or through the API. Buyers see the change at once. Brings an archived listing back into your dashboard's tabs, and back on sale if archiving took it off sale. Idempotent.","operationId":"unarchiveListing","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Listing"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, publish_not_enabled, or insufficient_scope (needs listings:publish).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_live (a draft).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/orders":{"get":{"tags":["Orders"],"summary":"Your orders","description":"Needs the orders:read scope and orders enabled for the account (403 orders_not_enabled). The orders on your site Orders page, newest first. `status` filters like the site: active, pending_shipment, shipped, completed, refunded, cancelled (default all). Pass `next_cursor` as `cursor` for the next page. Buyer email and phone appear only where the site shows them.","operationId":"listOrders","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"Filter like the site's Orders page (default all).","enum":["all","active","pending_shipment","shipped","completed","refunded","cancelled"],"title":"Status"},"description":"Filter like the site's Orders page (default all)."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"`next_cursor` from the previous page. Leave out for the first page.","title":"Cursor"},"description":"`next_cursor` from the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Orders per page (default 20, max 100).","default":20,"title":"Limit"},"description":"Orders per page (default 20, max 100)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders through the API are not enabled for the account), or insufficient_scope (needs orders:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/orders/{order_id}":{"get":{"tags":["Orders"],"summary":"One order","description":"Needs the orders:read scope. Status, `totals` (named lines that add up to what the buyer paid), `payout` (what you receive), items (one line per item, with any paid `addon` the buyer chose; older orders without per-item prices say so in `items_note`), buyer (name, shipping address; email and phone only where the site shows them), tracking, ship-by date and `order_url`.","operationId":"getOrder","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","description":"The order id (`id` from GET /v1/orders).","examples":["o8Tq3LmV2xKb7NpR"],"title":"Order Id"},"description":"The order id (`id` from GET /v1/orders)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders through the API are not enabled for the account), or insufficient_scope (needs orders:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the order does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/orders/{order_id}/shipment":{"post":{"tags":["Orders"],"summary":"Mark an order shipped","description":"Needs the orders:fulfil scope. With `tracking_number`: the site's add-tracking flow (an authorized order is captured first, the tracking goes to PayPal and the buyer is told). Without: marks a paid order shipped without tracking. Tracking on a shipped or completed order can be changed as on the site. Idempotent: the same tracking again, or no tracking on an order already shipped, returns the order unchanged (200).","operationId":"shipOrder","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","description":"The order id (`id` from GET /v1/orders).","examples":["o8Tq3LmV2xKb7NpR"],"title":"Order Id"},"description":"The order id (`id` from GET /v1/orders)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders through the API are not enabled for the account), or insufficient_scope (needs orders:fulfil).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the order does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"order_not_shippable (see `fix`): the order is not paid, authorized or shipped.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"paypal_error: PayPal refused the capture or tracking; the order was not marked shipped.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"paypal_busy: no PayPal slot freed up in time; nothing changed. Retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}},"requestBody":{"required":true,"description":"The shipment. Send {} to mark shipped without tracking.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentIn"}}}}}},"/v1/orders/{order_id}/messages":{"get":{"tags":["Messages"],"summary":"An order's messages","description":"Needs the messages:read scope and orders enabled for the account (403 orders_not_enabled). The messages between you and the buyer on one order, oldest first, each with its replies (up to 100). `limit` top-level messages per page (default 50, max 100); pass `next_cursor` as `cursor` for the next page. Reading them here does not mark them read on the site.","operationId":"listOrderMessages","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","description":"The order id (`id` from GET /v1/orders).","examples":["o8Tq3LmV2xKb7NpR"],"title":"Order Id"},"description":"The order id (`id` from GET /v1/orders)."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"`next_cursor` from the previous page. Leave out for the first page.","title":"Cursor"},"description":"`next_cursor` from the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Top-level messages per page (default 50, max 100).","default":50,"title":"Limit"},"description":"Top-level messages per page (default 50, max 100)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderMessageList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), insufficient_scope (needs messages:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the order does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Messages"],"summary":"Send an order message","description":"Needs the messages:write scope. Sends a message to the buyer as you, exactly as the site's order chat does (the buyer gets the same notification and email). `reply_to` threads it under a top-level message.","operationId":"sendOrderMessage","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","description":"The order id (`id` from GET /v1/orders).","examples":["o8Tq3LmV2xKb7NpR"],"title":"Order Id"},"description":"The order id (`id` from GET /v1/orders)."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), insufficient_scope (needs messages:write).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the order does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`; reply_to must be a top-level message on this order).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"description":"The message.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderMessageIn"}}}}}},"/v1/listings/{listing_id}/comments":{"get":{"tags":["Messages"],"summary":"A listing's comments","description":"Needs the messages:read scope. The comments on one of your listings as you see them on the site (public and private, newest first), each with its replies. A draft has none.","operationId":"listListingComments","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page number, from 1.","default":1,"title":"Page"},"description":"Page number, from 1."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Top-level comments per page (default 20, max 50).","default":20,"title":"Per Page"},"description":"Top-level comments per page (default 20, max 50)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), insufficient_scope (needs messages:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Messages"],"summary":"Comment on your listing","description":"Needs the messages:write scope and a verified email. Posts a public comment on one of your published listings as you, or with `reply_to` a reply to one of its comments. The site's comment rate limits and duplicate check apply.","operationId":"createListingComment","parameters":[{"name":"listing_id","in":"path","required":true,"schema":{"type":"string","description":"The listing id (`id` of a listing; the same for a draft and once it is published).","examples":["Kp3VbN8xQw2LmT7z"],"title":"Listing Id"},"description":"The listing id (`id` of a listing; the same for a draft and once it is published)."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), insufficient_scope (needs messages:write), or email_not_verified.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the listing does not exist or belongs to another seller, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited (per minute; see Retry-After), or comment_rate_limited (the site's comment limits).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`; reply_to must be a comment on this listing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"listing_not_live (a draft) or duplicate_comment (the same text in the last 24 hours).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"description":"The comment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentIn"}}}}}},"/v1/offers":{"get":{"tags":["Offers"],"summary":"Offers on your listings","description":"Needs the offers:read scope and orders enabled for the account (403 orders_not_enabled). The offers buyers have made on your listings, newest first, as on your site Offers page. `status`: all, pending, accepted, declined, expired, completed (default all). A pending offer past its expires_at shows as expired.","operationId":"listOffers","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"Filter by status (default all).","enum":["all","pending","accepted","declined","expired","completed"],"title":"Status"},"description":"Filter by status (default all)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"description":"Page number, from 1.","default":1,"title":"Page"},"description":"Page number, from 1."},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Offers per page (default 24, max 100).","default":24,"title":"Per Page"},"description":"Offers per page (default 24, max 100)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferList"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), or insufficient_scope (needs offers:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the API is not enabled for the account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/offers/{offer_id}":{"get":{"tags":["Offers"],"summary":"One offer","description":"Needs the offers:read scope. Status, amounts, items, buyer name, the buyer's note, expiry and, once accepted, the order it became.","operationId":"getOffer","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","description":"The offer id (`id` from GET /v1/offers).","examples":["of5Lq8TxV2mKb9Np"],"title":"Offer Id"},"description":"The offer id (`id` from GET /v1/offers)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), or insufficient_scope (needs offers:read).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the offer does not exist or was made on another seller's listing, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/offers/{offer_id}/accept":{"post":{"tags":["Offers"],"summary":"Accept an offer (charges the buyer)","description":"Needs the offers:respond scope. Accepting CHARGES the buyer: the site's accept flow captures their PayPal hold, takes the items out of stock, creates the order and emails both of you. Idempotent: an offer already accepted comes back unchanged (200).","operationId":"acceptOffer","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","description":"The offer id (`id` from GET /v1/offers).","examples":["of5Lq8TxV2mKb9Np"],"title":"Offer Id"},"description":"The offer id (`id` from GET /v1/offers)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), or insufficient_scope (needs offers:respond).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the offer does not exist or was made on another seller's listing, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"offer_not_acceptable (see `status` and `fix`): only a pending, unexpired offer can be accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"paypal_error: PayPal refused the capture; the offer is unchanged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"paypal_busy: no PayPal slot freed up in time; nothing changed. Retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/v1/offers/{offer_id}/decline":{"post":{"tags":["Offers"],"summary":"Decline an offer","description":"Needs the offers:respond scope. The site's decline flow: the buyer's PayPal hold is released, your reply (`reason`, or the site's standard wording) is posted in the offer thread and the buyer is emailed. Idempotent: an offer already declined comes back unchanged (200). The body is optional.","operationId":"declineOffer","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","description":"The offer id (`id` from GET /v1/offers).","examples":["of5Lq8TxV2mKb9Np"],"title":"Offer Id"},"description":"The offer id (`id` from GET /v1/offers)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"description":"Missing or invalid API key (unauthorized), or an expired API key (key_expired).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"api_access_suspended, orders_not_enabled (orders, offers and messages through the API are not enabled for the account), or insufficient_scope (needs offers:respond).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: the offer does not exist or was made on another seller's listing, or the API is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: too many requests this minute (shared by all of the account's keys); see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"422":{"description":"validation_error (see `field`; reason is at most 1000 characters).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"offer_not_declinable (see `status` and `fix`): only a pending, unexpired offer can be declined.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":false,"description":"Optional reason.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineOfferIn"}}}}}}},"components":{"schemas":{"Account":{"properties":{"id":{"type":"string","title":"Id","description":"The seller's account id (not the key's id).","examples":["u7Rk2PqLm9Xs4TbN"]},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name","description":"The seller's display name on Gathermark.","examples":["Inkwell Pens"]},"default_currency":{"type":"string","enum":["AUD","BRL","CAD","CNY","CZK","DKK","EUR","HKD","HUF","ILS","JPY","MYR","NZD","NOK","PLN","GBP","SGD","SEK","CHF","THB","USD"],"title":"Default Currency","description":"The currency new listings use when `currency` is left out.","examples":["USD"]},"can_publish":{"type":"boolean","title":"Can Publish","description":"Whether the account passes every account-level publish check (`missing` is empty).","examples":[true]},"missing":{"items":{"type":"string"},"type":"array","title":"Missing","description":"Account-level publish-check codes the account still fails, in order. An open set: new codes can be added.","examples":[["paypal_onboarding"]]},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes","description":"The scopes of the key that made the request.","examples":[["listings:read","listings:write","shipping:read"]]},"limits":{"$ref":"#/components/schemas/AccountLimits","description":"The limits for this key."},"usage_today":{"$ref":"#/components/schemas/UsageToday","description":"Today's usage of the account (all keys)."},"can_publish_via_api":{"type":"boolean","title":"Can Publish Via Api","description":"Whether this key can publish: it has the listings:publish scope and publishing through the API is enabled for the account.","examples":[false]},"quota_resets_at":{"type":"string","title":"Quota Resets At","description":"When today's quotas reset (the next UTC midnight). ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-25T00:00:00Z"]},"missing_permissions":{"items":{"$ref":"#/components/schemas/MissingPermission"},"type":"array","title":"Missing Permissions","description":"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."}},"additionalProperties":true,"type":"object","required":["id","display_name","default_currency","can_publish","missing","scopes","limits","usage_today","can_publish_via_api","quota_resets_at","missing_permissions"],"title":"Account","description":"The seller account behind the API key."},"AccountLimits":{"properties":{"rate_limit_per_minute":{"type":"integer","title":"Rate Limit Per Minute","description":"Requests per minute, shared by all of the account's keys.","examples":[60]},"daily_draft_quota":{"type":"integer","title":"Daily Draft Quota","description":"Drafts the account can create per UTC day.","examples":[50]},"max_items_per_listing":{"type":"integer","title":"Max Items Per Listing","description":"Most items one listing can hold.","examples":[50]},"max_images_per_listing":{"type":"integer","title":"Max Images Per Listing","description":"Most images (gallery and item photos together) one listing can hold.","examples":[30]},"daily_publish_cap":{"type":"integer","title":"Daily Publish Cap","description":"Listings the account can publish through the API per UTC day.","examples":[25]}},"additionalProperties":true,"type":"object","required":["rate_limit_per_minute","daily_draft_quota","max_items_per_listing","max_images_per_listing","daily_publish_cap"],"title":"AccountLimits","description":"The limits that apply to the key that made the request (a key can have lower limits than the account)."},"Comment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"The comment id (`reply_to` for a reply).","examples":["cm7Tq2LxV9mKb4Np"]},"author_name":{"type":"string","title":"Author Name","description":"The author's display name.","examples":["penfriend"]},"by_you":{"type":"boolean","title":"By You","description":"Whether you wrote it.","examples":[false]},"text":{"type":"string","title":"Text","description":"Plain text.","examples":["Is the Parker still available?"]},"private":{"type":"boolean","title":"Private","description":"Whether only you and the author see it.","examples":[false]},"type":{"type":"string","title":"Type","description":"The comment's kind on the site, e.g. general, offer, seller_offer, buyer_proposal.","examples":["general"]},"status":{"type":"string","title":"Status","description":"Moderation status: approved (shown), pending (held for moderation; every new comment, your own included, can be held and is released automatically after a hold period), flagged or auto_flagged (held for review), rejected (removed by moderators).","examples":["approved"]},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply To","description":"The comment this replies to, or null.","examples":["cm1Aa2Bb3Cc4Dd5E"]},"reply_count":{"type":"integer","title":"Reply Count","description":"How many replies it has.","examples":[1]},"edited":{"type":"boolean","title":"Edited","description":"Whether it was edited.","examples":[false]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"When it was posted. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"replies":{"anyOf":[{"items":{"$ref":"#/components/schemas/Comment"},"type":"array"},{"type":"null"}],"title":"Replies","description":"Top-level comments in a list only: replies."},"has_more_replies":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has More Replies","description":"Top-level comments in a list only: whether there are more replies than `replies` holds.","examples":[false]}},"additionalProperties":true,"type":"object","required":["id","author_name","by_you","text","private","type","status","reply_to","reply_count","edited","created_at"],"title":"Comment","description":"A comment on a listing, as the listing's owner sees it."},"CommentList":{"properties":{"listing_id":{"type":"string","title":"Listing Id","description":"The listing id.","examples":["Kp3VbN8xQw2LmT7z"]},"comments":{"items":{"$ref":"#/components/schemas/Comment"},"type":"array","title":"Comments","description":"Newest first, each with its replies."},"total":{"type":"integer","title":"Total","description":"Top-level comments in all pages.","examples":[12]},"page":{"type":"integer","title":"Page","description":"This page (from 1).","examples":[1]},"per_page":{"type":"integer","title":"Per Page","description":"Comments per page.","examples":[20]},"total_pages":{"type":"integer","title":"Total Pages","description":"Number of pages.","examples":[1]}},"additionalProperties":true,"type":"object","required":["listing_id","comments","total","page","per_page","total_pages"],"title":"CommentList"},"Community":{"properties":{"id":{"type":"string","title":"Id","description":"The community id (`community_id` on a listing).","examples":["c4Tn8VbQ2mXr6PzL"]},"name":{"type":"string","title":"Name","description":"The community's name.","examples":["Fountain Pens"]},"slug":{"type":"string","title":"Slug","description":"The community's URL slug.","examples":["fountain-pens"]},"is_default":{"type":"boolean","title":"Is Default","description":"Whether listings without `community_id` are posted here.","examples":[true]}},"additionalProperties":true,"type":"object","required":["id","name","slug","is_default"],"title":"Community","description":"A community a listing can be posted in."},"CommunityList":{"properties":{"communities":{"items":{"$ref":"#/components/schemas/Community"},"type":"array","title":"Communities","description":"Every community, the default one marked."}},"additionalProperties":true,"type":"object","required":["communities"],"title":"CommunityList"},"DeleteResult":{"properties":{"id":{"type":"string","title":"Id","description":"The id of the deleted listing or shipping profile.","examples":["Kp3VbN8xQw2LmT7z"]},"deleted":{"type":"boolean","title":"Deleted","description":"Always true.","examples":[true]}},"additionalProperties":true,"type":"object","required":["id","deleted"],"title":"DeleteResult","description":"The id of what was deleted."},"Image":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"The image id (stable while the image is kept).","examples":["8Hq2kT0pXbLm3Va1"]},"url":{"type":"string","title":"Url","description":"A public https URL of the image (Cloudinary).","examples":["https://res.cloudinary.com/gathermark/image/upload/listings/api_12345678.jpg"]}},"additionalProperties":true,"type":"object","required":["id","url"],"title":"Image","description":"One photo. The same shape for a listing's gallery and for an item's photos."},"Item":{"properties":{"id":{"type":"string","title":"Id","description":"The item id.","examples":["i2Lm7QxT4pVb9KsN"]},"name":{"type":"string","title":"Name","description":"The item's name.","examples":["Parker 51 Aerometric"]},"price":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Price","description":"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).","examples":["185.00"]},"quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity","description":"How many are for sale.","examples":[1]},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition","description":"The condition, one of /v1/vocab `conditions` (listings made on the site or imported can hold other text), or null.","examples":["Excellent"]},"nib_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nib Size","description":"The nib size, one of /v1/vocab `nib_sizes` (listings made on the site or imported can hold other text), or null.","examples":["Fine (F)"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Plain text; blank lines separate paragraphs.","examples":["Burgundy, restored sac."]},"images":{"items":{"$ref":"#/components/schemas/Image"},"type":"array","title":"Images","description":"The item's photos, in order.","examples":[[{"id":"m3Xq8LpT2vNb7KsR","url":"https://res.cloudinary.com/gathermark/image/upload/listings/api_1.jpg"}]]}},"additionalProperties":true,"type":"object","required":["id","name","price","quantity","condition","nib_size","description","images"],"title":"Item","description":"One item of a listing."},"Listing":{"properties":{"id":{"type":"string","title":"Id","description":"The listing id (`listing_id` in paths). It stays the same when a draft is published.","examples":["Kp3VbN8xQw2LmT7z"]},"status":{"type":"string","enum":["draft","active","sold","expired","inactive"],"title":"Status","description":"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.","examples":["draft"]},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where it was made: api, mcp, or the site's own value for listings made on the site or imported.","examples":["api"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"The title (5 to 200 characters).","examples":["Vintage pen roll: Parker, Pelikan"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Plain text; blank lines separate paragraphs.","examples":["Six pens from one collection."]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"ISO currency code of every price on the listing.","examples":["USD"]},"community_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Community Id","description":"The community id. A draft without one shows the default community it will be published in (null only when there is no default).","examples":["c4Tn8VbQ2mXr6PzL"]},"shipping_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipping Profile Id","description":"The shipping profile the listing's shipping came from, or null.","examples":["sP9xK2mVq7LtR3Nb"]},"edit_url":{"type":"string","title":"Edit Url","description":"The listing's edit page on Gathermark.","examples":["https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"]},"listing_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listing Url","description":"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.","examples":["https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"]},"can_publish":{"type":"boolean","title":"Can Publish","description":"Whether every publish check passes (`missing` is empty).","examples":[false]},"missing":{"items":{"type":"string"},"type":"array","title":"Missing","description":"Publish-check codes the listing still fails, in order (account checks first). An open set: new codes can be added.","examples":[["image","shipping"]]},"failed_checks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Failed Checks","description":"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. Same shape as a failed publish's failed_checks.","examples":[[{"check":"item_price","field":"items[1].price","fix":"Give each item a price.","item_id":"i8Hn3QxV5mLb2TsK","message":"Every item needs a price."}]]},"images":{"items":{"$ref":"#/components/schemas/Image"},"type":"array","title":"Images","description":"The gallery, in order.","examples":[[{"id":"g7Hn2QxV4mLb9TsK","url":"https://res.cloudinary.com/gathermark/image/upload/listings/api_2.jpg"}]]},"items":{"items":{"$ref":"#/components/schemas/Item"},"type":"array","title":"Items","description":"The items, in order."},"warnings":{"items":{"$ref":"#/components/schemas/Warning"},"type":"array","title":"Warnings","description":"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.","examples":[[{"code":"image_fetch_failed","message":"This image could not be fetched; add it on the site instead.","url":"https://img.example.com/pen-roll.jpg"}]]},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archived","description":"Live listings only: whether it is archived (hidden from the dashboard's default tabs; the status does not change).","examples":[false]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"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).","examples":["2026-11-24T09:30:00Z"]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At","description":"When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T10:05:00Z"]}},"additionalProperties":true,"type":"object","required":["id","status","source","title","description","currency","community_id","shipping_profile_id","edit_url","listing_url","can_publish","missing","failed_checks","images","items","warnings","created_at","updated_at"],"title":"Listing","description":"A listing: a draft, or a published (live) listing. GET, create, PATCH, publish, mark-sold, archive and unarchive\nall return this shape. The summary in GET /v1/listings is ListingSummary."},"ListingList":{"properties":{"listings":{"items":{"$ref":"#/components/schemas/ListingSummary"},"type":"array","title":"Listings","description":"Newest first."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `cursor` for the next page; null on the last page.","examples":["MjAyNi0xMS0yNFQwOTozMDowMHxLcDNWYk44eFF3Mkxt"]}},"additionalProperties":true,"type":"object","required":["listings","next_cursor"],"title":"ListingList"},"ListingSummary":{"properties":{"id":{"type":"string","title":"Id","description":"The listing id.","examples":["Kp3VbN8xQw2LmT7z"]},"status":{"type":"string","enum":["draft","active","sold","expired","inactive"],"title":"Status","description":"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.","examples":["active"]},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where it was made: api, mcp, or the site's own value.","examples":["api"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"The title.","examples":["Vintage pen roll: Parker, Pelikan"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"ISO currency code.","examples":["USD"]},"item_count":{"type":"integer","title":"Item Count","description":"How many items it has.","examples":[6]},"edit_url":{"type":"string","title":"Edit Url","description":"The listing's edit page on Gathermark.","examples":["https://gathermark.com/dashboard/listings/Kp3VbN8xQw2LmT7z/edit"]},"listing_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listing Url","description":"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.","examples":["https://gathermark.com/listings/Kp3VbN8xQw2LmT7z/vintage-pen-roll-parker-pelikan"]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"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).","examples":["2026-11-24T09:30:00Z"]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At","description":"When it last changed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T10:05:00Z"]}},"additionalProperties":true,"type":"object","required":["id","status","source","title","currency","item_count","edit_url","listing_url","created_at","updated_at"],"title":"ListingSummary","description":"A listing in GET /v1/listings: the main fields only (no items, images or publish checks). GET\n/v1/listings/{listing_id} for the whole Listing."},"Message":{"properties":{"id":{"type":"string","title":"Id","description":"The message id (`reply_to` for a reply).","examples":["msg4Kq9TxL2mVb7N"]},"sender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender","description":"Who sent it: buyer, seller or system.","examples":["buyer"]},"sender_name":{"type":"string","title":"Sender Name","description":"The sender's display name.","examples":["penfriend"]},"text":{"type":"string","title":"Text","description":"Plain text.","examples":["Could you ship on Monday?"]},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply To","description":"The top-level message this replies to, or null.","examples":["msg1Aa2Bb3Cc4Dd5"]},"attachments":{"items":{"$ref":"#/components/schemas/MessageAttachment"},"type":"array","title":"Attachments","description":"Photos attached to the message."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"When it was sent. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"replies":{"anyOf":[{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},{"type":"null"}],"title":"Replies","description":"Top-level messages in a list only: the replies, oldest first."}},"additionalProperties":true,"type":"object","required":["id","sender","sender_name","text","reply_to","attachments","created_at"],"title":"Message","description":"A message on an order."},"MessageAttachment":{"properties":{"url":{"type":"string","title":"Url","description":"Image URL.","examples":["https://res.cloudinary.com/gathermark/image/upload/messages/a1.jpg"]},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width","description":"Width in pixels.","examples":[1200]},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height","description":"Height in pixels.","examples":[900]}},"additionalProperties":true,"type":"object","required":["url","width","height"],"title":"MessageAttachment"},"MissingPermission":{"properties":{"scope":{"type":"string","title":"Scope","description":"The scope.","examples":["listings:publish"]},"description":{"type":"string","title":"Description","description":"What it allows, as the consent page words it.","examples":["Publish listings so they go live on Gathermark"]},"tools":{"items":{"type":"string"},"type":"array","title":"Tools","description":"The MCP tools that need it.","examples":[["publish_listing","mark_listing_sold"]]}},"additionalProperties":true,"type":"object","required":["scope","description","tools"],"title":"MissingPermission","description":"A permission the account could have that the key making the request lacks."},"Offer":{"properties":{"id":{"type":"string","title":"Id","description":"The offer id.","examples":["of5Lq8TxV2mKb9Np"]},"status":{"type":"string","enum":["pending","accepted","declined","expired","completed"],"title":"Status","description":"pending (can be accepted or declined until `expires_at`), accepted, declined, expired or completed.","examples":["pending"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"ISO currency code of every amount.","examples":["USD"]},"amounts":{"$ref":"#/components/schemas/OfferAmounts","description":"Offer amounts."},"quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity","description":"Total quantity.","examples":[1]},"items":{"items":{"$ref":"#/components/schemas/OfferItem"},"type":"array","title":"Items","description":"What the offer is for."},"listing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listing Id","description":"The (first) listing the offer is on.","examples":["Kp3VbN8xQw2LmT7z"]},"listings":{"items":{"$ref":"#/components/schemas/OfferListing"},"type":"array","title":"Listings","description":"Every listing the offer covers."},"buyer_name":{"type":"string","title":"Buyer Name","description":"The buyer's display name.","examples":["penfriend"]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"The buyer's note, or null.","examples":["Would you take 160?"]},"decline_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decline Reason","description":"Declined offers: your reply, or null.","examples":["Too low, sorry."]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"When the offer was made. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At","description":"When a pending offer expires. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-26T09:30:00Z"]},"accepted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accepted At","description":"When it was accepted, or null. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"declined_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Declined At","description":"When it was declined, or null. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id","description":"Accepted and completed offers: the order it became.","examples":["o8Tq3LmV2xKb7NpR"]},"order_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Url","description":"The order on Gathermark, or null.","examples":["https://gathermark.com/dashboard/orders/o8Tq3LmV2xKb7NpR"]},"offer_url":{"type":"string","title":"Offer Url","description":"The offer on Gathermark.","examples":["https://gathermark.com/dashboard/offers/of5Lq8TxV2mKb9Np"]},"hold_released":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hold Released","description":"Decline only, when the decline happened in this request: whether the buyer's PayPal hold was released.","examples":[true]}},"additionalProperties":true,"type":"object","required":["id","status","currency","amounts","quantity","items","listing_id","listings","buyer_name","message","decline_reason","created_at","expires_at","accepted_at","declined_at","order_id","order_url","offer_url"],"title":"Offer","description":"An offer a buyer made on the seller's listing(s)."},"OfferAmounts":{"properties":{"offer":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Offer","description":"What the buyer offers for the items. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["160.00"]},"shipping":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Shipping","description":"Shipping on top of the offer. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["8.00"]},"original_price":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Original Price","description":"The items' listed price. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["185.00"]},"you_receive":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{2})?$"},{"type":"null"}],"title":"You Receive","description":"What you receive after fees, or null when not known yet. Same money format.","examples":["150.40"]}},"additionalProperties":true,"type":"object","required":["offer","shipping","original_price","you_receive"],"title":"OfferAmounts"},"OfferItem":{"properties":{"listing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listing Id","description":"The listing the item is on (null only when the item no longer exists).","examples":["Kp3VbN8xQw2LmT7z"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The item's name.","examples":["Parker 51 Aerometric"]},"quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity","description":"How many.","examples":[1]},"price":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Price","description":"Unit price. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["185.00"]},"total":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Total","description":"Line total. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["185.00"]},"options":{"anyOf":[{},{"type":"null"}],"title":"Options","description":"The chosen variation options, when the item has variations.","examples":[{"Colour":"Burgundy"}]}},"additionalProperties":true,"type":"object","required":["listing_id","name","quantity","price","total"],"title":"OfferItem"},"OfferList":{"properties":{"offers":{"items":{"$ref":"#/components/schemas/Offer"},"type":"array","title":"Offers","description":"Newest first."},"total":{"type":"integer","title":"Total","description":"Offers in all pages.","examples":[3]},"page":{"type":"integer","title":"Page","description":"This page (from 1).","examples":[1]},"per_page":{"type":"integer","title":"Per Page","description":"Offers per page.","examples":[24]},"total_pages":{"type":"integer","title":"Total Pages","description":"Number of pages.","examples":[1]}},"additionalProperties":true,"type":"object","required":["offers","total","page","per_page","total_pages"],"title":"OfferList"},"OfferListing":{"properties":{"id":{"type":"string","title":"Id","description":"Listing id.","examples":["Kp3VbN8xQw2LmT7z"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Listing title.","examples":["Vintage pen roll: Parker, Pelikan"]}},"additionalProperties":true,"type":"object","required":["id","title"],"title":"OfferListing"},"Order":{"properties":{"id":{"type":"string","title":"Id","description":"The order id.","examples":["o8Tq3LmV2xKb7NpR"]},"status":{"type":"string","title":"Status","description":"The order's payment status, e.g. authorized, captured, pending_capture, shipped, completed, refunded, cancelled. Treat an unknown value as informational: `status_label` is the display text.","examples":["captured"]},"status_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Label","description":"The status as the site shows it.","examples":["Paid"]},"status_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Description","description":"What the status means for the seller.","examples":["Ship the order."]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"When the order was placed. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At","description":"When it was paid, or null. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]},"currency":{"type":"string","title":"Currency","description":"ISO currency code of every amount.","examples":["USD"]},"totals":{"$ref":"#/components/schemas/OrderTotals","description":"What the buyer paid, named line by line."},"payout":{"$ref":"#/components/schemas/OrderPayout","description":"What the seller receives."},"items":{"items":{"$ref":"#/components/schemas/OrderItem"},"type":"array","title":"Items","description":"What was bought, one line per item."},"items_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Items Note","description":"Set when `items` can't be read line by line (older orders without per-item prices, or no lines stored): what to tell the seller. Else null.","examples":["This order was placed before Gathermark stored a price for each item, so its lines have no per-item price (price and total are null)."]},"buyer":{"$ref":"#/components/schemas/OrderBuyer","description":"The buyer."},"tracking":{"$ref":"#/components/schemas/OrderTracking","description":"Shipping and tracking."},"ship_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ship By","description":"Date to ship by (YYYY-MM-DD), or null.","examples":["2026-11-27"]},"effective_ship_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective Ship By","description":"The ship-by date after vacation and holidays, when it differs, else null (YYYY-MM-DD).","examples":["2026-11-30"]},"reminders_paused":{"type":"boolean","title":"Reminders Paused","description":"Whether shipping reminders are paused for this order.","examples":[false]},"order_url":{"type":"string","title":"Order Url","description":"The order on Gathermark.","examples":["https://gathermark.com/dashboard/orders/o8Tq3LmV2xKb7NpR"]}},"additionalProperties":true,"type":"object","required":["id","status","status_label","status_description","created_at","paid_at","currency","totals","payout","items","items_note","buyer","tracking","ship_by","effective_ship_by","reminders_paused","order_url"],"title":"Order","description":"An order on one of the seller's listings."},"OrderAmountLine":{"properties":{"name":{"type":"string","title":"Name","description":"A stable key: items, shipping, discount, community_fee or adjustment in `lines`; sale_savings or vat in `includes`. Treat an unknown key as informational: show `label`.","examples":["community_fee"]},"label":{"type":"string","title":"Label","description":"The line as a person reads it.","examples":["Community Fee (paid by the buyer)"]},"amount":{"type":"string","pattern":"^-?\\d+(\\.\\d{2})?$","title":"Amount","description":"The amount. In `lines`, a discount or a negative adjustment is negative (\"-5.00\"). A decimal string in the currency's own decimals.","examples":["19.25"]}},"additionalProperties":true,"type":"object","required":["name","label","amount"],"title":"OrderAmountLine","description":"One named amount (Fizzy #467)."},"OrderBuyer":{"properties":{"display_name":{"type":"string","title":"Display Name","description":"The buyer's display name.","examples":["penfriend"]},"shipping_address":{"anyOf":[{"$ref":"#/components/schemas/ShippingAddress"},{"type":"null"}],"description":"Where to ship, or null."},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Only where the site shows it to the seller.","examples":["alex@example.com"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Only where the site shows it to the seller.","examples":["+1 555 0100"]}},"additionalProperties":true,"type":"object","required":["display_name","shipping_address"],"title":"OrderBuyer"},"OrderItem":{"properties":{"listing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Listing Id","description":"The listing the item came from.","examples":["Kp3VbN8xQw2LmT7z"]},"item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Id","description":"The item id, or null when the item no longer exists.","examples":["i2Lm7QxT4pVb9KsN"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The item's name at purchase.","examples":["Parker 51 Aerometric"]},"quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity","description":"How many were bought, or null on a combined line.","examples":[1]},"price":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{2})?$"},{"type":"null"}],"title":"Price","description":"Unit price of the item itself, without any add-on (see `addon`), or null on older orders that did not store per-item prices (see the order's `items_note`). A decimal string in the currency's own decimals.","examples":["185.00"]},"total":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{2})?$"},{"type":"null"}],"title":"Total","description":"Line total as stored, normally `quantity` x (`price` + `addon.price`) (an older offer split across items can be a cent off), or null like `price`.","examples":["185.00"]},"addon":{"anyOf":[{"$ref":"#/components/schemas/OrderItemAddon"},{"type":"null"}],"description":"The paid add-on the buyer chose for this item (an engraving, a nib grind), or null."},"combined":{"type":"boolean","title":"Combined","description":"True when this one line stood for several items on an older order (its name ends \"+ N more\"): see `contents`.","examples":[false]},"contents":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contents","description":"A combined line: the names of every item in it, as the cart stored them, when known, separated by \"; \" with \"2 x \" before an item bought more than once (an old cart that kept them as one name lists them as it wrote them). Else null.","examples":["Esterbrook J — Copper; 2 x Pelikan M400 — Green Stripe"]}},"additionalProperties":true,"type":"object","required":["listing_id","item_id","name","quantity","price","total","addon","combined","contents"],"title":"OrderItem"},"OrderItemAddon":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The add-on, as the seller named it on the item.","examples":["Engraving"]},"choice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Choice","description":"The option the buyer chose.","examples":["Initials on cap"]},"price":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d{2})?$"},{"type":"null"}],"title":"Price","description":"Add-on price per unit, on top of the item's `price`. The line's `total` is normally `quantity` x (`price` + `addon.price`). Null, like the item's `price`, on older orders that did not store per-item prices. A decimal string in the currency's own decimals.","examples":["3.00"]},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"What the buyer asked for, word for word (the text to engrave), or null.","examples":["J.S."]}},"additionalProperties":true,"type":"object","required":["name","choice","price","text"],"title":"OrderItemAddon","description":"A paid add-on the buyer chose for the item (Fizzy #467), as the site's order page shows it."},"OrderList":{"properties":{"orders":{"items":{"$ref":"#/components/schemas/Order"},"type":"array","title":"Orders","description":"Newest first."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `cursor` for the next page; null on the last page.","examples":["MjAyNi0xMS0yNFQwOTozMDowMHxvOFRxM0xtVjJ4S2I3"]}},"additionalProperties":true,"type":"object","required":["orders","next_cursor"],"title":"OrderList"},"OrderMessageList":{"properties":{"order_id":{"type":"string","title":"Order Id","description":"The order id.","examples":["o8Tq3LmV2xKb7NpR"]},"messages":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Messages","description":"Top-level messages, oldest first, each with its replies."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `cursor` for the next page; null on the last page.","examples":["MjAyNi0xMS0yNFQwOTozMDowMHxtc2c0S3E5VHhMMm1W"]}},"additionalProperties":true,"type":"object","required":["order_id","messages","next_cursor"],"title":"OrderMessageList"},"OrderPayout":{"properties":{"seller_receives":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Seller Receives","description":"What Gathermark sends to the seller's PayPal for this order now: the payout less anything refunded from the seller's share, 0 once the order is cancelled or refunded. Before PayPal's own processing fee. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["385.00"]},"before_refunds":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Before Refunds","description":"The payout before any refunds. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["385.00"]},"community_fee_deducted":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Community Fee Deducted","description":"What Gathermark keeps of the Community Fee now: total less the payout before refunds, less community_fee_refunded. 0 once the whole fee has been refunded. The order page's Adjusted Platform Fee. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["19.25"]},"community_fee_refunded":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Community Fee Refunded","description":"The part of the Community Fee refunded to the buyer. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["0.00"]},"refunded_from_payout":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Refunded From Payout","description":"The part of refunds taken from the seller's payout. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["0.00"]},"note":{"type":"string","title":"Note","description":"How the figure is worked out, for showing to the seller.","examples":["What Gathermark sends to the seller's PayPal for this order: what the buyer paid, less the Community Fee and anything refunded from the seller's share. PayPal also deducts its own processing fee."]}},"additionalProperties":true,"type":"object","required":["seller_receives","before_refunds","community_fee_deducted","community_fee_refunded","refunded_from_payout","note"],"title":"OrderPayout","description":"What the seller receives (Fizzy #467), as the site's order page shows it."},"OrderTotals":{"properties":{"items":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Items","description":"What the buyer paid for the items (any sale price and VAT included). On an old order with no stored breakdown, everything but separately stored shipping (see `note`). A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["370.00"]},"shipping":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Shipping","description":"Shipping. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["15.00"]},"discount":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Discount","description":"Coupon discount taken off, or 0. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["0.00"]},"community_fee":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Community Fee","description":"Gathermark's Community Fee, paid by the buyer on top of items and shipping (after any fee discount), or 0. It is deducted from the seller's payout. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["19.25"]},"adjustment":{"type":"string","pattern":"^-?\\d+(\\.\\d{2})?$","title":"Adjustment","description":"Only on orders (mostly older ones) whose stored figures don't add up: the difference, so the lines still sum to total (see `note`). In a zero-decimal currency (JPY) it can also be a rounding of the whole-unit figures. Otherwise 0. A decimal string, may be negative.","examples":["0.00"]},"total":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Total","description":"What the buyer paid. A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["404.25"]},"refunded":{"type":"string","pattern":"^\\d+(\\.\\d{2})?$","title":"Refunded","description":"Refunded to the buyer so far (all parts). A decimal string in the currency's own decimals: \"185.00\", or \"1500\" for zero-decimal currencies (JPY, HUF).","examples":["0.00"]},"lines":{"items":{"$ref":"#/components/schemas/OrderAmountLine"},"type":"array","title":"Lines","description":"The named amounts that add up to `total`, in order: items, shipping, then discount, community_fee and adjustment when not 0."},"includes":{"items":{"$ref":"#/components/schemas/OrderAmountLine"},"type":"array","title":"Includes","description":"Amounts already inside `items`, shown for information and not added again: sale_savings, vat. Often empty."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"On an older order, why its figures look different: why `adjustment` is there, or that the Community Fee was taken from the seller's payout rather than paid by the buyer. Else null.","examples":["This order was placed before Gathermark stored a full price breakdown, so the stored figures do not add up to what the buyer paid. `adjustment` is the difference."]}},"additionalProperties":true,"type":"object","required":["items","shipping","discount","community_fee","adjustment","total","refunded","lines","includes","note"],"title":"OrderTotals","description":"What the buyer paid, named line by line (Fizzy #467): items + shipping - discount + community_fee +\nadjustment = total, and `lines` lists the same figures in order."},"OrderTracking":{"properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number","description":"Tracking number, or null.","examples":["1Z999AA10123456784"]},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier","description":"Carrier, or null.","examples":["UPS"]},"shipped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipped At","description":"When it was marked shipped, or null. ISO 8601 UTC timestamp (YYYY-MM-DDTHH:MM:SSZ).","examples":["2026-11-24T09:30:00Z"]}},"additionalProperties":true,"type":"object","required":["number","carrier","shipped_at"],"title":"OrderTracking"},"PublishLimits":{"properties":{"title_min_length":{"type":"integer","title":"Title Min Length","description":"Shortest title that can publish.","examples":[5]},"title_max_length":{"type":"integer","title":"Title Max Length","description":"Longest title that can publish.","examples":[200]},"item_name_min_length":{"type":"integer","title":"Item Name Min Length","description":"Shortest item name that can publish.","examples":[5]},"item_description_min_length":{"type":"integer","title":"Item Description Min Length","description":"Shortest item description that can publish.","examples":[10]},"item_price_min_exclusive":{"type":"string","title":"Item Price Min Exclusive","description":"Every item price must be above this.","examples":["0.00"]},"item_quantity_min":{"type":"integer","title":"Item Quantity Min","description":"Lowest item quantity that can publish.","examples":[1]}},"additionalProperties":true,"type":"object","required":["title_min_length","title_max_length","item_name_min_length","item_description_min_length","item_price_min_exclusive","item_quantity_min"],"title":"PublishLimits","description":"The minimums a listing must meet to publish (stricter than saving a draft)."},"ShippingAddress":{"properties":{"recipient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Name","description":"Recipient.","examples":["Alex Buyer"]},"address_line_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line 1","description":"Address line 1.","examples":["1 Main St"]},"address_line_2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line 2","description":"Address line 2.","examples":["Apt 4"]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"City.","examples":["Springfield"]},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or region.","examples":["IL"]},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code","description":"Postal code.","examples":["62701"]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"ISO country code.","examples":["US"]}},"additionalProperties":true,"type":"object","required":["recipient_name","address_line_1","address_line_2","city","state","postal_code","country"],"title":"ShippingAddress"},"ShippingProfile":{"properties":{"id":{"type":"string","title":"Id","description":"The profile id (`shipping_profile_id` on a listing).","examples":["sP9xK2mVq7LtR3Nb"]},"name":{"type":"string","title":"Name","description":"The profile's name (unique per seller).","examples":["US and Canada"]},"is_default":{"type":"boolean","title":"Is Default","description":"Whether this is the seller's default profile.","examples":[true]},"currency":{"type":"string","title":"Currency","description":"The currency of the profile's amounts; a listing must use the same currency.","examples":["USD"]},"origin_country":{"type":"string","title":"Origin Country","description":"ISO country code the items ship from.","examples":["US"]},"destinations":{"items":{"type":"string"},"type":"array","title":"Destinations","description":"Destination codes: ISO country codes or US, CA, GB, EU, AU, JP, WORLDWIDE, OTHER.","examples":[["US","CA"]]},"shipping_methods":{"additionalProperties":{"$ref":"#/components/schemas/ShippingProfileMethod"},"type":"object","title":"Shipping Methods","description":"The method for each destination, keyed by destination code.","examples":[{"CA":{"method":"quote"},"US":{"flat_fee_amount":800,"method":"flat_fee"}}]},"processing_min_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processing Min Days","description":"Fewest business days to dispatch.","examples":[1]},"processing_max_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processing Max Days","description":"Most business days to dispatch.","examples":[3]},"processing_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Time","description":"The processing time as buyers see it.","examples":["1-3 business days"]},"summary":{"type":"string","title":"Summary","description":"A one-line summary.","examples":["Ships from US to US, CA; processing 1-3 business days; prices in USD."]},"live_listing_count":{"type":"integer","title":"Live Listing Count","description":"How many of the seller's active listings use this profile.","examples":[4]}},"additionalProperties":true,"type":"object","required":["id","name","is_default","currency","origin_country","destinations","shipping_methods","processing_min_days","processing_max_days","processing_time","summary","live_listing_count"],"title":"ShippingProfile","description":"A shipping profile: the same shape from list, create and update."},"ShippingProfileList":{"properties":{"shipping_profiles":{"items":{"$ref":"#/components/schemas/ShippingProfile"},"type":"array","title":"Shipping Profiles","description":"The seller's profiles, default first."}},"additionalProperties":true,"type":"object","required":["shipping_profiles"],"title":"ShippingProfileList"},"ShippingProfileMethod":{"properties":{"method":{"type":"string","enum":["free","flat_fee","free_above","quote"],"title":"Method","description":"free, flat_fee, free_above (free over `free_above_amount`, else `flat_fee_amount`) or quote (the buyer asks for a quote).","examples":["flat_fee"]},"flat_fee_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Flat Fee Amount","description":"The fee in minor units (cents). Always present: set for flat_fee and free_above, null for free and quote.","examples":[1500]},"free_above_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Free Above Amount","description":"Orders above this (minor units) ship free. Always present: set for free_above, null otherwise.","examples":[20000]}},"additionalProperties":true,"type":"object","required":["method"],"title":"ShippingProfileMethod","description":"How one destination is priced. Amounts are integers in the currency's minor unit (cents), as the site's\nshipping profile form stores them."},"StockNotice":{"properties":{"type":{"type":"string","enum":["sold_while_editing","kept_sold_item","not_removed"],"title":"Type","description":"sold_while_editing: units sold after the changes were saved, so the published quantity is lower. kept_sold_item: the changes removed an item that has sold; it stays on the listing as sold, with no stock. not_removed: the changes removed an item but its sales couldn't be checked, so it was left as it was; publish again to remove it.","examples":["sold_while_editing"]},"item_id":{"type":"string","title":"Item Id","description":"The item id.","examples":["i8Hn3QxV5mLb2TsK"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"The item name.","examples":["Pelikan M400"]},"sold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sold","description":"sold_while_editing only: units sold while the changes were pending.","examples":[1]},"quantity_available":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity Available","description":"sold_while_editing only: the quantity now for sale.","examples":[0]}},"additionalProperties":true,"type":"object","required":["type","item_id","name"],"title":"StockNotice","description":"Something a publish of a live listing's changes did to stock because of sales made while the changes were\npending: the published stock is the live stock, not the pending number, and an item that sold is never\ndeleted."},"UsageToday":{"properties":{"date":{"type":"string","title":"Date","description":"The UTC day these counts are for (YYYY-MM-DD).","examples":["2026-11-24"]},"requests":{"type":"integer","title":"Requests","description":"Requests made today.","examples":[42]},"drafts_created":{"type":"integer","title":"Drafts Created","description":"Drafts created today.","examples":[3]},"listings_published":{"type":"integer","title":"Listings Published","description":"Listings published through the API today.","examples":[1]},"rate_limited":{"type":"integer","title":"Rate Limited","description":"Requests refused with 429 rate_limited today.","examples":[0]},"drafts_remaining":{"type":"integer","title":"Drafts Remaining","description":"Drafts that can still be created today.","examples":[47]},"publishes_remaining":{"type":"integer","title":"Publishes Remaining","description":"Listings that can still be published through the API today.","examples":[24]}},"additionalProperties":true,"type":"object","required":["date","requests","drafts_created","listings_published","rate_limited","drafts_remaining","publishes_remaining"],"title":"UsageToday","description":"Today's usage (UTC day)."},"Vocabulary":{"properties":{"conditions":{"items":{"type":"string"},"type":"array","title":"Conditions","description":"Allowed `condition` values (fixed in code, not edited by admins).","examples":[["Mint (Uninked)","Excellent","Fine"]]},"nib_sizes":{"items":{"type":"string"},"type":"array","title":"Nib Sizes","description":"Allowed `nib_size` values (fixed in code).","examples":[["Extra Fine (EF)","Fine (F)"]]},"nib_size_short_forms":{"additionalProperties":{"type":"string"},"type":"object","title":"Nib Size Short Forms","description":"Short forms accepted for `nib_size`, and the value each becomes.","examples":[{"EF":"Extra Fine (EF)","F":"Fine (F)"}]},"currencies":{"items":{"type":"string"},"type":"array","title":"Currencies","description":"Currencies a listing can use.","examples":[["USD","EUR","GBP","JPY"]]},"limits":{"$ref":"#/components/schemas/VocabularyLimits","description":"Field limits for saving a draft."},"publish_limits":{"$ref":"#/components/schemas/PublishLimits","description":"Stricter minimums that publishing checks."}},"additionalProperties":true,"type":"object","required":["conditions","nib_sizes","nib_size_short_forms","currencies","limits","publish_limits"],"title":"Vocabulary","description":"Allowed values and limits."},"VocabularyLimits":{"properties":{"title_min_length":{"type":"integer","title":"Title Min Length","description":"Shortest title.","examples":[5]},"title_max_length":{"type":"integer","title":"Title Max Length","description":"Longest title.","examples":[200]},"item_name_min_length":{"type":"integer","title":"Item Name Min Length","description":"Shortest item name.","examples":[3]},"item_name_max_length":{"type":"integer","title":"Item Name Max Length","description":"Longest item name.","examples":[200]},"description_max_length":{"type":"integer","title":"Description Max Length","description":"Longest listing description.","examples":[20000]},"item_description_max_length":{"type":"integer","title":"Item Description Max Length","description":"Longest item description.","examples":[5000]},"price_max":{"type":"string","title":"Price Max","description":"Highest item price, in any currency.","examples":["1000000.00"]},"quantity_max":{"type":"integer","title":"Quantity Max","description":"Highest item quantity.","examples":[10000]},"max_items_per_listing":{"type":"integer","title":"Max Items Per Listing","description":"Most items one listing can hold (for this key).","examples":[50]},"max_images_per_listing":{"type":"integer","title":"Max Images Per Listing","description":"Most images one listing can hold (for this key).","examples":[30]},"idempotency_key_max_length":{"type":"integer","title":"Idempotency Key Max Length","description":"Longest Idempotency-Key header.","examples":[100]}},"additionalProperties":true,"type":"object","required":["title_min_length","title_max_length","item_name_min_length","item_name_max_length","description_max_length","item_description_max_length","price_max","quantity_max","max_items_per_listing","max_images_per_listing","idempotency_key_max_length"],"title":"VocabularyLimits","description":"Field limits for saving a draft (publishing has its own, stricter `publish_limits`)."},"Warning":{"properties":{"code":{"type":"string","enum":["image_fetch_failed","image_concurrency_limited","image_budget_exceeded"],"title":"Code","description":"What happened.","examples":["image_fetch_failed"]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"The image URL it is about.","examples":["https://img.example.com/pen-roll.jpg"]},"message":{"type":"string","title":"Message","description":"What to do about it.","examples":["This image could not be fetched; add it on the site instead."]}},"additionalProperties":true,"type":"object","required":["code","url","message"],"title":"Warning","description":"Something that did not stop the request but did not happen either (an image that could not be fetched)."},"ItemIn":{"additionalProperties":false,"properties":{"name":{"description":"Item name, 3 to 200 characters.","title":"Name","type":"string","minLength":3,"maxLength":200,"examples":["Parker 51 Aerometric"]},"price":{"description":"Price in the listing currency as a decimal string, e.g. \"185.00\". Greater than zero, at most two decimal places.","title":"Price","type":"string","pattern":"^\\d{1,7}(\\.\\d{1,2})?$","examples":["185.00"]},"quantity":{"default":1,"description":"How many are for sale. Default 1.","maximum":10000,"minimum":1,"title":"Quantity","type":"integer","examples":[1]},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"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.","title":"Condition","examples":["Excellent"]},"nib_size":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"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.","title":"Nib Size","examples":["Fine (F)"]},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"default":null,"description":"Plain text. Blank lines separate paragraphs.","title":"Description","examples":["Burgundy, restored sac. Writes a smooth fine line."]},"image_urls":{"description":"https:// image URLs for this item.","items":{"type":"string"},"title":"Image Urls","type":"array","examples":[["https://img.example.com/parker-51.jpg"]]}},"required":["name","price"],"title":"ItemIn","type":"object"},"CreateDraftIn":{"additionalProperties":false,"properties":{"title":{"description":"Listing title, 5 to 200 characters.","title":"Title","type":"string","minLength":5,"maxLength":200,"examples":["Vintage pen roll: Parker, Pelikan"]},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"default":null,"description":"Plain text. Blank lines separate paragraphs.","title":"Description","examples":["Six pens from one collection. Photos of each pen below."]},"currency":{"anyOf":[{"type":"string","enum":["AUD","BRL","CAD","CNY","CZK","DKK","EUR","HKD","HUF","ILS","JPY","MYR","NZD","NOK","PLN","GBP","SGD","SEK","CHF","THB","USD"]},{"type":"null"}],"default":null,"description":"ISO currency code from /v1/vocab. Default: the seller's default listing currency.","title":"Currency","examples":["USD"]},"community_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A community id from /v1/communities. Default: the default community, chosen at publish time.","title":"Community Id","examples":["c4Tn8VbQ2mXr6PzL"]},"shipping_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"One of the seller's shipping profile ids from /v1/shipping-profiles (same currency as the listing). Omitted: the draft has no shipping.","title":"Shipping Profile Id","examples":["sP9xK2mVq7LtR3Nb"]},"image_urls":{"description":"https:// image URLs; they become the gallery, in order.","items":{"type":"string"},"title":"Image Urls","type":"array","examples":[["https://img.example.com/pen-roll.jpg"]]},"items":{"description":"At least one item.","items":{"$ref":"#/components/schemas/ItemIn"},"title":"Items","type":"array"},"publish":{"default":false,"description":"true: publish the listing straight away (needs the listings:publish scope, publishing enabled for the account and every publish check passing; otherwise it is kept as a draft and the response is 422 publish_checks_failed). Default false: a draft.","title":"Publish","type":"boolean","examples":[false]}},"required":["title","items"],"title":"CreateDraftIn","type":"object"},"ItemUpdateIn":{"additionalProperties":false,"properties":{"name":{"anyOf":[{"type":"string","minLength":3,"maxLength":200},{"type":"null"}],"default":null,"description":"Item name, 3 to 200 characters.","title":"Name","examples":["Parker 51 Aerometric"]},"price":{"anyOf":[{"type":"string","pattern":"^\\d{1,7}(\\.\\d{1,2})?$"},{"type":"null"}],"default":null,"description":"Price in the listing currency as a decimal string, e.g. \"185.00\". Greater than zero, at most two decimal places.","title":"Price","examples":["185.00"]},"quantity":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many are for sale. Default 1.","title":"Quantity","examples":[1]},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"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.","title":"Condition","examples":["Excellent"]},"nib_size":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"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.","title":"Nib Size","examples":["Fine (F)"]},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"default":null,"description":"Plain text. Blank lines separate paragraphs.","title":"Description","examples":["Burgundy, restored sac. Writes a smooth fine line."]},"image_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"https:// image URLs for this item. The listing's own image URLs (as GET returns them) keep those images without uploading them again.","title":"Image Urls","examples":[["https://img.example.com/parker-51.jpg"]]}},"title":"ItemUpdateIn","type":"object","required":["name","price"]},"UpdateDraftIn":{"additionalProperties":false,"description":"Only the fields sent are changed. `items` REPLACES every item: send every item the listing keeps (items left\nout are removed); `items` says how an item keeps its images. The listing's own image URLs, as GET returns them,\nkeep those images and are not uploaded again. null clears description, community_id and shipping_profile_id.","properties":{"title":{"anyOf":[{"type":"string","minLength":5,"maxLength":200},{"type":"null"}],"default":null,"description":"Listing title, 5 to 200 characters.","title":"Title","examples":["Vintage pen roll: Parker, Pelikan"]},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"default":null,"description":"Plain text. Blank lines separate paragraphs.","title":"Description","examples":["Six pens from one collection. Photos of each pen below."]},"community_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A community id from /v1/communities, or null.","title":"Community Id","examples":["c4Tn8VbQ2mXr6PzL"]},"shipping_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A shipping profile id, or null to remove shipping.","title":"Shipping Profile Id","examples":["sP9xK2mVq7LtR3Nb"]},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ItemUpdateIn"},"type":"array"},{"type":"null"}],"default":null,"description":"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.","title":"Items"},"image_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"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.","title":"Image Urls","examples":[["https://img.example.com/pen-roll.jpg"]]}},"title":"UpdateDraftIn","type":"object"},"ShipmentIn":{"additionalProperties":false,"properties":{"tracking_number":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Tracking number. Leave out to mark the order shipped without tracking (only for orders already paid).","title":"Tracking Number","examples":["1Z999AA10123456784"]},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Carrier name, e.g. \"USPS\", \"Royal Mail\", \"DHL\". Default \"OTHER\" (or the carrier already saved for this number).","title":"Carrier","examples":["UPS"]},"notify_buyer":{"default":true,"description":"Ask PayPal to email the buyer the tracking too. Gathermark's own shipped email and notification are always sent, as on the site.","title":"Notify Buyer","type":"boolean","examples":[true]}},"title":"ShipmentIn","type":"object"},"ShippingMethod":{"properties":{"method":{"enum":["free","flat_fee","free_above","quote"],"title":"Method","type":"string"},"flat_fee_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Flat fee in cents","title":"Flat Fee Amount"},"free_above_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Free shipping threshold in cents","title":"Free Above Amount"}},"required":["method"],"title":"ShippingMethod","type":"object"},"CreateShippingProfileIn":{"additionalProperties":false,"description":"A new shipping profile (the site's fields). shipping_methods has one entry per destination; at least one must\nnot be \"quote\". Amounts are in cents.","properties":{"name":{"maxLength":100,"minLength":1,"title":"Name","type":"string"},"is_default":{"default":false,"title":"Is Default","type":"boolean"},"currency":{"default":"USD","description":"ISO currency code","maxLength":3,"minLength":3,"title":"Currency","type":"string"},"origin_country":{"description":"ISO country code","maxLength":2,"minLength":2,"title":"Origin Country","type":"string"},"destinations":{"description":"List of destination codes","items":{"type":"string"},"minItems":1,"title":"Destinations","type":"array"},"shipping_methods":{"additionalProperties":{"$ref":"#/components/schemas/ShippingMethod"},"description":"Shipping methods per destination","title":"Shipping Methods","type":"object"},"processing_min_days":{"default":3,"maximum":65,"minimum":0,"title":"Processing Min Days","type":"integer"},"processing_max_days":{"default":5,"maximum":65,"minimum":0,"title":"Processing Max Days","type":"integer"}},"required":["name","origin_country","destinations","shipping_methods"],"title":"CreateShippingProfileIn","type":"object"},"UpdateShippingProfileIn":{"additionalProperties":false,"description":"Only the fields sent change.","properties":{"name":{"anyOf":[{"maxLength":100,"minLength":1,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Is Default"},"currency":{"anyOf":[{"maxLength":3,"minLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"ISO currency code","title":"Currency"},"origin_country":{"anyOf":[{"maxLength":2,"minLength":2,"type":"string"},{"type":"null"}],"default":null,"title":"Origin Country"},"destinations":{"anyOf":[{"items":{"type":"string"},"minItems":1,"type":"array"},{"type":"null"}],"default":null,"title":"Destinations"},"shipping_methods":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ShippingMethod"},"type":"object"},{"type":"null"}],"default":null,"title":"Shipping Methods"},"processing_min_days":{"anyOf":[{"maximum":65,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Processing Min Days"},"processing_max_days":{"anyOf":[{"maximum":65,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Processing Max Days"}},"title":"UpdateShippingProfileIn","type":"object"},"OrderMessageIn":{"additionalProperties":false,"properties":{"text":{"description":"The message, 1 to 5000 characters of plain text. A blank line starts a new paragraph.","title":"Text","type":"string","minLength":1,"maxLength":5000,"examples":["Shipped this morning; tracking to follow."]},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Id of a top-level message on this order to reply to (replies can't be replied to). Leave out to start a new message.","title":"Reply To","examples":["msg4Kq9TxL2mVb7N"]}},"required":["text"],"title":"OrderMessageIn","type":"object"},"CommentIn":{"additionalProperties":false,"properties":{"text":{"description":"The comment, 1 to 1000 characters of plain text. Posted publicly as you, the seller.","title":"Text","type":"string","minLength":1,"maxLength":1000,"examples":["Yes, the Parker is still available."]},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Id of a comment on this listing to reply to. Leave out to post a new public comment.","title":"Reply To","examples":["cm7Tq2LxV9mKb4Np"]}},"required":["text"],"title":"CommentIn","type":"object"},"DeclineOfferIn":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"default":null,"description":"Optional note to the buyer, at most 1000 characters. It is posted as your public reply in the listing's offer thread and sent in the buyer's email; leave out for the site's standard wording.","title":"Reason","examples":["Thanks, but that is too low for me."]}},"title":"DeclineOfferIn","type":"object"},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"field":{"type":"string","description":"The request field at fault, e.g. items[2].price"},"resource":{"type":"string","enum":["route","listing","upload"],"description":"not_found only, where known: what was not found. route: no such endpoint, or it is not available to this account; listing: no listing with that id for this seller; upload: no upload for that upload_url."},"missing_scope":{"type":"string","description":"insufficient_scope only: the scope the request needs."},"permission":{"type":"string","description":"insufficient_scope only: what that scope allows."},"how_to_fix":{"type":"string","description":"insufficient_scope only: how to get the scope."},"failed_checks":{"type":"array","description":"publish_checks_failed only: every failed check.","items":{"type":"object","required":["check","message","fix"],"properties":{"check":{"type":"string","enum":["selling_disabled","seller_suspended","email_verification","paypal_onboarding","display_name","title","items","item_name","item_description","item_price","item_quantity","variations","image","shipping","community","listing"]},"message":{"type":"string"},"fix":{"type":"string"},"field":{"type":"string"}}}},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"url":{"type":"string"},"message":{"type":"string"}}},"description":"publish_checks_failed from create with publish: true only: the create warnings (image URLs that could not be fetched and so on)."},"failed_images":{"type":"array","description":"image_fetch_failed (PATCH): each image_urls entry that could not be added. validation_error for refused image URLs (create and PATCH): each refused entry (code invalid_image_url; a user name and password in the url are shown as ***). Each with the field it was sent in and why. Nothing was changed.","items":{"type":"object","required":["url","code","message"],"properties":{"url":{"type":"string"},"field":{"type":"string"},"code":{"type":"string","enum":["image_fetch_failed","image_concurrency_limited","image_budget_exceeded","invalid_image_url"]},"message":{"type":"string"}}}},"listing":{"type":"object","description":"publish_checks_failed only: the draft that was kept.","properties":{"id":{"type":"string"},"status":{"type":"string"},"edit_url":{"type":"string"},"listing_url":{"type":["string","null"]}}}}}}}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer","examples":[60]}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer","examples":[59]}},"X-RateLimit-Reset":{"description":"When the current minute window ends, in Unix seconds (UTC).","schema":{"type":"integer","examples":[1795554600]}},"Retry-After":{"description":"Seconds to wait before retrying (for a daily limit: until the next UTC midnight).","schema":{"type":"integer","examples":[30]}}},"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","description":"A seller API key: gm_live_... (gm_test_... outside production)."}}},"tags":[{"name":"Account","description":"The seller account behind the key, its limits and today's usage."},{"name":"Listings","description":"Drafts and live listings: create, read, change, publish, mark sold, archive."},{"name":"Reference data","description":"Communities, allowed values and field limits."},{"name":"Shipping","description":"Shipping profiles."},{"name":"Orders","description":"Orders on your listings, and marking them shipped."},{"name":"Offers","description":"Offers buyers make on your listings: accept or decline."},{"name":"Messages","description":"Order messages with buyers, and comments on your listings."}],"security":[{"ApiKey":[]}]}