updateQuoteStatus

put

/ccapp/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
Body ()
Root Schema : updateQuoteStatus_request
Type: object
Show Source
Example:
{
    "id":"o12345",
    "quoteInfo":{
        "externalID":"1234"
    }
}
Nested Schema : quoteInfo
Type: object
Details about quote info
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateQuoteStatus_response
Type: object
Show Source
Example Response (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
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top