1b5649cff14a

latestOpenAPI 3.0.42026-08-084694591.6 MB
Purchase Order Discount Line Item

Get the discount line item for a purchase order

get/api/purchase-orders/{purchaseOrderId}/discount-line-item

Path parameters

purchaseOrderIdstring required

Response

Discount line item

idstring required

Unique id associated to this entity.

namestring required

The name of the discount line.

descriptionstring nullable

Line item description

isPercentageboolean required

Indicates whether FulcrumProduct.PublicApi.Dto.PurchaseOrder.DiscountLineItem.DiscountLineItemDto.Amount discount is percentage based (else, it's an absolute amount).

amountnumber double required

The amount of the discount.

externalReferencesobject nullable

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

numberinteger

Line number

pricenumber double nullable

The calculated amount of this discount.