invoices
Bulk invoice actions
Changed onPOST /api/v1/invoices/bulk
There are multiple actions that are available including:
post/api/v1/invoices/bulk
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
indexstring
Example:user
Replaces the default response index from data to a user specific string
ie.
?index=new_index
response is wrapped
{
'new_index' : [
.....
]
}
Headers
X-API-TOKENstring required
Example:TOKEN
The API token to be used for authentication
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Request body
Example request
{
"action": "bulk_download",
"ids": [
"D2J234DFA",
"D2J234DFA",
"D2J234DFA"
]
}Response
The Bulk Action response
Changes
- breaking
removed the media type
application/jsonfor the response with the status
- breaking
- info
added the media type
application/jsonfor the response with the status
- info