Fluent Commerce Logo
Docs
Sign In

GraphQL Schema and SDK Updates 2021-03-25

Release

Author:

Fluent Commerce staff

Changed on:

22 Mar 2024

Target release date:2021-03-25
Release status:Released

Description

GraphQL Schema Updates

Several new features have been added to the GraphQL Schema this month. The team has been working on enhancements to bulk actions to enable optimization of key processes within the Global Inventory and Store Fulfilment domains.

New

`articlesByLocation`
query:

  • The
    `articlesByLocation`
    query is added to the GraphQL schema.
  • This query enables the retrieval of articles based on a location. It provides enhanced support for location-based scenarios such as arrivals, collections, and store-to-store transfers.
  • The query supports the following parameters:
    • `fromLocation`
    • `toLocation`
    • `orderType`
    • `createdOn`

New

`updateInventoryQuantitiesStatus`
mutation:

  • The
    `updateInventoryQuantitiesStatus`
    mutation is added to the GraphQL schema.
  • This mutation provides a more optimal way to bulk reset transient inventory quantities during a batch update. It updates the inventory quantities status for a specific inventory position filtered by inventory quantity types, statuses, and the date on which the inventory quantity is expected (
    `expectedOn`
    date).

New

`inventoryQuantityAggregate`
query:

  • The
    `inventoryQuantityAggregate`
    query is added to the GraphQL schema.
  • It provides a server-side sum calculation for a filtered list of inventory quantities, which can be used to prepare an on-hand quantity mutation update more optimally. It enables users to retrieve an aggregate inventory quantity for an inventory position filtered by inventory quantity types, statuses, and the date on which the inventory quantity is expected (
    `expectedOn`
    date).

New

`inventoryPositionAggregate query:`

  • The
    `inventoryPositionAggregate`
    query is added to the GraphQL schema.
  • It provides a server-side sum calculation of the onHand field for a filtered list of inventory positions, which can be used to provide a network on-hand aggregate quantity more optimally. It enables users to retrieve an aggregate inventory position on hand quantity filtered by a network, product, inventory position types, and statuses.

New

`waveItems`
connection for Waves:

  • A new connection
    `waveItems`
    is added to the GraphQL schema for the
    `waves`
    and
    `waveById`
    queries.
  • This provides an aggregate quantity for a product within a wave. It enables a more efficient bulk order processing capability for the pick screens in ServicePoint.


SDK Updates

Minor updates have been made to the SDK for this release. The following updates have been made:

GraphQL Schema update:

  • The
    `schema.json`
    file has been updated in the Plugin Archetype. Changes include all the new features listed above.

GraphQL Apollo Client change:

  • The GraphQL API Client dependency used within the SDK is now available on the Fluent maven repository. The JFrog Bintray repository owners provided notice of removal for the dependency.
  • We recommend that users update their existing plugin
    `pom.xml`
    files to avoid any dependency failure exceptions or slowness in resolving dependencies going forward.

The following repository configuration can be removed:

`<repository>`

`    <id>bintray</id>`

`    <url>https://dl.bintray.com/apollographql/android/</url>`

`</repository>`

For more information, see the SDK Release Notes.

Changelog

Details as listed above.

Released capability depth:New capability, Enhancement
Release bundle / Capability type:Platform, Tool
Fluent Commerce staff

Fluent Commerce staff

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo