Platform owner: change a cost entry; send if_version

patch/api/v1/platform/costs/{id}

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/platform/costs/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

monthstring

YYYY-MM

category'marketing' | 'hosting' | 'software' | 'ai_calls' | 'payment_fees' | 'people' | 'other'
amount_minorinteger
currency'GBP' | 'USD' | 'EUR' | 'AED'
notestring nullable
channelstring nullable

Optional acquisition channel of a marketing cost, written like utm_source (google, meta, g2); sets cost per paying business by channel

if_versioninteger required

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.