TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/crm/invoice/status/{status} This function requires authentication

Description

Updates a status of invoices with the IDs specified in the request.

Parameters
Name Description Type Example
status
sent in url
New invoice status Draft, Sent, Rejected, Paid, Archived Draft
invoiceids
sent in body
List of invoice IDs System.Int32[]
Example
PUT api/2.0/crm/invoice/status/%22Draft%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "invoiceids": [
    1234
  ]
}
Returns

Invoice information