cURL
curl --request POST \ --url https://api.altera.co/sales/markUnpaid \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "invoiceIds": [ 123 ] }'
{ "result": "OK", "data": { "invoiceId": 12413 } }
Sets the payment status of selected invoices as unpaid, sets paidAmount to 0.
OpenApi Key created within Altera.app for a certain company
OK
Regular format of success response in Altera API Retrieved information will always be stored in the 'data' node
"OK"
Was this page helpful?