PrestaShop sales

The shop's own sales over a period: valid orders, revenue (tax incl. and excl.), average order value, shipping, discounts, unique customers — totals plus a breakdown by day, week, month, order status or payment method, per currency. The shop's numbers are the reference against GA4 or ad-platform revenue.

post/api/v1/data/prestashop_sales_report

Request

  • Base URL: https://app.attache.studio
  • URL: https://app.attache.studio/api/v1/data/prestashop_sales_report
  • Auth: HTTP bearer

Request body

shop_urlstring required

Shop URL exactly as in list_sources (prestashop resource), e.g. https://www.example.com

start_datestring required

YYYY-MM-DD

end_datestring required

YYYY-MM-DD, inclusive

group_by'day' | 'week' | 'month' | 'status' | 'payment' | 'none'

Default: day

include_invalidboolean

Also count unpaid, cancelled and refunded orders. Default false.

Response

Raw result of the underlying Google / Meta API, as JSON.

Changes

No recorded changes to this operation across all 1 revision of this API.