Ideas

Give us your best ideas!

Enable Storefront GraphQL to resolve Pointer fields for CustomersGroup and CustomersOrganization

Currently, Litium Storefront GraphQL only returns GUIDs for Pointer fields like CustomersGroup and CustomersOrganization, without resolving them into meaningful entity details. This creates additional complexity when we need to fetch customer group names, organization information, or associated persons, as it requires separate API calls.

We propose enhancing Storefront GraphQL to:

  1. Resolve CustomersGroup pointers into full group details, including the group name and associated persons (members of the group).

  2. Resolve CustomersOrganization pointers into organization details, including organization name and associated persons (contacts within the organization).

To address security concerns, we suggest introducing access control at the field level—ensuring only authorized requests can access this data. This approach would maintain data protection while improving development efficiency and the richness of Storefront GraphQL responses.

This enhancement would greatly simplify working with customer-related data, reduce extra API calls, and offer a more streamlined and powerful GraphQL experience.

  • kunjahamed P
  • Mar 3 2025
  • Attach files
      Drop here to upload