Marks a given sales order as completely paid by creating a payment with the open amount of the sales order.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Optional: If no token is present, the API Gateway injects it.
Headers
This is the name of your application, e.g. "MyApp/1.0.0". It is used to identify your application.
This is where the version number of your application is entered, e.g. "1.0.0".
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The id of a session in which the call will be executed.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
The tenant ID for the target ERP instance.
Path Parameters
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Body
Request parameters
Marks a given sales order as completely paid by creating a payment with the open amount of the sales order. - Request
Unique ID of the sales order to be marked as paid.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Date when the payment was made. If not provided, the current date and time will be used.
ID of the payment method to be used for the payment. If not provided, the default payment method will be used.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Whether to distribute the payment to associated invoices. If not provided, it will default to true.
Comment for the payment. If not provided, no comment will be added to the payment.
Whether to send a confirmation email after payment processing. If not provided, it will default to false.
Response
Sales order was successfully marked as paid.