Product Controller

Get public product list by country/state

Open API to retrieve product list by country or state name. If state is provided, filtering is done by state only and country is not required. If state is not provided, country is required. Pagination (page, size) is required.

get/products/search

Query parameters

countrystring
Example:United States

Country name. Required when state is not provided. Example: "United States"

statestring
Example:California

State name. If provided, filtering will be done by state only and country is not required. Example: "California"

pagenumber required

Page number for pagination. Starting from 0

sizenumber required
Example:10

Number of items per page. maximum 100

Response

Products retrieved successfully

totalItemsnumber required
pagenumber required
sizenumber required

Example response

{
  "items": [
    {
      "productName": "Certified Folio",
      "price": "124.99",
      "countryId": 1,
      "countryName": "United States",
      "currency": "EUR",
      "currencySymbol": "€",
      "productSortOrder": "0"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.