Skip to main content
inputMarkSalesOrderAsPaidCommandRequestInput

Fields

id
ID!
required

Unique ID of the sales order to be marked as paid.

paymentDate
DateTime

Date when the payment was made. If not provided, the current date and time will be used.

paymentMethodId
ID

ID of the payment method to be used for the payment. If not provided, the default payment method will be used.

distribute
Boolean

Whether to distribute the payment to associated invoices. If not provided, it will default to true.

comment
String

Comment for the payment. If not provided, no comment will be added to the payment.

sendMail
Boolean

Whether to send a confirmation email after payment processing. If not provided, it will default to false.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.