Skip to main content
PUT
Create or update an opportunity by external ID

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

source
string
required

Ignored since ELO-8; any non-empty value.

externalId
string
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
pipelineId
string<uuid>
required
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)$
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
contact
object | null
client
object | null
customFields
object | null
applyToClosed
boolean | null
lines
object[] | null
Maximum array length: 500
discount

Response

Updated, unchanged, frozen, or a dry run.

ok
any
required
data
object
required