# PATCH /marketing/costs/:cost_id

**Resource:** [MARKETING](./marketing.md)  
**MCP tool:** `update_marketing_cost`  
**Scopes:** `marketing:write`  
**Write operation:** yes

Change a logged cost, e.g. mark a committed cost as actual once paid.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `cost_id` | path | string | yes | The cost id (from list_marketing_costs or get_marketing_campaign). |
| `spent_on` | body | string | no | Day it was spent or worked, YYYY-MM-DD. Defaults to today. |
| `kind` | body | string | no | cash (money out, the default) or staff_time (hours worked; never added to cash). |
| `amount` | body | number | no | cash: the amount. staff_time: an optional estimated value of the hours, shown apart from cash. |
| `hours` | body | number | no | staff_time: hours worked. Send null to clear. |
| `currency` | body | string | no | Currency code, default the campaign's currency. |
| `category` | body | string | no | ads, production, software, ai_credits, contractor, events or other. Meta ad spend from linked Meta campaigns is imported automatically, so only log ads paid elsewhere. |
| `status` | body | string | no | actual (spent, the default) or committed (agreed but not yet paid). |
| `note` | body | string | no | What it was for. Send null to clear. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/marketing/costs/:cost_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"spent_on":"...","kind":"...","amount":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`