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

# Return details of an opportunity

`GET /opportunity/{id}`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/opportunity/{id}`
- Auth: API key in header `X-API-Key`

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.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
