---
title: "Opens an opportunity"
method: POST
path: "/opportunity/{id}/open"
tags: ["Opportunity"]
---

# Opens an opportunity

`POST /opportunity/{id}/open`

## Request

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

Returns the details of the updated 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)
