API

Application Programming Interface

InvoiceXpress Documentation



Update


sequences.update

Sets a specific sequence as the default.

You call this method by submitting an HTTP PUT request to the following URL:


    https://{account-name}.app.invoicexpress.com/sequences/{sequence-id}/set_current.xml
      

    https://{account-name}.app.invoicexpress.com/sequences/{sequence-id}/set_current.json
      
Header

XML: Content-Type: application/xml; charset=utf-8

JSON: Content-Type: application/json; charset=utf-8

Parameters

Parameters are the data you will pass with the call.

Parameter Required Description
api_key Yes Your secret identifier. You can find your API Key under Account >> API in the Account section.
sequence-id Yes The sequence to set as the default.

Return Values

These are the results that will be returned on success and error.

Success
HTTP: 200 OK
Error

In case of error it will return:

Code Description
HTTP: 401 Access denied The API Key parameter is missing or is incorrectly entered.
HTTP: 404 Not found No sequence matches the supplied {sequence-id}.
HTTP: 422 Unprocessable Entity Some parameters were incorrect.