# Hermoso: creator_campaign_sales · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/creator_campaign_sales/. 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/) / creator_campaign_sales

# `creator_campaign_sales`

Sales credited to campaign creators

Area: Creator campaigns · [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 credited to campaign creators for commission. action read (default): each sale (store, order, amount, refunds, commission or why it is not counted, how it was credited) and each creator's code and tracking link. Shopify orders and Stripe charges are read from the brand's connected store twice a day: a sale is the creator's when it used their code, or their link was on the last visit before it within the campaign's windowDays; commission is payable lockDays after the sale, and a refund lowers it (one already paid is taken back from the creator's next payouts, never their bank). action sync reads the store now. action record (participantId, amountUsd, ref, at) adds a sale from a store Hermoso does not read, e.g. WooCommerce; action adjust (key, amountUsd) lowers a recorded one after a refund. action set_code (participantId, code) sets a creator's code to match one made in the store. Free.

## Parameters

Parameter Type Description

`campaignId` `string`

`action` `"read" | "sync" | "record" | "adjust" | "set_code"`

`participantId` `string`

`amountUsd` `number`

`ref` `string` record: the order number

`at` `string` record: when it sold

`key` `string` adjust: the sale key from read

`code` `string`

## 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/creator_campaign_sales`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"creator_campaign_sales","arguments":{}}}`
**CLI**

`hermoso call creator_campaign_sales --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

- [creator_campaign_funds](https://hermoso.ai/docs/reference/publish/creator_campaign_funds/) Campaign funds and automatic payouts
- [preview_creator_campaign](https://hermoso.ai/docs/reference/publish/preview_creator_campaign/) Preview a creator campaign as creators see it
- [pay_campaign_creators](https://hermoso.ai/docs/reference/publish/pay_campaign_creators/) Preview or pay what campaign creators are owed
- [creator_campaign_report](https://hermoso.ai/docs/reference/publish/creator_campaign_report/) Creator campaign report (CSV too)
- [refresh_campaign_views](https://hermoso.ai/docs/reference/publish/refresh_campaign_views/) Re-read campaign posts' views now
- [share_campaign_report](https://hermoso.ai/docs/reference/publish/share_campaign_report/) Share a creator campaign report (public link)
- [add_campaign_post](https://hermoso.ai/docs/reference/publish/add_campaign_post/) Submit a post for a campaign creator
- [creator_directory](https://hermoso.ai/docs/reference/publish/creator_directory/) The brand's creators across all campaigns
- [review_campaign_post](https://hermoso.ai/docs/reference/publish/review_campaign_post/) Approve, reject or give feedback on a campaign post
- [promote_campaign_post](https://hermoso.ai/docs/reference/publish/promote_campaign_post/) Run an approved creator post as a paused ad

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