Skip to main content

CreatePurchaseOrderItemInput

A line on a purchase order being created.

input CreatePurchaseOrderItemInput {
discountPercent: Float!
inventoryUOMId: String
notes: String
productId: String!
quantity: Float!
shippingAmount: Float!
surchargeAmount: Float!
taxGroupId: String
taxRate: Float!
taxRateIds: [String!]
unitPrice: Float!
uomId: String!
variantId: String
}

Fields​

CreatePurchaseOrderItemInput.discountPercent ● Float! non-null scalar​

Discount on this line, as a percentage.

CreatePurchaseOrderItemInput.inventoryUOMId ● String scalar​

The ID of the unit of measure the line is stocked in.

CreatePurchaseOrderItemInput.notes ● String scalar​

Notes on this line.

CreatePurchaseOrderItemInput.productId ● String! non-null scalar​

The ID of the product.

CreatePurchaseOrderItemInput.quantity ● Float! non-null scalar​

Quantity ordered, in the line's unit of measure.

CreatePurchaseOrderItemInput.shippingAmount ● Float! non-null scalar​

Shipping charge allocated to this line.

CreatePurchaseOrderItemInput.surchargeAmount ● Float! non-null scalar​

Surcharge allocated to this line.

CreatePurchaseOrderItemInput.taxGroupId ● String scalar​

The ID of the tax group.

CreatePurchaseOrderItemInput.taxRate ● Float! non-null scalar​

Tax rate on this line, as a percentage.

CreatePurchaseOrderItemInput.taxRateIds ● [String!] list scalar​

The IDs of the tax rates applied to this line.

CreatePurchaseOrderItemInput.unitPrice ● Float! non-null scalar​

Price per unit, in the order currency.

CreatePurchaseOrderItemInput.uomId ● String! non-null scalar​

The ID of the unit of measure.

CreatePurchaseOrderItemInput.variantId ● String scalar​

The ID of the product variant.

Member Of​

CreatePurchaseOrderInput input