hermosodocs

shopify_sales_report

Shopify sales report read-only

Area: SHOPIFY: the merchant's own storefront · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
daysnumberthe last N days (use this OR from/to)
fromstringstart date, e.g. 2026-10-01
tostringend date, e.g. 2026-10-31
codesstring[]more discount codes to count as Hermoso’s
campaignsstring[]more utm_campaign values to count as Hermoso’s
includeTestbooleantrue 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.

All 728 Publishing & scheduling tools · tools.json