GET/api/v2.0/salesPagination: cursorLimit: 40 calls per minute
Ventas por rango (cursor-based).
Devuelve las ventas de los comercios autorizados por el token, con lines[], taxes[], customer y fiscal_document embebidos. Filtra por from/to (ISO 8601, inclusive/exclusivo) y pagina por cursor opaco (page). Para recorrer todo: hacé la primera llamada sin Page y, mientras has_more sea true, repetila pasando el valor de next_page en Page. El cursor es opaco: no se interpreta ni se arma a mano.
Información: What is it for?Returns the closed sales of your shops within a date range, including line items, taxes and payment method. This is what you use to sync your accounting system or your data warehouse every night.
Parameters
Código(s) de comercio a consultar. Repetir el parámetro para varios (?shopCode=11&shopCode=12). Si se omite, todos los autorizados por el token.
Responses
200OK
- Página de Ventasobject
- dataarray · nullable
- next_pagestring · nullable
- has_moreboolean
400Bad Request
- ApiErrorResponseobject
- errorobject
401Unauthorized
- ProblemDetailsobject
- typestring · nullable
- titlestring · nullable
- statusinteger · int32 · nullable
- detailstring · nullable
- instancestring · nullable