Mark an Offer as Lost

post/quotemanager.changestatus/{identifier}

Changes quoteStatus from OFFER to LOST.

Required Permission Roles with the Required Permission
QUOTE_UPDATE Edit Quoting (PRICESHOP_EDIT), Administer Quoting (PRICESHOP_QUOTEADMIN), Manage Quoting (PRICESHOP)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
identifier
required
string

Can be either the uniqueName or the typedId.

Request Body schema: application/json
required
object
targetStatus
required
string non-empty
Responses
200

Example response

Response Schema: application/json
object
node
string non-empty
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
targetDate
string non-empty
workflowStatus
string non-empty
headerText
string non-empty
Array of objects non-empty unique
object
outputs
Array of objects
lastUpdateByName
string non-empty
createdByName
string non-empty
submittedByName
string non-empty
calculationStatus
number
dirty
boolean
refreshInputs
boolean
nodeId
any
userGroupEdit
any
userGroupViewDetails
any
serverMessages
Array of any
additionalInfo1
any
additionalInfo2
any
additionalInfo3
any
additionalInfo4
any
numberOfAttachments
number
creationWorkflowStatus
any
creationWorkflowCurrentStep
any
creationWorkflowStepCount
any
creationWorkflowStepLabel
any
signature
any
Array of objects non-empty unique
expiryDate
string non-empty
externalRef
any
customerId
string non-empty
customerName
string non-empty
customerGroup
any
quoteStatus
string non-empty
renderInfo
any
serverMessagesExtended
Array of any non-empty unique
approvalRequiredEmailAttachmentsJson
any
hasWorkflowHistory
boolean
approvedByName
string non-empty
deniedByName
any
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
supersededBy
any
prevRev
string non-empty
rootUniqueName
string non-empty
quoteType
any
status
string non-empty
status
number
Request samples
application/json
{
  • "data": {
    • "targetStatus": "LOST"
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-templates-node",
    • "data": [
      • {
        • "version": 5,
        • "typedId": "2147491345.Q",
        • "uniqueName": "P-2147491340-REV-3",
        • "label": "Quote01",
        • "targetDate": "2021-11-01",
        • "workflowStatus": "NO_APPROVAL_REQUIRED",
        • "headerText": "<p>Quote message.</p>",
        • "inputs": [
          ],
        • "viewState": {
          },
        • "outputs": [ ],
        • "lastUpdateByName": "admin",
        • "createdByName": "admin",
        • "submittedByName": "admin",
        • "calculationStatus": 0,
        • "dirty": false,
        • "refreshInputs": false,
        • "nodeId": null,
        • "userGroupEdit": null,
        • "userGroupViewDetails": null,
        • "serverMessages": [
          ],
        • "additionalInfo1": null,
        • "additionalInfo2": null,
        • "additionalInfo3": null,
        • "additionalInfo4": null,
        • "numberOfAttachments": 0,
        • "creationWorkflowStatus": null,
        • "creationWorkflowCurrentStep": null,
        • "creationWorkflowStepCount": null,
        • "creationWorkflowStepLabel": null,
        • "signature": null,
        • "lineItems": [
          ],
        • "expiryDate": "2021-11-01",
        • "externalRef": null,
        • "customerId": "00003",
        • "customerName": "Kate Smith",
        • "customerGroup": null,
        • "quoteStatus": "OFFER",
        • "renderInfo": null,
        • "serverMessagesExtended": [
          ],
        • "approvalRequiredEmailAttachmentsJson": null,
        • "hasWorkflowHistory": false,
        • "approvedByName": "admin",
        • "deniedByName": null,
        • "createDate": "2021-11-02T14:01:54",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2021-11-02T14:06:06",
        • "lastUpdateBy": 2147490696,
        • "supersededBy": null,
        • "prevRev": "P-2147491340-REV-2",
        • "rootUniqueName": "P-2147491340",
        • "quoteType": null,
        • "status": "DRAFT"
        }
      ],
    • "status": 0
    }
}