marketplace

POST /v1/marketplace/listings

Start a Zinn®.

Gbogbo àwọn marketplace endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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> }'

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

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.

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
listing_type_idstringBẹẹni
category_idstringBẹẹkọ
titlestringBẹẹni
summarystringBẹẹkọ

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹni
vendor_idstringBẹẹni
marketplace_idstringBẹẹni
marketplace_keystringBẹẹni
category_idstringBẹẹkọ
listing_type_idstringBẹẹni
listing_type_keystringBẹẹni
schema_versionintegerBẹẹniThe version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing.
titlestringBẹẹni
slugstringBẹẹniPermanent once live. It is the public URL.
summarystringBẹẹni
field_valuesobjectBẹẹni"`{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[]BẹẹkọPresent on the detail read; the schema THIS listing is authored against.
stateMarketplaceListingStateBẹẹni⛔ `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_minorintegerBẹẹni
price_max_minorintegerBẹẹni
currencystringBẹẹni
published_atstringBẹẹkọ
packagesMarketplacePackage[]Bẹẹni

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 409 · 422