Fluent Commerce Logo
Docs
Sign In

Improving GraphQL APIs: fixes for Inventory Search, Products, and Comments

Release

Author:

Kirill Gaiduk

Changed on:

11 Mar 2025

Target release date:2025-03-06
Release status:Released

Description

This release includes several fixes to the API:

  • The Inventory Positions Query now fully supports Inventory Quantity Aggregations. Previously, certain Inventory Position attributes were omitted under specific scenarios.
  • The `CREATE` event generation during Product creation has been fixed to ensure that the `entitySubType` is always included as expected for both Variant and Standard Products, removing the risk of Rule validation issues during Workflow processing.
  • Fluent Application Admins can now manage User data access for the Comment GraphQL API, ensuring secure object-level authorization: Users can view details of other Users within their organization (stored in Comments) only if they have the corresponding access Permissions.

Changelog

GraphQL API:

  • The issue of missing Inventory Position attributes values has been fixed for the `inventoryPositions` query when using the `quantitiesAggregate` argument.
  • The `entitySubtype` of orchestration Event (e.g., `CREATE`) for Product entities has been made consistent with other domains. Specifically, `event.entitySubtype` now receives the value from the `product.type`.
  • `USER_VIEW` Permission check has been added to the `user` field of the `Comment` Type in the GraphQL Schema, allowing to manage User data access at the Account level.

Limitations

  • The USER_VIEW Permission is now mandatory to retrieve User information (stored in a Comment) via the API or view it on the UI.
Released capability depth:Fix
Release bundle / Capability type:Platform