Skip to main content

ChangeMobileOrderPaymentMethodInput

Changes the payment method of an order that has not been paid.

input ChangeMobileOrderPaymentMethodInput {
expectedVersion: Int
orderId: ID!
paymentMethod: MobilePaymentMethod!
}

Fields​

ChangeMobileOrderPaymentMethodInput.expectedVersion ● Int scalar​

The version of the order you last read. The change is refused if someone else changed it since.

ChangeMobileOrderPaymentMethodInput.orderId ● ID! non-null scalar​

The ID of the order.

ChangeMobileOrderPaymentMethodInput.paymentMethod ● MobilePaymentMethod! non-null enum​

The payment method to switch the order to.

Member Of​

changeMobileOrderPaymentMethod mutation