# Hermoso: shopify_sales_report · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/shopify_sales_report/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / shopify_sales_report

# `shopify_sales_report`

Shopify sales report read-only

Area: SHOPIFY: the merchant's own storefront · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_shopify_orders](https://hermoso.ai/docs/reference/publish/list_shopify_orders/) List Shopify orders
- [import_shopify_buyers_to_email_leads](https://hermoso.ai/docs/reference/publish/import_shopify_buyers_to_email_leads/) Add past Shopify buyers to the email leads
- [disable_shopify_discount_code](https://hermoso.ai/docs/reference/publish/disable_shopify_discount_code/) Disable a Shopify discount code
- [update_shopify_order](https://hermoso.ai/docs/reference/publish/update_shopify_order/) Update a Shopify order
- [list_shopify_discount_codes](https://hermoso.ai/docs/reference/publish/list_shopify_discount_codes/) List Shopify discount codes
- [edit_shopify_order_items](https://hermoso.ai/docs/reference/publish/edit_shopify_order_items/) Edit the items on a Shopify order
- [create_shopify_discount_code](https://hermoso.ai/docs/reference/publish/create_shopify_discount_code/) Create a Shopify discount code
- [fulfill_shopify_order](https://hermoso.ai/docs/reference/publish/fulfill_shopify_order/) Fulfil a Shopify order
- [delete_shopify_marketing_activity](https://hermoso.ai/docs/reference/publish/delete_shopify_marketing_activity/) Delete a Shopify marketing activity
- [cancel_shopify_order](https://hermoso.ai/docs/reference/publish/cancel_shopify_order/) Cancel a Shopify order

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
