Skip to Content

Reports API overview

Request on-demand reports, schedule recurring reports, run Data Kiosk queries and get sales metrics for your Walmart Marketplace business.

The Reports API lets you request reports about your items, inventory, orders, pricing, promotions, fulfillment and more, then download the finished file. Reports are processed asynchronously: you submit a request, Walmart builds the report in the background, and you download it when it's ready. You can also schedule reports to run on a recurring basis.

The reports and analytics family also includes Data Kiosk, for submitting analytics queries, and the Sales API, for aggregated order metrics.

Business use cases

  • Audit your catalog. Pull an item report to check what's published and find listing issues.
  • Monitor inventory. Get inventory reports to spot low-stock items before they go out of stock.
  • Review performance. Request order, cancellation, delivery defect or item performance reports to track your service levels.
  • Price competitively. Use pricing insights and Buy Box reports to adjust prices.
  • Automate recurring data pulls. Schedule reports daily or weekly instead of requesting them by hand.
  • Analyze sales trends. Get order metrics by hour, day, week, month or year.

How it works

  1. Get an access token. See Authentication.
  2. Create a report with POST /v4/reports, naming the reportType and, optionally, a data time range. You get back a reportId with status 202 Accepted.
  3. Poll GET /v4/reports/{report-id} until processingStatus is DONE, CANCELLED or FATAL.
  4. When the status is DONE, read reportDocumentId from the report.
  5. Call GET /v4/reports/documents/{document-id} to get a pre-signed download URL.
  6. Download the file from the URL. If compressionAlgorithm is GZIP, decompress it.

Key concepts

Processing status

Every report and Data Kiosk query moves through these statuses:

processingStatusMeaning
IN_QUEUEThe request is waiting to be processed
IN_PROGRESSThe report is being built
DONEThe report is ready. reportDocumentId is present
CANCELLEDThe request was cancelled
FATALProcessing failed

You can cancel a report only while it is IN_QUEUE or IN_PROGRESS.

Report and document IDs

A reportId identifies your request. A reportDocumentId identifies the finished file. They are different values: always use the reportDocumentId from a DONE report to get the download URL.

Report types

You choose what a report contains with reportType, for example ITEM, INVENTORY, ORDER, BUYBOX, PRICING_INSIGHTS, CANCELLATION, RETURN_OVERRIDES, WFS_INVENTORY_LOG or SETTLEMENT. See Request and download reports for the full list.

Schedules

A report schedule creates a new report of a given type at a fixed interval, expressed as an ISO 8601 duration such as P1D (daily) or P7D (weekly). Reports created by a schedule carry its reportScheduleId.

Scopes

ScopeGrants
reports:readRead and download reports and schedules
reports:writeCreate and cancel reports and schedules
analytics:readSubmit and retrieve Data Kiosk queries and documents

API operations

OperationMethod & pathUse it to
Create reportPOST /v4/reportsRequest a report
Get reportsGET /v4/reportsList your reports by type, status and creation date
Get reportGET /v4/reports/{report-id}Check a report's processing status
Cancel reportDELETE /v4/reports/{report-id}Cancel a queued or in-progress report
Get report documentGET /v4/reports/documents/{document-id}Get the download URL for a finished report
Create report schedulePOST /v4/reports/report-schedulesSchedule a recurring report
Get report schedulesGET /v4/reports/report-schedulesList your schedules
Get report scheduleGET /v4/reports/report-schedules/{schedule-id}Get one schedule
Cancel report scheduleDELETE /v4/reports/report-schedules/{schedule-id}Stop a schedule
Create queryPOST /data-kiosk/v4/queriesSubmit a Data Kiosk query
Get queriesGET /data-kiosk/v4/queriesList your Data Kiosk queries
Get queryGET /data-kiosk/v4/queries/{queryId}Check a query's status
Cancel queryDELETE /data-kiosk/v4/queries/{queryId}Cancel a queued or in-progress query
Get documentGET /data-kiosk/v4/documents/{documentId}Get the download URL for query results
Get order metricsGET /sales/v4/orderMetricsGet aggregated order metrics for a time interval

Best practices

  • Poll at a sensible interval. Reports take time to build. Wait between status checks rather than polling in a tight loop, and back off when you get 429 Too Many Requests.
  • Narrow the time range. Set dataStartTime and dataEndTime so the report covers only the data you need.
  • Reuse finished reports. Call GET /v4/reports with processingStatuses=DONE to find an existing report before you request a new one.
  • Protect download URLs. The document URL is pre-signed and grants access to your data. Don't log it or share it.
  • Schedule instead of polling for routine data. If you need the same report every day, create a schedule.

Next steps

On this page