BoldSales

API Documentation

Get all product views

get/api/v1/products/views

Retrieves a list of all product views.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/products/views' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Query parameters

searchstringFilters the list of views by name. Only views whose names contain the specified search string are returned.

Example response

200 Success

{
  "data": [
    {
      "id": 1,
      "name": "All Products",
      "isSystemView": true,
      "accessScopeId": 2,
      "owner": {
        "id": 1,
        "name": "System Automation",
        "email": "",
        "status": "Active"
      }
    },
    {
      "id": 2,
      "name": "Active Products",
      "isSystemView": true,
      "accessScopeId": 2,
      "owner": {
        "id": 1,
        "name": "System Automation",
        "email": "",
        "status": "Active"
      }
    }
  ]
}