916e669fc527
Get a list of sales opportunities
Retrieve a paged collection of sales opportunities (required scope finance:read)
Query parameters
Sort options for sales opportunities.<p>Possible values:</p><ul><li><b>creationDate</b>: Sort by creation date.</li><li><b>subject</b>: Sort by subject.</li><li><b>dueDate</b>: Sort by due date.</li><li><b>reference</b>: Sort by reference.</li></ul>
The field to sort items in the page by
Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
The direction to apply the sort
Only return sales opportunities where id matches the value(s) provided (Max items: 50)
Represents the status of a sales opportunity.<p>Possible values:</p><ul><li><b>created</b>: The sales opportunity has been created.</li><li><b>onHold</b>: The sales opportunity is on hold.</li><li><b>completedWon</b>: The sales opportunity has been completed and won.</li><li><b>completedLost</b>: The sales opportunity has been completed and lost.</li></ul>
Only return sales opportunities with the specified status
Only return sales opportunities where contactId matches the value provided
Only return sales opportunities where ownerId matches the value provided
Only return sales opportunities where reference starts with the value provided
Only return sales opportunities created at or after this date (inclusive)
Only return sales opportunities created at or before this date (inclusive)
Only return sales opportunities with a due date at or after this date (inclusive)
Only return sales opportunities with a due date at or before this date (inclusive)
The page number being requested (minimum: 1, maximum: 2147483)
The page size being requested (minimum: 1, maximum: 1000)
Headers
The customer identifier
Response
OK
Example response
{
"items": [
{
"id": 12345,
"contactId": 67890,
"subject": "New office equipment deal",
"status": "created",
"dueAt": "2025-06-30T00:00:00.0000000+00:00",
"stageId": 3,
"probabilityId": 2,
"ownerId": 456,
"ownerName": "Jane Smith",
"notes": "Customer is interested in bulk pricing",
"reference": "SO-2025-001",
"createdAt": "2025-01-15T09:30:00.0000000+00:00",
"customFields": [
{
"definitionId": 5514123,
"value": "Purple",
"definition": {
"caption": "Favourite colour",
"type": "boolean",
"listOptions": [
"Red",
"Blue",
"Green",
"Purple"
],
"isRequired": true,
"isEditable": true,
"default": "10"
},
"systemListValueMetadata": {
"label": "John Doe",
"entityType": "resource"
}
}
]
}
],
"pageNumber": 2,
"pageSize": 100,
"pageItemCount": 55
}