List products

Verison: 1.0 (read more)

Returns a list of all products with ability to search.

Available query params

  • query - will return partial and complete matches to both product code and description
  • productCode - will limit the result to single product, same as get
1
GET /products?query=lorem

Response

HTTP/1.1 200 OK

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    "items": [
        {
            "number": 1,
            "code": "Test product",
            "vendorNumber": "Test vendor product",
            "description": "Lorem ipsum",
            "unitPrice": 10.00,
            "taxRate": 25,
            "accountNumber": 3010
        }
    ],
    "total": 1
}

Detailed property description

Returns the same response structure as get products.