Skip to main content

Update Quote Request

Description

Update a quote request returned from your Bold Penguin carrier tenant.

The endpoint returns a 204 No Content if the update was accepted.

Endpoint

Staging

https://partner-engine-uat.beta.boldpenguin.com/quote_requests/<quote_number>

Production

https://partner-engine.boldpenguin.com/quote_requests/<quote_number>

Authentication

This endpoint requires an access_token from the authentication endpoint in the same environment. Include it as a bearer token in an Authorization header for the request.

Authorization: Bearer <access_token>

Methods

PUT

Request Syntax

PUT /quote_requests/<quote_number>

Request Payload

The body of the request may contain request_status and source_system fields.

Valid values for request_status are:

  • unsent
  • in_progress
  • sent
  • completed
  • failed
  • timed_out
  • ineligible
  • referral
  • bound
  • binding
  • binding_failed
{
"request_status": "<string>",
"source_system": "<string>"
}

Request Parameters

URL Parameters

  • quote_number
    • This is the external identifier for the quote request (not the internal UUID)
    • Type: String
    • Required: Yes

Status Codes

  • 204 No Content: The update was successful.
  • 401 Unauthorized: The necessary authentication credentials are not present in the request or are incorrect.
  • 404 Quote request not found for provided quote_number
  • 422 Parameter validation failure (verify the request body)

Examples

Example Request

curl --request PUT \
--url https://partner-engine.boldpenguin.com/quote_requests/<quote_number> \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data '{
"request_status": "failed",
"source_system": "ExternalSystem"
}'