Deals

Manage deals

List Deals

get

List deals. Requires the 'deals:read' scope.

Authorizations
X-API-KeystringRequired

API key for authentication

Query parameters
limitnumber · min: 1 · max: 1000Optional

The number of results to return

Default: 100
offsetnumberOptional

The number of results to skip

Default: 0
includeSummarybooleanOptional

Include the AI-generated summary of the deal

Default: false
includeDeletedbooleanOptional

Include deleted deals

Default: false
Responses
chevron-right
200

Response for status 200

application/json
get
/v1/deals

Get Deal

get

Get a deal by ID or vendor entity ID. Requires the 'deals:read' scope.

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

The Opine ID or external service ID of the deal. When supplying an external service ID, the value must begin with 'eid:' (e.g. eid:1234567890)

Query parameters
includeSummarybooleanOptional

Include the AI-generated summary of the deal

Default: false
Responses
chevron-right
200

Response for status 200

application/json
get
/v1/deals/{id}

Create Note

post

Create a note for a deal. Requires the 'deals:write' scope.

Authorizations
X-API-KeystringRequired

API key for authentication

Path parameters
idstringRequired

The Opine ID or external service ID of the deal. When supplying an external service ID, the value must begin with 'eid:' (e.g. eid:1234567890)

Body
titlestring · max: 512Required

The title of the note.

bodyany ofOptional

The body of the note. An array of Slate nodes or a markdown string.

or
stringOptional
Responses
chevron-right
200

Response for status 200

application/json
post
/v1/deals/{id}/notes

Last updated