Set an app cost model
set_cost_modelDefine versioned cost inputs—store commission, payment fees, and variable COGS—for an app's profit decisions, with effective dates and idempotent retries.
Instructions
Version commission, payment fees and variable COGS used in profit decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The AttriKit app id. | |
| assumptions | No | ||
| effective_at | Yes | ||
| idempotency_key | No | Stable retry key for this exact mutation. | |
| payment_fee_bps | Yes | ||
| variable_cogs_kind | Yes | ||
| variable_cogs_value | Yes | ||
| store_commission_bps | Yes |