shopify_sales_report
Shopify sales report read-only
Description
Sales on the merchant's Shopify store over a period (default the last 30 days; Shopify lets apps read the last 60): orders and sales after returns, cancelled and test orders counted apart, then broken down by DISCOUNT CODE, by UTM source, medium and campaign and by Shopify's own traffic source, using Shopify's last visit before each order. It also shows the part that came from HERMOSO: orders that used a discount code Hermoso created on the store or arrived through a campaign Hermoso recorded in Shopify > Marketing; add codes or campaigns to credit others you know are yours. Recent orders Shopify has not attributed yet are counted and named. Read-only, free.
Parameters
| Parameter | Type | Description |
|---|---|---|
days | number | the last N days (use this OR from/to) |
from | string | start date, e.g. 2026-10-01 |
to | string | end date, e.g. 2026-10-31 |
codes | string[] | more discount codes to count as Hermoso’s |
campaigns | string[] | more utm_campaign values to count as Hermoso’s |
includeTest | boolean | true to count test orders too |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/shopify_sales_report.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shopify_sales_report","arguments":{}}}
CLI
hermoso call shopify_sales_report --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_shopify_ordersList Shopify ordersimport_shopify_buyers_to_email_leadsAdd past Shopify buyers to the email leadsdisable_shopify_discount_codeDisable a Shopify discount codeupdate_shopify_orderUpdate a Shopify orderlist_shopify_discount_codesList Shopify discount codesedit_shopify_order_itemsEdit the items on a Shopify ordercreate_shopify_discount_codeCreate a Shopify discount codefulfill_shopify_orderFulfil a Shopify orderdelete_shopify_marketing_activityDelete a Shopify marketing activitycancel_shopify_orderCancel a Shopify order