---
title: "Return details of an opportunity"
method: GET
path: "/opportunity/{id}"
tags: ["Orders"]
---

# Return details of an opportunity

`GET /opportunity/{id}`

Returns the details of a specified opportunity

## Path parameters

- `id` string, required

## Response `200`

successful operation

- OpportunityJson
  - `name` string
  - `id` string
  - `entityId` 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` CustomFieldEntry[]
    - `id` string
    - `type` 'STRING' | 'PICKLIST' | 'MULTISELECT_PICKLIST'
    - `name` string
    - `label` string
    - `value` string
    - `selections` string[]
    - `options` string[]
    - `required` boolean
    - `source` 'USER' | 'SYSTEM'
    - `defaultValue` CustomFieldDefault
      - `value` string
      - `selections` string[]

---

[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/versions/c30f5b9fbfab/schema)
