Skip to main content

AppPurchaseOrderLineInput

A line of an app's purchase order. Without unitCost the server takes the supplier's standard cost.

input AppPurchaseOrderLineInput {
quantity: Float!
unitCost: Float
uomId: ID!
variantId: ID!
}

Fields​

AppPurchaseOrderLineInput.quantity ● Float! non-null scalar​

Quantity, in the unit given by uomId. Must be above zero.

AppPurchaseOrderLineInput.unitCost ● Float scalar​

The supplier's agreed cost of one unit (uomId), in the purchase order's currency, before tax. Without it the supplier's standard cost applies, else the catalog price. Tax is never sent: it comes from the product's purchase tax group.

AppPurchaseOrderLineInput.uomId ● ID! non-null scalar​

The ID of the unit of measure the quantity is in. It must be one the product is bought in.

AppPurchaseOrderLineInput.variantId ● ID! non-null scalar​

The ID of the product variant.

Member Of​

AppCreatePurchaseOrderInput input ● AppUpdatePurchaseOrderInput input