creator_campaign_sales
Sales credited to campaign creators
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.
Related tools
creator_campaign_fundsCampaign funds and automatic payoutspreview_creator_campaignPreview a creator campaign as creators see itpay_campaign_creatorsPreview or pay what campaign creators are owedcreator_campaign_reportCreator campaign report (CSV too)refresh_campaign_viewsRe-read campaign posts' views nowshare_campaign_reportShare a creator campaign report (public link)add_campaign_postSubmit a post for a campaign creatorcreator_directoryThe brand's creators across all campaignsreview_campaign_postApprove, reject or give feedback on a campaign postpromote_campaign_postRun an approved creator post as a paused ad