Ir al contenido
Developers
Entorno
Not signed in
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

ShopCodearray de int64 · query

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.

Fromstring · query

Filtro inferior (inclusive) sobre updated_at. ISO 8601. Requerido.

Tostring · query

Filtro superior (exclusivo) sobre updated_at. ISO 8601. Requerido.

Pagestring · query

Cursor de paginación opaco devuelto en next_page.

Limitinteger · query

Tamaño de página. Default 100, máximo 500.

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
curl --request GET \
     --url 'https://preprod-ar-apigw-oauth.bistrosoft.com/transactions/sales?From=2026-08-12T00%3A00%3A00Z&To=2026-09-11T00%3A00%3A00Z&Limit=100' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer TU_TOKEN'

Try this endpoint

Current host

https://preprod-ar-apigw-oauth.bistrosoft.com/transactions

API limit

40 calls per minute

Response

You have not tried this endpoint yet.