nexlogiq Shopify icon

nexlogiq Shopify

Consume Shopify API (SaaS Edition)

Customer → Get Many

AI-generated

Summary

Fetch many customer records with optional filtering and pagination.

Inputs

  • shopUrl (required) — The full URL of the Shopify store (e.g., mycatalog.myshopify.com).
  • accessToken (required) — Admin API access token used for authentication.
  • returnAll — If true, returns all matching customers; otherwise limited by the limit parameter.
  • limit — Maximum number of results to return when returnAll is false; must be between 1 and 250.
  • options — Additional query options; can include 'query' for text search or 'ids' for a comma‑separated list of customer IDs.

Output shape

an array of customer objects

When returnAll is true the operation returns all customers matching the filter; otherwise up to limit items are returned. The result may be paginated only via the limit parameter, not via cursor; optional query or ids can further filter the results.

Examples

Example 1: Retrieve up to 20 customers whose names contain 'john'

shopUrl: mycatalog.myshopify.com, accessToken: , operation: getAll, limit: 20, options: {query: 'john'}

Example 2: Fetch specific customers by ID

shopUrl: mycatalog.myshopify.com, accessToken: , operation: getAll, options: {ids: '123,456,789'}

Example 3: Get all customers without a limit

shopUrl: mycatalog.myshopify.com, accessToken: , operation: getAll, returnAll: true

Links

Discussion