Skip to main content

PlaceOrderInput

Places an order from the cart.

input PlaceOrderInput {
addressId: ID!
deliveryOptionId: ID
idempotencyKey: String!
includePrintedInvoice: Boolean
slotId: ID
}

Fields​

PlaceOrderInput.addressId ● ID! non-null scalar​

The ID of the address.

PlaceOrderInput.deliveryOptionId ● ID scalar​

the chosen live delivery option id (mobileDeliveryOptions). Required when the store prices delivery live; ignored otherwise.

PlaceOrderInput.idempotencyKey ● String! non-null scalar​

Idempotency key for retry safety. Must be ${cartId}-${ISO timestamp}. Reuse on retry.

PlaceOrderInput.includePrintedInvoice ● Boolean scalar​

Ignored. The printed-invoice fee was removed; kept so existing app builds that send it keep working.

PlaceOrderInput.slotId ● ID scalar​

The ID of the delivery slot.

Member Of​

placeOrder mutation