marketplace

POST /v1/marketplace/listings

Start a Zinn®.

सबै marketplace इन्डपइन्टहरू

प्रमाणीकरण

एपिआई कुञ्जीलाई बियरर टोकन (bearer token) को रूपमा पठाउनुहोस्। यो इन्डपोइन्टले विशिष्ट अनुमति खुलाएको छैन, त्यसैले अनुमान गर्नुको सट्टा आफ्नो कुञ्जीलाई आवश्यक पर्ने न्यूनतम अधिकार दिनुहोस् र प्रतिक्रिया जाँच गर्नुहोस्।

यो इन्डपोइन्टले कुनै संस्थाको आइडी लिँदैन। तपाईंको कुञ्जीले यस अन्तर्गत पर्ने संस्थालाई पहिल्यै पहिचान गर्छ, र प्रतिक्रिया त्यसैमा सीमित हुन्छ।

प्रयास गर्नुहोस्

कोणीय कोष्ठकभित्र भएका जुनसुकै कुरालाई आफ्नो मानहरूद्वारा बदल्नुहोस्, र मुख्य स्थानहोल्डरलाई तपाईंको ड्यासबोर्डको कुञ्जीद्वारा बदल्नुहोस्।

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 विरुद्ध अनुरोध चलाउँछ ताकि तपाईंले वास्तविक प्रतिक्रिया हेर्न सक्नुहोस्। यो एन्डपोइन्टलाई 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