Skip to main content
PATCH
Update an opportunity

Authorizations

Authorization
string
header
required

An organization API key: elo_ followed by 43 characters.

Headers

Idempotency-Key
string

1 to 255 printable ASCII characters without spaces, scoped to the API key. A retry of the same request (method, path, query and body) within 24 h gets the stored answer with Idempotent-Replayed: true and does not run again; the same key with another request is 422; while the first runs, 409. Answers of 500 and above are not stored: the key is released and a retry runs the write again. Ignored on a dry run.

Maximum string length: 255

Path Parameters

id
string<uuid>
required

Query Parameters

dryRun
boolean
default:false

true plans the write and answers as if done, with dryRun: true; nothing is written and no event is sent.

Body

application/json
stageId
string<uuid> | null
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
title
string | null
Pattern: ^\s*(?:\S(?:[\s\S]{0,498}\S)?)?\s*$
value
customFields
object | null
applyToClosed
boolean | null

Response

OK.

ok
any
required
data
object
required