cURL
curl --request PATCH \ --url https://app.journeybee.io/api/v1/lead-deals/{dealId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "label": "<string>", "deal_value": 123, "stage_uuid": "<string>", "payment_stage_uuid": "<string>", "tags": [ {} ], "customFields": [ {} ] }'
{ "id": 456, "uuid": "deal-uuid-456", "updated_at": "2024-01-15T16:30:00Z" }
Update deal information, stage, value, and custom fields with automatic commission recalculation
curl -X PATCH "https://app.journeybee.io/api/v1/lead-deals/{dealId}" \ -H "Authorization: Bearer your-api-key-uuid" \ -H "Content-Type: application/json" \ -d '{"deal_value": 300000, "stage_uuid": "new-stage-uuid"}'
write_access