CreateDraftFulfillmentItemInput
An item of a draft fulfillment.
input CreateDraftFulfillmentItemInput {
amount: StrictDecimal
locationId: ID
orderItemId: ID!
quantity: Int
}
Fields
CreateDraftFulfillmentItemInput.amount ● StrictDecimal scalar common
The quantity with decimal places, in the line's unit of measure. Send either quantity or amount. Decimals are allowed only for products stored in a finer unit, up to that unit's decimal places.
CreateDraftFulfillmentItemInput.locationId ● ID scalar common
The only location this item is reserved from. It must belong to the warehouse and be active and pickable. The allocation fails if it cannot cover the quantity, and no other location is used. When it is omitted, the item takes the default available location of the warehouse and the allocation spans the locations of the warehouse by zone priority.
CreateDraftFulfillmentItemInput.orderItemId ● ID! non-null scalar common
The ID of the order item covered by this fulfillment item.
CreateDraftFulfillmentItemInput.quantity ● Int scalar common
The quantity of the order item to fulfill.