---
title: "POST /opportunity/id/{id}/linkQuotation"
method: POST
path: "/opportunity/id/{id}/linkQuotation"
tags: ["opportunity"]
---

# POST /opportunity/id/{id}/linkQuotation

`POST /opportunity/id/{id}/linkQuotation`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/opportunity/id/{id}/linkQuotation`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/opportunity/id/:id/linkQuotation/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Request body

- object
  - `quotationId` string, required

## Response `200`

linkQuotation response

- object
  - `result` Opportunity
    - `id` string
    - `version` string
    - `contactId` string
    - `createdDate` integer
    - `creatorId` string
    - `customAttributes` CustomAttribute[]
      - `attributeDefinitionId` string
      - `booleanValue` boolean
      - `dateValue` integer
      - `entityId` string
      - `entityReferences` EntityReference[]
        - `entityId` string
        - `entityName` string
      - `numberValue` string, number
      - `selectedValueId` string
      - `selectedValues` OnlyId[]
        - `id` string
      - `stringValue` string
    - `customerId` string, required
    - `description` string
    - `expectedDeliveryDate` integer
    - `expectedSignatureDate` integer
    - `hotLead` boolean
    - `lastModifiedDate` integer
    - `name` string, required
    - `nextCallDate` integer
    - `opportunityNumber` string
    - `responsibleUserId` string
    - `revenue` string, number
    - `salesChannel` string
    - `salesProbability` integer, required
    - `salesStageHistory` SalesStageHistory[]
      - `id` string
      - `version` string
      - `createdDate` integer
      - `lastModifiedDate` integer
      - `salesStageId` string
      - `userId` string
    - `salesStageId` string, required
    - `startDate` integer
    - `tags` string[]
    - `topics` OnlyId[]
      - `id` string
    - `winLossDescription` string
    - `winLossReasonId` string

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/opportunity/id/:id/linkQuotation/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
