---
title: "Mark an Offer as Lost (with reason)"
method: POST
path: "/clicmanager.setlostreason/{typedId}"
tags: ["Clicmanager", "Quotes"]
---

# Mark an Offer as Lost (with reason)

`POST /clicmanager.setlostreason/{typedId}`

Sets the specified Quote as `LOST` and sets the loss reason (`lostReason`). Optionally, an additional comment (`lostReasonComment`) can be added.<br>
Returns the updated Quote object.

## Request body

- object
  - `data` object, required
    - `lostReason` string, required — The name of the lost reason. The name of the reason must be set in **Administration** > **Configuration** > **Quoting** > **Quote Reasons**.
    - `lostReasonComment` string — An additional comment.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` Quote[]
      - `outputs` object[], nullable
        - `resultName` string
        - `resultLabel` string
        - `result` object
        - `excludeFromExport` boolean
        - `warnings` string[]
        - `alertMessage` string
        - `alertType` 'CRITICAL' | 'RED' | 'YELLOW'
        - `displayOptions` integer
        - `formatType` 'NUMERIC' | 'NUMERIC_LONG' | 'MONEY' | 'PERCENT' | 'TEXT' | 'MONEY_EUR' | 'MONEY_USD' | 'MONEY_GBP' | 'MONEY_JPY' | 'MONEY_CHF' | 'MONEY_PLN' | 'DATETIME' | 'DATE' | 'INTEGER' | 'LINK' | 'COMPLEX' | 'SPARKLINE'
        - `suffix` string
        - `resultType` string
        - `cssProperties` string
        - `userGroup` string
        - `resultGroup` string
        - `overrideValueOptions` unknown[]
          - unknown
        - `overrideAllowEmpty` boolean
        - `labelTranslations` string
        - `overridable` boolean
        - `overridden` boolean
        - `resultDescription` string
      - `createdByName` string
      - `typedId` string
      - `headerText` string
      - `workflowStatus` 'DRAFT' | 'SUBMITTED' | 'DENIED' | 'APPROVED' | 'NO_APPROVAL_REQUIRED' | 'WITHDRAWN' | 'INVALIDATED'
      - `inputs` object[], nullable
        - `name` string
        - `label` string
        - `lookupTableId` string
        - `url` string
        - `type` string
        - `value` object
        - `valueHint` string
        - `readOnly` boolean
        - `filter` object
        - `parameterGroup` string
        - `required` boolean
        - `labelTranslations` string
        - `addUnknownValues` boolean
        - `typedId` string
        - `alwaysEditable` boolean
        - `inputs` object[]
        - `parameterConfig` object
        - `formattingOptions` object
        - `valueOptions` string[]
      - `lastUpdateDate` string, date-time
      - `serverMessagesExtended` object[], nullable
        - `key` string
        - `message` string
      - `externalRef` string, nullable
      - `deniedByName` string, nullable
      - `lineItems` object[]
        - `version` integer
        - `typedId` string
        - `clicId` integer
        - `inputs` object[]
        - `outputs` object[]
        - `dirty` boolean
        - `lineId` string
        - `parentId` string
        - `calculationStatus` integer
        - `editabilityStatus` integer
        - `label` string
        - `containsProductImage` boolean
        - `sku` string
        - `priceRecordId` integer
        - `folder` boolean
        - `treeLabel` string
        - `createDate` string
        - `createdBy` integer
        - `lastUpdateDate` string
        - `lastUpdateBy` integer
      - `userGroupViewDetails` string, nullable
      - `approvedByName` string, nullable
      - `creationWorkflowCurrentStep` integer, nullable
      - `rootUniqueName` string
      - `originUniqueName` string, nullable
      - `targetDate` string, date, nullable
      - `customerGroup` string, nullable
      - `ioMeta` union
        - object
        - string
      - `originDeleted` boolean, nullable
      - `version` integer
      - `customerName` string, nullable
      - `uniqueName` string
      - `serverMessages` string[], nullable
      - `creationWorkflowStatus` 'DRAFT' | 'INPROGRESS' | 'FINISHED'
      - `userGroupEdit` string, nullable
      - `hasWorkflowHistory` boolean
      - `nodeId` integer
      - `status` 'DRAFT' | 'PENDING' | 'SCHEDULED' | 'PROCESSING' | 'SCHEDULED_DIRTY' | 'ERROR' | 'READY' | 'CANCELLED'
      - `lastUpdateByName` string
      - `originClicId` integer, nullable
      - `renderInfo` object, nullable
      - `lostReason` string, nullable
      - `signature` object, nullable
        - `envelopeId` string
        - `status` 'sent' | 'delivered' | 'signed' | 'completed' | 'declined' | 'voided' | 'processing' | 'error' | 'cancelling'
        - `sentDateTime` string
        - `statusChangedDateTime` string
        - `customerName` string
        - `customerUserOrEmail` string
        - `sender` integer
        - `senderName` string
        - `templateName` string
        - `note` string
        - `voidedReason` string
        - `error` string
        - `history` object[]
      - `creationWorkflowStepCount` integer, nullable
      - `quoteType` string, nullable
      - `quoteStatus` 'DRAFT' | 'OFFER' | 'DEAL' | 'REVOKED' | 'SUPERSEDED' | 'INVALIDATED' | 'LOST' | 'PARTIALDEAL'
      - `lostReasonComment` string, nullable
      - `expiryDate` string, date, nullable
      - `creationWorkflowStepLabel` string, nullable
      - `customerId` string, nullable
      - `submittedByName` string, nullable
      - `createDate` string, date-time
      - `dirty` boolean
      - `additionalInfo4` string, nullable
      - `additionalInfo3` string, nullable
      - `refreshInputs` boolean
      - `additionalInfo2` number, nullable
      - `additionalInfo1` number, nullable
      - `numberOfAttachments` integer
      - `originLabel` string, nullable
      - `label` string
      - `nextRevUNs` string[]
      - `createdBy` integer
      - `approvalRequiredEmailAttachmentsJson` string, nullable
      - `viewState` object, nullable
        - `gridViewState` string
        - `openFolders` string[]
        - `selectedNodes` string[]
      - `prevRev` string, nullable
      - `calculationStatus` integer
      - `supersededBy` string, nullable
      - `lastUpdateBy` integer
      - `persistedClicId` integer, nullable
      - `persistedClicVersion` integer
    - `status` integer

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
