Fluent Commerce Logo
Docs
Sign In

GraphQL Schema Updates 2022-11-8

Release

Author:

Fluent Commerce staff

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 order 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 account 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 GraphQL, you can now specify the

`orderItem`
that has been added to an article 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 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