UpdateOrderItemWithOrderInput

Input type to update an OrderItem with an Order. Intended to be used as an inline input in the updateOrder mutation.

NOTE
This mutation has potential implications on existing Orders and their workflows. We recommend this mutation to be not used directly. It should either be called from a user action or from within a workflow.

Input Fields

id (ID!)

ID of the OrderItem

ref (String)

External reference for the object. Recommended to be unique.

productRef (String)

External reference for the associated product.

productCatalogueRef (String)

External reference for the product catalogue containing the associated product (specified using the productRefin this object). When productCatalogueRef is not passed, the compatibility catalogue for this product is used.

fulfilmentChoiceRef (String)

Represents the FulfilmentChoice corresponding to this object

status (String)

Status of the OrderItem.

quantity (Int)

Quantity ordered

paidPrice (Float)

Price paid. Excludes tax.

currency (String)

Currency. Should ideally be a 3 letter ISO currency code. For instance AUD.

price (Float)

Price

taxPrice (Float)

Tax price

taxType (String)

Tax type. Supported values are GST, VAT, EXCLTAX.

totalPrice (Float)

Total price

totalTaxPrice (Float)

Total tax price

attributes ([AttributeInput])

List of OrderItem attributes. There's expected a JSON object