CreateOrderAndCustomerInput

Input type to create an Order while creating a new Customer in a single request

Input Fields

ref (String!)

External reference for the order. Must be unique.

type (String!)

Type of the Order, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.
Type of the Order, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform. Currently supports all values.

attributes ([AttributeInput])

List of order's attributes

retailer (RetailerId!)

Retailer for the order

totalPrice (Float)

Total price

totalTaxPrice (Float)

Total tax price

preciseTotalPrice (PreciseAmountInput)

Precise total price

preciseTotalTaxPrice (PreciseAmountInput)

Precise total tax price

currency (String)

Currency used for the order.

payment (PaymentKey)

The 'Payment' associated with this Order

fulfilmentChoice (CreateFulfilmentChoiceWithOrderInput)

FulfilmentChoice for the order

fulfilmentChoices ([CreateFulfilmentChoiceWithOrderInput])

FulfilmentChoices for the order

customer (CreateCustomerInput!)

Customer for the order

items ([CreateOrderItemWithOrderInput]!)

A list of OrderItems for this order

ref2 (String)

External reference 2 for the order. Must be unique. Can be null.

tag1 (String)

Tag 1 for order search

tag2 (String)

Tag 2 for order search

tag3 (String)

Tag 3 for order search