---
title: "Get Salesforce opportunities"
method: GET
path: "/sfdc/opportunity"
tags: ["Integrations"]
---

# Get Salesforce opportunities

`GET /sfdc/opportunity`

Returns the Salesforce opportunities associated withe the specified account.

## Query parameters

- `accountId` string, required

## Response `200`

successful operation

- Opportunity[]
  - `id` string, uuid
  - `entityId` string
  - `name` string
  - `type` string
  - `stage` string
  - `crmId` string
  - `accountId` string
  - `createdOn` integer
  - `updatedOn` integer
  - `opportunityCrmType` 'SALESFORCE' | 'HUBSPOT'
  - `isClosed` boolean
  - `primaryOrderId` string
  - `opportunityId` string
  - `currency` string
  - `customFields` CustomField
    - `entries` object
    - `empty` boolean

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/revisions/c30f5b9fbfab/schema)
