OrderFinancialLineInput
A line item on an order's accounting document. The provided lines represent the desired final set of lines for the document.
input OrderFinancialLineInput {
id: ID
itemId: ID
itemSourceType: OrderFinancialSourceTypeEnum
productId: ID
quantity: Decimal!
sku: String
unitCost: Decimal
unitPrice: Decimal!
}
Fields
OrderFinancialLineInput.id ● ID scalar common
The line id. Provide to update an existing line; omit to create a new one.
OrderFinancialLineInput.itemId ● ID scalar common
The source item this line came from — an order item, fulfillment item, or shipment item id.
OrderFinancialLineInput.itemSourceType ● OrderFinancialSourceTypeEnum enum orders
Which kind of item itemId references: ORDER, FULFILLMENT, or SHIPMENT.
OrderFinancialLineInput.productId ● ID scalar common
The product id for the line.
OrderFinancialLineInput.quantity ● Decimal! non-null scalar common
The quantity for the line. Must be non-negative.
OrderFinancialLineInput.sku ● String scalar common
The SKU for the line.
OrderFinancialLineInput.unitCost ● Decimal scalar common
The unit cost the brand pays for the line. Internal; never sent to the accounting provider.
OrderFinancialLineInput.unitPrice ● Decimal! non-null scalar common
The unit price for the line. Must be non-negative.
Member Of
CreateOrderFinancialInput input ● UpdateOrderFinancialInput input