Skip to main content
Version: FINAL-1.0.0

Quote Project

postapi.bunnystudio.com/quote

This endpoint quotes a project based on the information sent.

Requirements

Authentication
Scope

Request body

These are the basic attributes for quoting a project, which will be required regardless of their category.

mainService
string
The category of the project you want to quote. You can find here all the available categories.
fulfillmentType
<optional> string
The fulfillment type you want for the project. The default value is speedy.
services
array
List of services included on the project. The information required by each service depends on the category you select.

Request example

 curl --request POST \ 
--url https://api.bunnystudio.com/quote \
--header "Content-Type: application/json" \
--header "x-access-token: YOUR_TOKEN" \
--data '{
}'

Response format

mainService
string
The category of the project you want to quote
fulfillmentType
string
The fulfillment type selected for the project
price
number
The price charged for the project
services
array
List of services on the project, the response information on each service depends of the category selected

Response example

  {
"mainService": CATEGORY,
"fulfillmentType": "speedy",
"price": 31.00,
"services": [LIST_OF_SERVICES]
}

Error responses

500 Not project quote

  {
status: 500,
type: 'PROJECT_NOT_QUOTED',
message: 'There was an error quoting the project, please talk with our support team',
}

422 MainService required

  {
status: 422,
type: 'MAINSERVICE_REQUIRED',
message: 'The field "\mainService\" is required',
}

422 MainService not authorized

  {
status: 422,
type: 'MAINSERVICE_NOT_AUTHORIZED',
message: 'The main-service selected is not Authorized for API projects,
}

422 MainService wrong type

  {
status: 422,
type: 'MAINSERVICE_WRONG_TYPE',
message: 'The field "\mainService\" must be a string',
}