UpdateOrderItemInput
Autogenerated input type of UpdateOrderItem
input UpdateOrderItemInput {
clientMutationId: String
discount: Decimal
id: ID
orderId: ID
orderItemId: ID
price: Decimal
productId: ID
quantity: Int
unlinkProduct: Boolean
}
Fields
UpdateOrderItemInput.clientMutationId ● String scalar common
A unique identifier for the client performing the mutation.
UpdateOrderItemInput.discount ● Decimal scalar common
The new discount amount for the order item.
UpdateOrderItemInput.id ● ID scalar common
The ID of the order item to update. Prefer order_item_id for new callers.
UpdateOrderItemInput.orderId ● ID scalar common
The ID of the order that owns the order item.
UpdateOrderItemInput.orderItemId ● ID scalar common
The ID of the order item to update.
UpdateOrderItemInput.price ● Decimal scalar common
The new unit price for the order item.
UpdateOrderItemInput.productId ● ID scalar common
The ID of the catalog product to link. The line adopts the product SKU and name.
UpdateOrderItemInput.quantity ● Int scalar common
The new quantity for the order item.
UpdateOrderItemInput.unlinkProduct ● Boolean scalar common
Whether to remove the order item's current product link.
Member Of
updateOrderItem mutation