API documentation
Integrations
Analytics
Billable events
Companies
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoices > Transactions
Invoicing entities
Organisations
Payments
Price configurations
Products
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
Get quotes
Retrieve all existing quotes.
curl --request GET \
--url https://api.hyperline.co/v1/quotes \
--header 'Authorization: Bearer <token>'
{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "quo_hXQCd5y8P3GYXa",
"customer_id": "cus_QalW2vTAdkR6IY",
"invoicing_entity_id": "ive_47484fjdhy5",
"template_id": "quot_9hNWq4c84Z146W",
"crm_opportunity_id": "<string>",
"number": "327",
"comments": "Please find the contract and subscription details we discussed.",
"terms": "By signing this quote, you accept our conditions of use for the use of our products and services.",
"owner_email": "joe@acme.com",
"collect_payment_details": true,
"collect_custom_property_ids": [],
"attachments": [
{
"id": "quof_5GYXy8P3QCdaXh",
"name": "General Conditions of Sale",
"mimetype": "application/pdf"
}
],
"signed_file": {
"id": "<string>",
"name": "<string>",
"mimetype": "<string>"
},
"url": "https://billing.hyperline.co/quote/quo_hXQCd5y8P3GYXa",
"created_at": "2024-12-20T16:04:11Z",
"status": "draft",
"amount": 200000,
"expires_at": "2024-10-13T02:00:00.000Z",
"type": "subscription",
"subscription_id": "sub_B6ClkdqNqVNBgY",
"child_subscription_ids": [
"sub_0z39oqdhKl0PXb"
],
"automatically_start_subscription": true
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
0 <= x <= 100
x >= 0
all
, draft
, pending_approval
, changes_requested
, approved
, pending_signature
, signed
, voided
all
, draft
, pending_approval
, changes_requested
, approved
, pending_signature
, signed
, voided
Response
List of Quote.
Quote ID.
"quo_hXQCd5y8P3GYXa"
ID of the customer.
"cus_QalW2vTAdkR6IY"
ID of the invoicing entity attached to the quote.
"ive_47484fjdhy5"
ID of the quote template.
"quot_9hNWq4c84Z146W"
ID of the related opportunity/deal in the connected CRM.
Quote sequential number.
"327"
Custom comments displayed on the quote.
"Please find the contract and subscription details we discussed."
Custom quotation terms.
"By signing this quote, you accept our conditions of use for the use of our products and services."
Email address of the Hyperline user acting as the quote owner.
"joe@acme.com"
Collect customer payment method mandate during signature flow or not.
true
IDs of the customer custom properties required to be filled during the signature flow.
[]
List of documents attached to the quote.
[
{
"id": "quof_5GYXy8P3QCdaXh",
"name": "General Conditions of Sale",
"mimetype": "application/pdf"
}
]
URL to access the quote publicly. Only applies to the pending_signature
or signed
quote.
"https://billing.hyperline.co/quote/quo_hXQCd5y8P3GYXa"
UTC date time string in the ISO 8601 format.
"2024-12-20T16:04:11Z"
Quote status.
draft
: The quote is a draft.pending_approval
: The quote is pending manager review and approval.changes_requested
: Some changes have been requested following manager review.approved
: The quote is approved and ready to be sent to the customer.pending_signature
: The quote is awaiting the customer's signature.signed
: The quote is signed and fully finalized.voided
: The quote is voided.
draft
"draft"
Estimated contract value.
200000
Quote expiration date. UTC date time string in the ISO 8601 format.
"2024-10-13T02:00:00.000Z"
Quote type.
subscription
: The quote will create and start a new subscription.subscription_update
: The quote will update an existing subscription.one_off
: The quote will issue an one-off invoice.
subscription
, subscription_update
"subscription"
ID of the subscription attached to the quote. It corresponds to the state at the time of the quote signature. Only applies to the subscription
and subscription_update
quote types. The get subscription endpoint (GET /v2/subscriptions/{id}
) can be used to retrieve the related details.
"sub_B6ClkdqNqVNBgY"
IDs of the created subscriptions from the quote. Subscriptions configuration can change after the quote signature. The get subscription endpoint (GET /v2/subscriptions/{id}
) can be used to retrieve the related details.
["sub_0z39oqdhKl0PXb"]
Whether the subscription should be automatically started when the quote is signed.
true
Was this page helpful?
curl --request GET \
--url https://api.hyperline.co/v1/quotes \
--header 'Authorization: Bearer <token>'
{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "quo_hXQCd5y8P3GYXa",
"customer_id": "cus_QalW2vTAdkR6IY",
"invoicing_entity_id": "ive_47484fjdhy5",
"template_id": "quot_9hNWq4c84Z146W",
"crm_opportunity_id": "<string>",
"number": "327",
"comments": "Please find the contract and subscription details we discussed.",
"terms": "By signing this quote, you accept our conditions of use for the use of our products and services.",
"owner_email": "joe@acme.com",
"collect_payment_details": true,
"collect_custom_property_ids": [],
"attachments": [
{
"id": "quof_5GYXy8P3QCdaXh",
"name": "General Conditions of Sale",
"mimetype": "application/pdf"
}
],
"signed_file": {
"id": "<string>",
"name": "<string>",
"mimetype": "<string>"
},
"url": "https://billing.hyperline.co/quote/quo_hXQCd5y8P3GYXa",
"created_at": "2024-12-20T16:04:11Z",
"status": "draft",
"amount": 200000,
"expires_at": "2024-10-13T02:00:00.000Z",
"type": "subscription",
"subscription_id": "sub_B6ClkdqNqVNBgY",
"child_subscription_ids": [
"sub_0z39oqdhKl0PXb"
],
"automatically_start_subscription": true
}
]
}