v2

latestOpenAPI 3.0.42026-08-084694591.6 MB
Sales Order Line Item

Get a list of lines items for a sales order, regardless of type

post/api/sales-orders/{salesOrderId}/line-items/list

Path parameters

salesOrderIdstring required

Response

List of all line items for the given sales order id

idstring required

Unique id associated to this entity.

lineItemIdstring nullable

The line item id (if applicable).

type'part' | 'shipping' | 'tax' | 'discount' | 'fee' | 'refund' required

Sales order line item type

pricenumber double required

The line item price.

discountedPricenumber double nullable

The line item discounted unit price (if applicable).

namestring nullable

Verbose name for this entity.

descriptionstring nullable

Line item description.

quantitynumber double

The line item quantity

externalReferencesobject nullable

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

accountingCodeIdstring nullable

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

isTaxableboolean required

Dictate if this line item is taxable.

subTotalnumber double required

Total line item cost, including applicable discounts

preDiscountSubTotalnumber double required

Total line item cost, before discounts

isPercentageDiscountboolean nullable

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

discountAmountnumber double nullable

The amount of the discount.

customFieldsobject nullable

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

numberinteger

Line number