Last update:
April 11, 2024
AddOrUpdateOrderPayment mutation¶
This mutation adds or updates the payment details for the order. It supports partial update, with all fields in command.payment
and command.payment.billingAddress
being optional. If you provide command.payment.id
, the existing payment will be updated.
Fields¶
The InputAddOrUpdateOrderPaymentType
is a type that represents the input object for adding or updating an order payment.
Field | Description |
---|---|
orderId String! |
The Id of the order to which the payment will be added or updated. |
payment InputOrderPaymentType! |
The payment details to be added or updated for the order. |
Possible returns¶
Possible return | Description |
---|---|
CustomerOrderType |
A customer order. |