Drafts and publishing
View as MarkdownThe Seller API isn't open to every seller yet. You can read the docs now; API keys and the Claude connector work once the API is turned on for your account. To ask for access, contact us.
The API creates and changes drafts. Publishing always happens on the site, by you.
The flow
POST https://creates a draft and returns itsapi .gathermark .com/ v1/ listings edit_.url - Optionally change it with
PATCH https://(title, description, community, shipping profile, the listing photos, or replace the items and their photos).api .gathermark .com/ v1/ listings/ {id} - Open
edit_(url https://), add any photos it still needs, check everything, and publish.gathermark .com/ dashboard/ listings/ {id}/ edit
Once a listing is live, the API can still read it, but PATCH and DELETE return 409 with code listing_. Edit live listings on the site.
Creating a draft sends no emails or notifications and does not post anywhere. Nothing is visible to buyers until you publish.
can_publish and missing
Every draft response includes:
can_:publish truewhen the draft passes every check that publishing on the site runs.missing: the checks the draft still fails.
Publishing is stricter than saving a draft. A draft can be saved with a 3-character item name or no item description, but it can't be published until it meets the publish minimums. GET https:// returns them as publish_, next to the draft limits.
| Value | What to do |
|---|---|
selling_ |
Selling is paused on Gathermark. Try again later. |
seller_ |
Your account is suspended. Contact Gathermark support. |
email_ |
Verify your email address on Gathermark. |
paypal_ |
Connect your PayPal account in Dashboard › Settings. |
display_ |
Choose a display name on Gathermark. |
title |
Make the title 5 to 200 characters. |
items |
Add an item with a quantity of at least 1. |
item_ |
Make each item name at least 5 characters. |
item_ |
Give each item a description of at least 10 characters. |
item_ |
Give each item a price greater than zero. |
item_ |
Give each item a quantity of at least 1. |
variations |
An item's variations are not valid. Fix them on the edit page. |
image |
Add at least one listing photo: send listing image_ when you create the draft or with PATCH, or add it on the edit page. Item photos don't count (see Images). |
shipping |
Choose a shipping profile on the edit page, or send shipping_ (from GET https://). |
community |
There is no active community to publish in right now. Try again later or contact Gathermark support. |
GET https:// returns the account-level codes from this list (the first five), so you can check your account before you create anything.
{
"id": "h7Gf2KpL9sQw4ZxC",
"status": "draft",
"edit_url": "https://gathermark.com/dashboard/listings/h7Gf2KpL9sQw4ZxC/edit",
"listing_url": null,
"can_publish": false,
"missing": ["image", "shipping"]
}
Shipping
Send shipping_ to apply one of your saved shipping profiles, the same way the create page does. Without it the draft has no shipping and missing includes shipping.
Communities
Send community_ (from GET https://) to choose where the listing is posted. Without it, the site-wide default community (the one with "is_ in that list) is used when you publish.
Finding your drafts
GET https:// lists the drafts and listings you created through the API, newest first, with a cursor for the next page. Add source=all to list every listing in your shop, including ones made on the site (source=api, the default, keeps the API-made ones only). Drafts also appear in Dashboard › Listings with your other drafts.
Deleting a draft
DELETE https:// deletes a draft. Live listings return 409 (listing_).