Quote Part Line Item

Move a part line item to a new position on a Quote

Changed on

number is the line's new 0-based position among the quote's part lines; the part lines between its old and new position shift by one. The returned line's number is its quote-wide line number, which counts the quote's blanket lines first, so it equals the requested position only on a quote without blanket lines.

put/api/quotes/{quoteId}/part-line-items/{lineItemId}/order

Request

Path parameters

quoteIdstring required
lineItemIdstring required

Request body

numberinteger required

The line's new 0-based position among the quote's part lines only. The part lines between its old and new position shift by one. This is not the quote-wide line number a part line item returns, which counts the quote's blanket lines first.

Response

The moved part line item

idstring required

Unique id associated to this entity.

quantitynumber double required

The line item quantity

pricenumber double required

The line item price.

discountedPricenumber double required

The discounted line item price.

itemIdstring required

Item id associated with this line item.

descriptionstring nullable

The part line item description. Defaults to the item's description if none specified.

accountingCodeIdstring nullable

Accounting code key identifier. Please reference /api/accounting-codes endpoint.

internalNotesstring nullable

The line's internal notes, aka production notes, as stored. Create stores the value sent; update stores it when it is not empty and otherwise keeps the stored notes, so an update cannot clear them.

itemNotesstring nullable

The line's own stored item notes. Create and update store the value sent; when it is omitted, empty or whitespace they store the line's effective notes instead — its own, else its BOM snapshot's — so an update cannot clear them. A line whose own notes were never stored reads null even when its BOM snapshot carries notes.

isTaxableboolean required

Dictate if this line item is taxable.

taxCodeIdstring nullable

Tax code key identifier. Please reference /api/tax-rates endpoint.

taxRatenumber double nullable

Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemDto.TaxRate will supercede the defined tax rate.

overrideTaxRateboolean nullable

Dictate if the tax rate is overridden.

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this line item.

isPercentageDiscountboolean nullable

Indicates whether FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemDto.DiscountAmount discount is percentage based (else, it's an absolute amount).

discountAmountnumber double nullable

The amount of the discount.

subTotalnumber double required

Total line item cost, including applicable discounts

preDiscountSubTotalnumber double required

Total line item cost, before discounts

customFieldsobject nullable

Custom fields that have been defined for the part line item;

numberinteger

Line number

Changes