opportunities retrieve
GET {{baseUrl}}/opportunities/:id
Returns an Opportunity
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"urn:uuid:a5f521a3-a308-bac1-932d-5a6e47333c04","remote_id":"19202938","name":"Needs Integrations","description":"Needs a Unified API for Integrations!","amount":100000,"owner":"0358cbc6-2040-430a-848e-aafacbadf3aa","account":"0958cbc6-6040-430a-848e-aafacbadf4ae","stage":"1968cbc6-6040-430a-848e-aafacbadf4ad","is_closed":true,"is_won":true,"last_activity_at":"2022-02-10T00:00:00Z","close_date":"2022-02-10T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z"}