hermosodocs

creator_campaign_sales

Sales credited to campaign creators

Area: Creator campaigns · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
campaignIdstring
action"read" | "sync" | "record" | "adjust" | "set_code"
participantIdstring
amountUsdnumber
refstringrecord: the order number
atstringrecord: when it sold
keystringadjust: the sale key from read
codestring

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.

All 728 Publishing & scheduling tools · tools.json