default

Update deal

Set a deal's value, type, notes or follow-up date. Omitted fields stay; null clears value or follow-up date. Stage moves: move_deal_stage.

post/api/v1/tools/update_deal

Request

  • Base URL: https://www.affiliatespy.io
  • URL: https://www.affiliatespy.io/api/v1/tools/update_deal
  • Auth: HTTP bearer

Request body

deal_idstring uuid required

A deal id from list_deals.

value_centsinteger nullable

Deal value in cents, e.g. 50000 for $500.

deal_type'flat' | 'rev_share' | 'affiliate'
notesstring

Replaces the notes; empty string clears them.

follow_up_atstring nullable

ISO date or datetime to follow up, e.g. 2026-10-15.

confirmboolean

Set true after the user confirmed an action the guard flagged as hard to undo.

Response

The tool's JSON result (same payload the MCP tool returns).

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.