Skip to main content

CreateOrderInput

No description

input CreateOrderInput {
userId: UUID!
orderItemInputs: [OrderItemInput!]!
shipmentAddressId: UUID!
invoiceAddressId: UUID!
paymentInformationId: UUID!
vatNumber: String
}

Fields

CreateOrderInput.userId ● UUID! non-null scalar

UUID of user owning the order.

CreateOrderInput.orderItemInputs ● [OrderItemInput!]! non-null input

OrderItems of order.

CreateOrderInput.shipmentAddressId ● UUID! non-null scalar

UUID of address to where the order should be shipped to.

CreateOrderInput.invoiceAddressId ● UUID! non-null scalar

UUID of address of invoice.

CreateOrderInput.paymentInformationId ● UUID! non-null scalar

UUID of payment information that the order should be processed with.

CreateOrderInput.vatNumber ● String scalar

Optional VAT number.

Member Of

createOrder mutation