Acoustic Connect icon

Acoustic Connect

Interact with Acoustic Connect GraphQL API

Product → Get Products

AI-generated

Summary

Fetch products from Acoustic Connect with optional filtering, sorting, and field selection.

Inputs

  • returnAll — Whether to return all results or only up to a given limit
  • limit — Maximum number of results to return when Return All is disabled
  • filters — Filter rules to apply, each consisting of a field, operation, and value
  • sort — Sort order for results, specifying a field and direction
  • selectByName — Comma-separated list of attribute names to include in the response

Output shape

a paginated list of product objects

Pagination is controlled by limit and returnAll; if Return All is false and limit is omitted, up to the default limit (50) is returned; filters and sort can be applied; selectByName limits returned attributes.

Examples

Example 1: Get the first 20 products with name and price only

returnAll: false, limit: 20, selectByName: 'productId,name,price', filters: {}, sort: {}

Example 2: Retrieve all products in the 'Electronics' category

returnAll: false, limit: 100, filters: [{field: 'category', operation: 'equals', value: 'Electronics'}], sort: {}, selectByName: ''

Example 3: Fetch all products without any filtering or limiting

returnAll: true, limit: null, filters: {}, sort: {}, selectByName: ''

Links

Discussion