marketplace

POST /v1/marketplace/listings

Start a Zinn®.

सर्व marketplace एंडपॉइंट्स

प्रमाणीकरण

बेअरर टोकन म्हणून API की पाठवा. या एंडपॉईंटने स्पष्टीकरणामध्ये ठराविक परवानगी नमूद केलेली नाही, त्यामुळे तुमच्या कीला आवश्यक तेवढाच कमीत कमी ॲक्सेस द्या आणि गृहीत धरण्याऐवजी प्रतिसाद तपासा.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

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

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

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.

विनंती मुख्य भाग

नावप्रकारआवश्यकहे काय आहे
listing_type_idstringहोय
category_idstringनाही
titlestringहोय
summarystringनाही

प्रतिसाद

नावप्रकारआवश्यकहे काय आहे
idstringहोय
vendor_idstringहोय
marketplace_idstringहोय
marketplace_keystringहोय
category_idstringनाही
listing_type_idstringहोय
listing_type_keystringहोय
schema_versionintegerहोयThe version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing.
titlestringहोय
slugstringहोयPermanent once live. It is the public URL.
summarystringहोय
field_valuesobjectहोय"`{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[]नाहीPresent on the detail read; the schema THIS listing is authored against.
stateMarketplaceListingStateहोय⛔ `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_minorintegerहोय
price_max_minorintegerहोय
currencystringहोय
published_atstringनाही
packagesMarketplacePackage[]होय

ही एंडपॉइंट परत करू शकेल अशा त्रुटी

401 · 409 · 422