Skip to main content
GET
Retrieves the sale estimates.

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Response

200 - application/json

Sale estimates retrieved successfully

customerId
number
required

Unique identifier of the customer

Example:

1

estimateDate
string
required

Date of the estimate

Example:

"2024-01-01"

expirationDate
string
required

Expiration date of the estimate

Example:

"2024-01-31"

reference
string
required

Reference number of the estimate

Example:

"EST-2024-001"

estimateNumber
string
required

Estimate number

Example:

"EST-2024-001"

note
string
required

Note for the estimate

Example:

"This is a note."

termsConditions
string
required

Terms and conditions for the estimate

Example:

"Payment due in 30 days."

sendToEmail
string
required

Email to send the estimate to

exchangeRate
number
required

Exchange rate used for the estimate

Example:

1

amount
number
required

Amount of the estimate

Example:

1000

currencyCode
string
required

Currency code

Example:

"USD"

userId
number
required

User ID who created the estimate

Example:

42

discount
number
required

Discount value

Example:

100

discountType
string
required

Discount type

Example:

"amount"

adjustment
number
required

Adjustment value

Example:

50

formattedSubtotal
string
required

Formatted subtotal of the estimate

Example:

"1,000.00"

formattedAmount
string
required

Formatted total amount of the estimate

Example:

"1,200.00"

formattedEstimateDate
string
required

Formatted estimate date

Example:

"2024-01-01"

formattedExpirationDate
string
required

Formatted expiration date

Example:

"2024-01-31"

formattedDeliveredAtDate
string
required

Formatted delivered at date

Example:

"2024-01-05"

formattedApprovedAtDate
string
required

Formatted approved at date

Example:

"2024-01-10"

formattedRejectedAtDate
string
required

Formatted rejected at date

Example:

"2024-01-15"

discountAmountFormatted
string
required

Formatted discount amount

Example:

"100.00"

discountPercentageFormatted
string
required

Formatted discount percentage

Example:

"10%"

adjustmentFormatted
string
required

Formatted adjustment amount

Example:

"50.00"

totalFormatted
string
required

Formatted total

Example:

"1,150.00"

totalLocalFormatted
string
required

Formatted total in local currency

Example:

"1,200.00"

formattedCreatedAt
string
required

Formatted created at date

Example:

"2024-01-01"

entries
object[]
required

Entries of the sale estimate

attachments
object[]
required

Attachments of the sale estimate

deliveredAt
string

Delivered at date

Example:

"2024-01-05"

approvedAt
string

Approved at date

Example:

"2024-01-10"

rejectedAt
string

Rejected at date

Example:

"2024-01-15"

convertedToInvoiceId
number

Converted to invoice ID

Example:

100

convertedToInvoiceAt
string

Converted to invoice at date

Example:

"2024-02-01"

createdAt
string

Created at date

Example:

"2024-01-01"

updatedAt
string

Updated at date

Example:

"2024-01-10"

branchId
number

Branch ID

Example:

2

warehouseId
number

Warehouse ID

Example:

3

data
object[]