Fluent Commerce Logo
Docs
Sign In

GraphQL Schema Updates 2022-11-8

Release

Author:

Fluent Commerce

Changed on:

18 Mar 2024

Target release date:2022-11-08
Release status:Released

Description

Two updates to the articlesByLocation query

(1). A fix has been introduced to the articlesByLocation query. 

Results are now always in descending by creation time - in alignment with our other queries. The query now supports pagination when using the last parameter.

You can opt-in to these changes. To do so, disable the setting `fc.gql.compatibility.articlesByLocationOrder` from your by adding disabled to the end of the setting name to become `fc.gql.compatibility.articlesByLocationOrder.disabled`

Pages that use the `articlesByLocation` query now support partial search:

  • `customerEmail`
  • `customerFirstName`
  • `customerLastName`
  • `customerPhone`
  • `orderRef`

`(2). articleItems` now contains a link to `orderItems`

Via , you can now specify the `orderItem` that has been added to an via the `articleItem `connection. Map which `orderItem` is associated with each `articleItem` via the mutations `createArticle` and `updateArticle`.

👀 Explore the new queries using the GraphQL API Navigator on the left-hand menu.

Changelog

Details as listed above.

Released capability depth:Enhancement
Release bundle / Capability type:Platform
Fluent Commerce

Fluent Commerce