Skip to main content

Quote Options Object v2

A technical guide to retrieving and adding quote options in Accelerate using API v2.

Path Parameters

HTTP Header

api-key REQUIRED

string - Your Accelerate API Key

URL Substitution

subdomain REQUIRED
string - Your Accelerate subdomain

relationship ID REQUIRED
integer - ID of your chosen relationship

opportunity ID REQUIRED
integer - ID of your chosen opportunity

quote ID REQUIRED
integer - ID of the your chosen quote


Quote Options Requests

GET POST


GET POST - Return all the options for a given quote or add a new option into a quote.

https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/relationships/{id}/opportunities/{id}/quotes/{id}/options/

Example Payload

POST

{
"basic_price": 316.67,
"vat_price": 63.334,
"list_basic": 316.67,
"list_vat": 63.33,
"requires_maintenance_flag": "N",
"ply_lining_flag": "N",
"description": "Sun protection glass",
"vat_rate_type": "Standard",
"option_fit_type": "Factory",
"p11d_exempt_flag": "N",
"cap_option_code": 38350
}

Response

400

Returned if the request sent is invalid.

404

Returned if the request is not found or the user does not have permission to view it.

200
Returned if the request is successful.

Expand to see example of a successful response.

{
"items": [
{
"basic_price": 316.67,
"vat_price": 63.334,
"list_basic": 316.67,
"list_vat": 63.33,
"requires_maintenance_flag": "N",
"ply_lining_flag": "N",
"description": "Sun protection glass",
"vat_rate_type": "Standard",
"option_fit_type": "Factory",
"p11d_exempt_flag": "N",
"cap_option_code": 38350
}
],
"first": {
"$ref": "https://example.quotevineapp.com/qvine/quotevine/api/v2/relationships/2300191/opportunities/542425/quotes/20295173/options/"
}
}

Quote Option Attributes

When adding a new quote option, there are a number of fields needed.

Mandatory Fields

Expand to see the list of mandatory fields

vat_rate_type - string
Must be one of Standard, Reduced or Zero Rated

option_fit_type - string
Must be Dealer or Factory

basic_price - number
Only mandatory if option_fit_type = Dealer

vat_price - number
Only mandatory if option_fit_type = Dealer

description - string
Only mandatory if option_fit_type = Dealer

cap_option_code - number
Only mandatory if option_fit_type = Factory

Non Mandatory Fields

Expand to see the list of non-mandatory fields.

requires_maintenance_flag - string
Y or N

ply_lining_flag - string
Y or N

p11d_exempt_flag - string
Y or N




Did this answer your question?