---
title: "Compras de una fila, de «Otros» o de un grupo sin información (#22)"
method: GET
path: "/events/{eventId}/sales-provenance/purchases"
tags: ["Event Sales Provenance"]
---

# Compras de una fila, de «Otros» o de un grupo sin información (#22)

`GET /events/{eventId}/sales-provenance/purchases`

## Request

- Base URL: `http://localhost:8081`
- URL: `http://localhost:8081/events/{eventId}/sales-provenance/purchases`
- Auth: HTTP bearer

Mismos filtros y ámbito que el summary. `key` es la clave de una fila o de un grupo
`unknown.items[]`, o `__others__:<providerKey>` (exige `currency`, o `NONE`). «Otros»
excluye exactamente las `top` claves del ranking del summary. Orden total por fecha de
compra e id. Solo columnas de la lista blanca: sin datos personales, sin click IDs y sin
`utm_content`/`utm_term`/dominio de referencia.

## Path parameters

- `eventId` string, required

## Query parameters

- `from` string, date, required
- `to` string, date, required
- `tz` string
- `currency` string
- `population` 'SETTLED_SALES' | 'REFUNDED_FULL' | 'REFUNDED_UNREPRESENTABLE' | 'ALL_REPORTED'
- `dimension` 'provider' | 'distribution' | 'purchaseChannel' | 'promoCode' | 'marketing'
- `level` 'source' | 'medium' | 'campaign'
- `parent` string
- `top` integer
- `key` string, required
- `page` integer
- `pageSize` integer

## Response `200`

Página de compras

## Other responses

- `400`: Parámetro inválido (INVALID_DATE, INVALID_RANGE, INVALID_TZ, INVALID_CURRENCY, INVALID_POPULATION, INVALID_DIMENSION, INVALID_LEVEL, INVALID_PARENT, INVALID_KEY, INVALID_PARAM, INVALID_EVENT)
- `404`: El evento no existe o no pertenece al ámbito del JWT (indistinguible)
- `500`: INVARIANT_VIOLATION (el desglose no concilia; no se devuelven cifras parciales) o INTERNAL_ERROR

---

[API](https://skmtc.dev/nevent/apis/nevent-data-api.md) · [All operations](https://skmtc.dev/nevent/apis/nevent-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevent/apis/nevent-data-api/revisions/81035d32c1c1?raw)
