marketplace

GET /v1/marketplace/purchases

Everything this org has bought on the marketplace.

Alle marketplace-eindpunten

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/purchases \
  -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

The buyer's side of a sale. A `Sale` is a genuinely two-party record — one row, two audiences — so this and `listMarketplaceVendorSales` read the same table and return deliberately different payloads. Mirroring the money into a second table is how two copies of one balance come to disagree. Declared before `/v1/marketplace/{vertical}/{slug}` in the router: that route is two free segments and would otherwise swallow the vendor routes below.

Parameters

NaamTypeVerplichtWat dit is
cursor (query)stringNeeOpaque cursor from a previous page's `page.next_cursor`.
limit (query)integerNeeMaximum items to return (page size).

Reactie

NaamTypeVerplichtWat dit is
dataMarketplacePurchase[]Ja
pagePageMetaJa

Fouten die dit eindpunt kan retourneren

401