API

Consultar reporte

Changed on

Ejecuta una consulta analítica agrupada sobre ventas, compras, pagos, inventario, tesorería o publicaciones de Mercado Libre. marketplace_listings usa una instantánea sin período, en ARS, con permisos de costo vigentes. El campo source determina qué dimensiones y métricas están disponibles. Las consultas de tesorería requieren además el scope treasury:read. Usá response_mode=assistant para resolución de nombres, períodos predefinidos, comparaciones y paginación compatibles con run_report.

post/api/v1/reports/query

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/reports/query
  • Auth
    HTTP bearer

Request body

OR

Example request

{
  "period": {
    "start_date": "2026-01-01",
    "end_date": "2026-03-31"
  },
  "dimensions": [
    "product_metafield:season"
  ]
}

Response

Reporte ejecutado exitosamente

OR

Changes

    • breaking

      removed from the request body oneOf list

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added to the request body anyOf list

    • info

      added to the response body anyOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status