marketplace

POST /v1/marketplace/listings

Start a Zinn®.

Wszystkie punkty końcowe marketplace

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

Creates a draft. The listing type's CURRENT schema version is stamped onto it here, once, and never moved — tightening the type's schema later must not retroactively invalidate what was authored under the old one (docs/78 §4.2 trap 2). ⛔ The Zinner® must be `approved`. docs/78 §3.2 makes `under_review` the anti-fraud gate rather than a formality, and an account that can author listings while under review has walked straight through it.

Treść żądania

NazwaTypWymaganeCo to jest
listing_type_idstringTak
category_idstringNie
titlestringTak
summarystringNie

Odpowiedź

NazwaTypWymaganeCo to jest
idstringTak
vendor_idstringTak
marketplace_idstringTak
marketplace_keystringTak
category_idstringNie
listing_type_idstringTak
listing_type_keystringTak
schema_versionintegerTakThe version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing.
titlestringTak
slugstringTakPermanent once live. It is the public URL.
summarystringTak
field_valuesobjectTak"`{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 ta…
field_schemaMarketplaceFieldDefinition[]NiePresent on the detail read; the schema THIS listing is authored against.
stateMarketplaceListingStateTak⛔ `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_minorintegerTak
price_max_minorintegerTak
currencystringTak
published_atstringNie
packagesMarketplacePackage[]Tak

Błędy, które ten punkt końcowy może zwrócić

401 · 409 · 422