A comprehensive solution for searching and retrieving individual or multiple profiles.
Search Profiles
endpoint allows you to search for profiles in a specified collection. You can use the endpoint to search for profiles by product ID, collection name, search string, and more.
Search Profiles
endpoint supports the following parameters:
Parameters | Required/Optional | Data Type | Description |
---|---|---|---|
product_Id | Required | string | The unique product ID. |
collection | Required | string | The collection name of the profile to search from. |
search | Optional | string | The search string. |
page | Optional | integer | Fetch results from the given page number. |
perpage | Optional | integer | Number of results per page. |
facets | Optional | array of string | Fetch the facet information, should be comma-separated. |
filterQuery | Optional | string | Query to filter listings. |
retrieveAttributes | Optional | array of string | Attributes to retrieve. |
referrences | Optional | array of string | Field references to fill, should be comma separated. |
Search Profiles
endpoint will contain the search results based on the provided parameters. Below is an example of a response object:
Get A Profile
endpoint allows you to retrieve a specific profile by ID. You can use this endpoint to retrieve a single profile from a specified collection.
Get A Profile
endpoint supports the following parameters:
Parameter | Required/Optional | Data Type | Description |
---|---|---|---|
product_id | Required | string | The unique product ID. |
id | Required | string | Profile ID to fetch. |
collection | Required | string | Name of the profile collection, for example, Architects, Builders, etc. |
referrences | Optional | array of string | Field referrences to fill, should be comma separated |
Get A Profile
endpoint will contain the requested profile information, as shown in the example below.
Get Multiple Profiles
endpoint allows you to retrieve multiple profiles at once. You can use this endpoint to retrieve multiple profiles from a specified collection by providing a list of profile paths.
Get Multiple Profiles
endpoint supports the following parameters:
Parameter | Required/Optional | Data Type | Description |
---|---|---|---|
product_id | Required | string | The unique product ID. |
paths | Required | array of string | Paths of profiles. Paths are made up of collection name and id. |
referrences | Optional | array of string | Fields to attach references, should be comma separated. |
Get Multiple Profiles
endpoint will contain the requested profile information for multiple profiles. Below is a response example for multiple profiles.