Skip to main content

POUpdateItemInput

Input for a Purchase Order item.

input POUpdateItemInput {
delete: Boolean
leadTime: Int
moq: BigDecimal
poItemId: ID
productId: ID
qtyOrdered: BigDecimal
unitCost: BigDecimal
}

Fields

POUpdateItemInput.delete ● Boolean scalar

Flag to indicate if the item should be deleted from the Purchase Order. It only works when updating a Purchase Order.

POUpdateItemInput.leadTime ● Int scalar

Lead time in days for the product.

POUpdateItemInput.moq ● BigDecimal scalar

Minimum order quantity for the product. This value is related to the unit cost.

POUpdateItemInput.poItemId ● ID scalar

ID of the Purchase Order item. It is required when updating or deleting an existing item.

POUpdateItemInput.productId ● ID scalar

ID of the product associated with this Purchase Order item.

POUpdateItemInput.qtyOrdered ● BigDecimal scalar

Quantity of the product ordered. Required unless delete is true.

POUpdateItemInput.unitCost ● BigDecimal scalar

Unit cost of the product given the quantity ordered.

Member Of

UpdatePurchaseOrderInput input