Create a quote
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The organization slug to create the quote for.
"prets"
Optional client-generated UUID for idempotent retries. If omitted, a key is derived from the request body.
"550e8400-e29b-41d4-a716-446655440000"
Query Parameters
Include a single-use session URL in the response
true
Body
Create a new quote for sustainability home improvements
Installation address (Dutch or international format based on country)
- Option 1
- Option 2
Contact payload without server-assigned id (e.g. quote create/update body)
Quote currency (currently EUR only)
EUR "EUR"
Total quote amount including tax in EUR
x >= 025000
Line items for the quote (at least one required)
1Battery storage system line item
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
Quote terms and conditions
1subject_to_financing ["subject_to_financing"]Quote expiration timestamp (ISO 8601)
"2024-12-31T23:59:59Z"
Timestamp when quote was sent to customer (ISO 8601)
"2024-06-15T10:30:00Z"
Total quote amount excluding tax in EUR
x >= 020661.16
Description of the quote
1External reference ID for merchant's system (quote level)
1"QUOTE-2024-001"
Tags describing customer context and support needs to help ops team provide appropriate service
1Special circumstances and support requirements that ops team should be aware of
smartphone_only, landline_only, less_digitally_skilled, financially_complex, moderately_complex_finances, prefers_phone_contact, prefers_email_contact ["smartphone_only", "less_digitally_skilled"]Client-generated id (qot_{ULID}). When provided the server uses this as the canonical quote ID, enabling optimistic UI on the client.
^qot_[0-9A-HJKMNP-TV-Z]{26}$