POST
/
quotes

Request

quoteTemplateId
string
required

The id of an existing quote template.

accountId
string
required

The id of an existing account.

activate
boolean
required

Can be true or false. When set to true, the quote will automatically be activated, otherwise, it will be created in a draft state.

Response

id
string

The Alguna ID of the quote.

name
string

The name derived from the template used to create the quote.

status
string

The status the quote is in. One of draft or active.

description
string

The description derived from the template used to create the quote.

accountId
string

The Alguna ID of the account to which the quote belongs.

products
[]Products

The products included in the quote.

currency
string

The currency in which the quote will be billed in. This is derived from the quote template.

contractPeriodType
string

The type of contract. Can be one of monthly_rolling or fixed.

contractStartDate
datetime

The date and time at which the quote is valid from.

contractDuration
integer

The length of period the quote lasts for, in months.

trialPeriodDays
integer

The length of time in days for a trial period, if applicable.

minimumSpend
MinimumSpend

A required minimum spend associated with the quote.

discount
Discount

A discount associated with the quote, if applicable.

createdAt
datetime

The date and time at which the quote was created.

updatedAt
datetime

The date and time at which the quote was last updated.