Skip to main content
POST
/
vLatest
/
query
/
glasscore
/
product
Query Product
curl --request POST \
  --url https://api.glass.fm/vLatest/query/glasscore/product \
  --header 'Content-Type: application/json' \
  --data '{
  "advancedFilter": {
    "linkOperator": "AND",
    "items": [
      {
        "columnField": "nameFirst",
        "operatorValue": "contains",
        "value": "John"
      }
    ]
  },
  "return": [
    "id",
    "firstName",
    "lastName"
  ],
  "isAdditionalData": false,
  "page": 1,
  "pageSize": 20,
  "sortBy": "createdAt",
  "sortDirection": "desc"
}'
{
  "aggregateRating": 123,
  "descrip": "<string>",
  "featureSetArray": [
    {
      "id": 123,
      "isRequired": true
    }
  ],
  "fee": 123,
  "id": 123,
  "internalName": "<string>",
  "isDeprecated": true,
  "isMarketplace": true,
  "isWebApp": true,
  "name": "<string>",
  "requireCompany": true,
  "requireLocation": true,
  "requirePerson": true,
  "requireShipping": true,
  "shortName": "<string>",
  "totalReviews": 123
}

Body

application/json

Multiple query options are supported. You can build a complex query filling out the advancedFilter section. We also support "simple" queries which used by putting the key you want to filter by in the query section along with the value you want it to filter for. E.g., nameFirst=John will return all persons with a first name of John.

advancedFilter
object

Complex filter configuration allowing for multiple conditions with AND/OR operators.

return
string[]

Array of field names to return in the response.

Example:
["id", "firstName", "lastName"]
isAdditionalData
boolean
default:false

Set to true to merge requested fields with default response, or false/omit to return only requested fields plus ID.

page
number
default:1

Page number for pagination.

Example:

1

pageSize
number
default:500

Number of items per page. Defaults to 500.

Example:

20

sortBy
string

Field name to sort by.

Example:

"createdAt"

sortDirection
enum<string>
default:desc

Sort direction: ascending (asc) or descending (desc).

Available options:
asc,
desc
Example:

"desc"

{key}
string

Additional key-value pairs for simple filtering. Any field from the entity can be used as a filter key. E.g., field=value will return all records where that field matches the specified value.

Example:

"status=active"

Response

200 - application/json

A list of Products

aggregateRating
number | null
required

Represents the overall score or value given to a product based on combined user reviews or ratings.

descrip
string
required

Description of record.

featureSetArray
object[]
required

Contains a collection of specific attributes or characteristics associated with a product.

fee
number | null
required

Represents the additional charge associated with a product.

id
number
required

Unique identifier.

internalName
string
required

Represents the unique identifier used internally for each product.

isDeprecated
boolean | null
required

Indicates whether a product is no longer in use or recommended for use.

isMarketplace
boolean | null
required

Indicates whether the product is sold on a marketplace platform or not.

isWebApp
boolean | null
required

Indicates whether the product is a web application or not.

name
string
required

Name of product.

requireCompany
boolean | null
required

Indicates whether a company affiliation is necessary for the product.

requireLocation
boolean | null
required

Indicates whether a specific location is necessary for the product.

requirePerson
boolean | null
required

Indicates whether a product needs a person for its operation or use.

requireShipping
boolean | null
required

Indicates whether or not a product needs to be shipped to the customer.

shortName
string
required

Contains a brief, abbreviated title or identifier for a specific product.

totalReviews
number | null
required

Represents the aggregate count of customer feedback received for a specific product.