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

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

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

(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:

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

Result:

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

 

 

Related content

invoices/items/{id} (PUT)
invoices/items/{id} (PUT)
More like this
invoices/items/{id}/status
invoices/items/{id}/status
More like this
Update invoice
Update invoice
More like this
invoices/items/new/clientinvoice
invoices/items/new/clientinvoice
More like this
orders/{orderId}/status (PUT)
orders/{orderId}/status (PUT)
More like this
orders/{orderId}/status/override (PUT)
orders/{orderId}/status/override (PUT)
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008