younifyd
Menu

Report Sales Summary

This API lets you retrieve and view a sales report.

GET/reports/sales

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Report Sales Summary action (under Reports).
  3. Fill in the fields below, then reference the result from later steps as {{reportSalesSummary.response.data}}.

Request

Query parameters

periodstring

Report period. Default is today's date. Options: week, month, last_month and year

One ofweekmonthlast_monthyear

date_minstring

Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.

date_maxstring

Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.

Response

Returns 200 with a array<object>. Read it in later steps with {{reportSalesSummary.response.data.<field>}}.

Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.

Report Sales Summary — WooCommerce — Documentation