marketplace
GET /v1/marketplace/listings/{listing_id}
One of this account's Zinn®s, with the schema it is authored against.
Πισtoποίηση
Στείλτε ένα κλειδί API ως διακριτικό φορέα (bearer token). Αυτό το τελικό σημείο δεν ορίζει μια συγκεκριμένη άδεια στην προδιαγραφή, οπότε δώστε στο κλειδί σας τα ελάχιστα δυνατά δικαιώματα και ελέγξτε την απόκριση αντί να κάνετε υποθέσεις.
Αυτό το τελικό σημείο δεν δέχεται αναγνωριστικό οργανισμού. Το κλειδί σας προσδιορίζει ήδη τον οργανισμό στον οποίο ανήκει, και η απάντηση περιορίζεται σε αυτόν.
Δοκιμάστε το
Ατικatastήstε ό,τι βρίskεtai μέσα σe γώniaδeς μe τis δikές sas timές, kai to placeholder klεidioύ μe éna klεidi apó ton pinaka ελέgchou sas.
curl -X GET https://api.zinndigital.com/v1/marketplace/listings/{listing_id} \
-H "Authorization: Bearer zdk_live_…"Συνδεθήκατε; Η κονσόλα API στον πίνακα ελέγχου σας συμπληρώνει το πραγματικό αναγνωριστικό του οργανισμού σας και το δικό σας κλειδί, και εκτελεί το αίτημα στο ζωντανό API, ώστε να μπορείτε να δείτε την πραγματική απόκριση. Ανοίξτε αυτό το τελικό σημείο στην κονσόλα API
Λεπτομέρειες
`field_schema` is the version stamped on THIS listing, not the type's current head — so a form built from it edits the listing as it actually is.
Παράμετροι
| Όνομα | Τύpος | Υποχρεωτικό | Τι είναι |
|---|---|---|---|
listing_id (path) | string | Ναι | — |
Απάντηση
| Όνομα | Τύpος | Υποχρεωτικό | Τι είναι |
|---|---|---|---|
id | string | Ναι | — |
vendor_id | string | Ναι | — |
marketplace_id | string | Ναι | — |
marketplace_key | string | Ναι | — |
category_id | string | Όχι | — |
listing_type_id | string | Ναι | — |
listing_type_key | string | Ναι | — |
schema_version | integer | Ναι | The version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing. |
title | string | Ναι | — |
slug | string | Ναι | Permanent once live. It is the public URL. |
summary | string | Ναι | — |
field_values | object | Ναι | "`{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_schema | MarketplaceFieldDefinition[] | Όχι | Present on the detail read; the schema THIS listing is authored against. |
state | MarketplaceListingState | Ναι | ⛔ `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_minor | integer | Ναι | — |
price_max_minor | integer | Ναι | — |
currency | string | Ναι | — |
published_at | string | Όχι | — |
packages | MarketplacePackage[] | Ναι | — |
Σφάλματα που μπορεί να επιστρέψει αυτό το τελικό σημείο
401 · 404