OrderItemInput
The input object for an order item.
input OrderItemInput {
delete: Boolean
id: ID
price: Decimal
productId: ID
quantity: Int
sku: String
}
Fields
OrderItemInput.delete ● Boolean scalar
If this is set to true, the system will delete the order item. If this is
provided, the id field must be provided as well and other fields will be ignored.
OrderItemInput.id ● ID scalar
The order item ID. If this is provided, the system will update the existing order item. If this is not provided, the system will create a new order item.
OrderItemInput.price ● Decimal scalar
The price of the product.
OrderItemInput.productId ● ID scalar
The product ID.
OrderItemInput.quantity ● Int scalar
The quantity of the product.
OrderItemInput.sku ● String scalar
The product SKU.
Member Of
CreateDraftOrderInput input ● CreateOrderInput input ● CreatePendingOrderInput input ● SaveDraftOrderInput input ● UpdateOrderInput input