updateQuoteStatus

put

/ccadmin/v1/orders/updateQuoteStatus

Update Quote Status. This operation is used to update the externalID of quote in the case of quote success or to capture errorInfo and change the status of order to quote_request_failed in case of quote failure.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : updateQuoteStatus_request
Nested Schema : quoteInfo
Type: object
Details about quote info

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateQuoteStatus_response
Example application/json

{
    "providerNote":null,
    "providerDate":"2016-09-22T07:23:43.315Z",
    "agentId":"AgentID123",
    "rejectionDate":null,
    "requestDate":"2016-09-20T03:43:12.315Z",
    "errorInfo":null,
    "externalID":"1234",
    "rejectionNote":null,
    "requesterNote":"please give discount",
    "expirationDate":null
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "id": "o12345",
  "quoteInfo": {"externalID": "1234"}
}

Sample Response Payload returned by endpoint:

{
  "providerNote": null,
  "providerDate": "2016-09-22T07:23:43.315Z",
  "agentId": "AgentID123",
  "rejectionDate": null,
  "requestDate": "2016-09-20T03:43:12.315Z",
  "errorInfo": null,
  "externalID": "1234",
  "rejectionNote": null,
  "requesterNote": "please give discount",
  "expirationDate": null
}