Skip to main content
GET
/
v1
/
quotes
/
{quoteId}
Get a quote
curl --request GET \
  --url https://api.prets.io/v1/quotes/{quoteId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "quoteId": "qot_01ARZ3NDEKTSV4RRFFQ69G5AV",
    "opportunity": {
      "opportunityId": "opp_01ARZ3NDEKTSV4RRFFQ69G5AV"
    },
    "createdAt": "2024-06-15T10:30:00.000Z",
    "updatedAt": "2024-06-15T10:30:00.000Z",
    "address": {
      "postalCode": "1000 AA",
      "houseNumber": "42",
      "city": "Brussels",
      "street": "Kerkstraat",
      "houseNumberAddition": "A"
    },
    "contact": {
      "email": "jan.jansen@example.nl",
      "lastName": "Jansen",
      "phoneNumber": "+31612345678",
      "firstName": "Jan"
    },
    "currency": "EUR",
    "totalInclTax": 25000,
    "financing": {
      "statusChangedAt": "2024-06-15T10:30:00.000Z",
      "subStatus": {
        "description": "Waiting on the signed contract"
      }
    },
    "lineItems": [
      {
        "totalInclTax": 12500,
        "lineItemId": "<string>",
        "externalId": "QUOTE-2024-001-PV",
        "totalExclTax": 10330.58,
        "unitPrice": 250,
        "productIdentifiers": {
          "brand": "Enphase",
          "manufacturerPartNumber": "SE7600H-US",
          "globalTradeItemNumber": "0885629362058"
        },
        "incentiveCodes": [
          "ISDE-2024-WP",
          "PROV-NH-2024"
        ],
        "description": "<string>",
        "totalNameplateCapacity": 13500,
        "totalNameplatePower": 5000
      }
    ],
    "terms": [
      "subject_to_financing"
    ],
    "expiresAt": "2024-12-31T23:59:59Z",
    "sentAt": "2024-06-15T10:30:00Z",
    "totalExclTax": 20661.16,
    "description": "<string>",
    "externalId": "QUOTE-2024-001",
    "tags": [
      "smartphone_only",
      "less_digitally_skilled"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.prets.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

quoteId
string
required

The unique identifier of the quote

Pattern: ^qot_[0-9A-HJKMNP-TV-Z]{26}$
Example:

"qot_01ARZ3NDEKTSV4RRFFQ69G5AV"

Response

Quote retrieved successfully

Quote retrieval response

data
object
required

A quote for sustainability home improvements