marketplace

POST /v1/marketplace/listings/from-site

Sell a site hosted with Zinn® — a draft listing, filled in from the site.

All marketplace endpoints

All developer docs →

Authentication

Send an API key as a bearer token. This endpoint does not state a specific permission in the specification, so give your key the least it needs and check the response rather than assuming.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/marketplace/listings/from-site \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "site_id": <string> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

docs/714 §3. Creates (or returns the open) draft website listing pointed at the site, with the domain filled in, our own server-log traffic and uptime measured onto it, and the platform's checklist rows added. When it sells, the site, its files, database, DNS, mail, remaining paid term and registered domain move into the buyer's account automatically. Needs sites.transfer on the site's organization AND an approved Zinner® account. Refused at listing time for anything that would make the sale undeliverable — a site that is not active or has no paid term of its own.

Request body

NameTypeRequiredWhat it is
site_idstringYes—
titlestringNo—

Response

NameTypeRequiredWhat it is
idstringYes—
vendor_idstringYes—
marketplace_idstringYes—
marketplace_keystringYes—
category_idstringNo—
listing_type_idstringYes—
listing_type_keystringYes—
schema_versionintegerYesThe version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing.
titlestringYes—
slugstringYesPermanent once live. It is the public URL.
summarystringYes—
field_valuesobjectYes"{key: {v, ver}}" — uniform two keys, ver: null for a seller-declared value, so no consumer branches on key presence. ⛔ A domain value is NOT here — it is in the reveal…
field_schemaMarketplaceFieldDefinition[]NoPresent on the detail read; the schema THIS listing is authored against.
stateMarketplaceListingStateYes⛔ archived, never deleted. A listing that sold has public URLs, backlinks and an order behind it, and a 404 costs rankings that do not come back.
price_minorintegerYes—
price_max_minorintegerYes—
currencystringYes—
published_atstringNo—
packagesMarketplacePackage[]Yes—
inclusion_itemsMarketplaceInclusionItem[]NoWhat comes with the asset, as the seller composed it. Rows carrying zinn_asset were added by the platform because the listing sells a site or domain hosted with us (docs/714…
inclusion_revisionintegerNoHow many times the seller has revised the list since publishing.
zinn_site_idstringNoThe site on our hosting this listing sells, set by listListingFromSite only. When the listing sells, the site moves into the buyer's account automatically.
zinn_domain_idstringNoThe domain in our account this listing sells, set by listListingFromDomain only.

Errors this endpoint can return

401 · 404 · 422