marketplace
GET /v1/marketplace/listings/{listing_id}/packages
What a buyer can actually buy on this Zinn®.
Authenticatie
Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/marketplace/listings/{listing_id}/packages \
-H "Authorization: Bearer zdk_live_…"Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
Details
⭐ There is no listing without a package. A single-price Zinn® is a one-package Zinn®, which deletes the "is the price on the listing or on the package" fork entirely.
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
listing_id (path) | string | Ja | — |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
data | MarketplacePackage[] | Ja | — |
total | integer | Ja | — |
max_packages | integer | Ja | This vertical's cap, from a row an operator can change. |
permitted_billing_modes | MarketplaceBillingMode[] | Nee | What this listing type allows. The form is TOLD rather than guessing: a UI that hardcoded both modes would render a control whose every submission is refused. |
permitted_billing_intervals | string<monthly, annual>[] | Nee | — |
Fouten die dit eindpunt kan retourneren
401 · 404