Skip to main content

invoices/items/{id}/status/{status} (PUT)

This API is work in progress

To update the invoice status.

Exactly as in the online User Interface, this method will trigger any automatic business operations that are configured in the platform. For example, auto-assignment of quote or invoice numbers depending on the status transition. The same will of course also happen when using the more general invoice update method.

URL

CODE
(PUT) /api/invoices/items/{id}/status/{status}

PARAMETERS

The URL parameters are:

id

The invoice ID.

int, Mandatory

status

The new invoice status. See options here: Invoice status

int, Mandatory

RESULTS

The result is a JSON object:

status

The new status of the invoice.

int

statust

Title of status in language of user.

string

EXAMPLES

Changing the status:

CODE
PUT /api/invoices/items/3668/status/1

Result:

CODE
{
    "status": 1,
    "statust": "Quote Sent"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.