Magidoc

CreateOrderInput
Input Object

An input to create a new Order

Fields

#

addresses

Any addresses to associate with the Order

contacts

Any customer contacts to associate with the Order

createdAt

Non-null

currency

Non-null

The currency the order is placed in

customerId

The ID of the Customer to associate with the Order

externalId

An optional external identifier for the order

items

Non-null

lines

The order lines.

reference

An optional reference number for the order

state

Non-null

The state of the order, defaults to DRAFT

updatedAt

Non-null

Usages

#

References

#

  • Argument input of field createOrder from type Mutation