VTEX B2B GraphQL icon

VTEX B2B GraphQL

Interact with VTEX B2B Organizations GraphQL API

Actions15

User → Get Many

AI-generated

Summary

Retrieve users in an organization, paginated by page and page size

Inputs

  • organizationId — The ID of the organization to filter users by
  • page — Page number for pagination (default 1)
  • pageSize — Number of items per page (default 25)

Output shape

a list of user objects with pagination metadata

Each page returns up to pageSize users; pagination fields include page, pageSize, and total.

Examples

Example 1: Fetch the first page of users in organization 123

organizationId=123, page=1, pageSize=25

Example 2: Get the second page of users with 50 items per page

organizationId=456, page=2, pageSize=50

Discussion