latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

Quotes

Get a quote line item

Retrieve the details of a single quote line item (required scope finance:read)

get/v1/finance/quotes/{quoteId}/lineItems/{lineItemId}

Path parameters

quoteIdinteger required

The unique identifier of the quote associated with the quote line item

lineItemIdinteger required

The unique identifier of the quote line item

Headers

Customer-Idinteger required

The customer identifier

Response

OK

idinteger

The unique identifier associated with the quote line item

quoteIdinteger nullable

The unique identifier of the quote associated with the quote line item

contactIdinteger nullable

The unique identifier of the contact associated with the quote line item

createdAtstring date-time

The date and time when the quote line item was created

quantitynumber double

The quantity of the line item

descriptionstring

Description of the quote line item

taxIdinteger nullable

VAT / Tax identifier associated with the line item

taxPercentagenumber double

Tax percentage applied to the line item (GET only, never null). Defaults to 0 when no tax is applied

unitCostnumber double nullable

Unit cost of the item (cannot be negative)

unitSellingPricenumber double

Unit selling price of the item (cannot be negative)

taxAmountnumber double nullable

Tax amount for the line item (GET only)

grossAmountnumber double nullable

Gross amount of the line item (GET only)

nominalCodeIdinteger nullable

Nominal code identifier

departmentCodeIdinteger nullable

Department code identifier

Example response

{
  "id": 12345,
  "quoteId": 54321,
  "quantity": 5,
  "description": "Replacement filter cartridge",
  "taxId": 1001,
  "taxPercentage": 20,
  "unitCost": 5.5,
  "unitSellingPrice": 10.99,
  "taxAmount": 2.2,
  "grossAmount": 13.19,
  "nominalCodeId": 50001,
  "departmentCodeId": 20002
}