VTEX B2B GraphQL icon

VTEX B2B GraphQL

Interact with VTEX B2B Organizations GraphQL API

Actions15

User → Get

AI-generated

Summary

Retrieve a user by ID

Inputs

  • userId (required) — The ID of the user

Output shape

a user object containing id, email, name, organizationId, costCenterId, roleId

Matches the GraphQL getUser query; if the user is not found the returned object may have null fields.

Examples

Example 1: Fetch details for a specific user

Set Resource to User, Operation to Get, and User ID to 12345

Discussion