marketplace
GET /v1/marketplace/purchases
Everything this org has bought on the marketplace.
Authentication
Send an API key as a bearer token. This endpoint checks no specific permission, so any key for your organisation can call it.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/marketplace/purchases \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the 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
| Name | Type | Required | What it is |
|---|---|---|---|
cursor (query) | string | No | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | No | Maximum items to return (page size). |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | MarketplacePurchase[] | Yes | — |
page | PageMeta | Yes | — |
Errors this endpoint can return
401