GET /invoices

The "Get User Invoices" API endpoint allows users to retrieve a list of their invoices. By making a GET request to this endpoint, users can access their individual invoice information, including details such as invoice number, date, amount, and paid status.

Query parameters

  • searchString string

    pass an optional search string for looking up inventory

  • skip integer(int32)

    number of records to skip for pagination

    Minimum value is 0.

  • limit integer(int32)

    maximum number of records to return

    Minimum value is 0, maximum value is 50.

Responses

  • 200 application/json

    search results matching criteria

    Hide response attribute Show response attribute object
    • id integer(int64)
  • 400

    bad input parameter

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • 404 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /invoices
curl \
 --request GET 'https://my.interserver.net/apiv2/invoices' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "id": 42
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}
Response examples (404)
{
  "code": "string",
  "message": "string"
}