marketplace
GET /v1/marketplace/listings/{listing_id}
One of this account's Zinn®s, with the schema it is authored against.
Authentification
Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.
Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.
Essayer
Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.
curl -X GET https://api.zinndigital.com/v1/marketplace/listings/{listing_id} \
-H "Authorization: Bearer zdk_live_…"Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API
Détails
`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.
Paramètres
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
listing_id (path) | string | Oui | — |
Réponse
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
id | string | Oui | — |
vendor_id | string | Oui | — |
marketplace_id | string | Oui | — |
marketplace_key | string | Oui | — |
category_id | string | Non | — |
listing_type_id | string | Oui | — |
listing_type_key | string | Oui | — |
schema_version | integer | Oui | The version this listing's values were authored against. Stamped once, never moved — a later schema must not reinterpret an older listing. |
title | string | Oui | — |
slug | string | Oui | Permanent once live. It is the public URL. |
summary | string | Oui | — |
field_values | object | Oui | "`{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[] | Non | Present on the detail read; the schema THIS listing is authored against. |
state | MarketplaceListingState | Oui | ⛔ `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 | Oui | — |
price_max_minor | integer | Oui | — |
currency | string | Oui | — |
published_at | string | Non | — |
packages | MarketplacePackage[] | Oui | — |
Erreurs que cet point de terminaison peut renvoyer
401 · 404