POST
/
sales
/
markUnpaid
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
  }
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json

Response

200 - application/json

OK

Regular format of success response in Altera API Retrieved information will always be stored in the 'data' node