Fluent Commerce Logo
Docs
Sign In

GraphQL updates for payments

Release

Author:

Fluent Commerce

Changed on:

3 Jan 2024

Target release date:2023-10-17
Release status:Released

Description

You can now manage payments throughout the lifecycle of an order with our newly updated payments data model. Read more about what's new and how to start in Overview of Payments in Fluent.

Changelog

The 

`FinancialTransaction`
 entity has been improved with the following:

  • Accepts an optional list of 
    `attributes`
     so that you can include necessary metadata related to your business for a given transaction
  • Includes two new fields for interacting with the 
    `amount`
    . Both 
    `unscaled`
     and 
    `scaled`
     integer fields have been added to enable more precision when performing calculations using the transaction.
  • Has a connection to the 
    `Payment`
     entity
  • Added a new mutation 
    `updateFinancialTransaction,`
     which allows you to update the 
    `status`
     of a given 
    `FinancialTransaction`
  • `status`
     is now a 
    `string`
     instead of an 
    `enumeration`

The 

`Payment`
 entity has been improved with the following:

  • Includes a connection to:
  • `FinancialTransaction`
  • `Fulfillment`
  • `CreditMemo`
  • Each connection has a reverse relationship, allowing you to connect back to the payment

The 

`Order`
 entity has been improved with the following:

  • `FinancialTransaction`
     can now be created alongside the 
    `Order`
     using the 
    `CreateOrder`
     mutation to simplify the process of managing order orchestration,
  • `Order`
     now takes an optional 
    `BillingAddress`
     so that you can specify a different billing address than the one saved against the customer's billing account.

The 

`Inventory Position`
 entity has been improved with the following:

  • Now, it has connections to the 
    `product`
     and 
    `location`
     entities. You can derive Product and Location information directly from the 
    `InventoryPosition`
     query.
  • FulfilmentChoice now optionally takes an array of attributes as originally intended; previously, only one was accepted.
  • The 
    `firstName`
     field in the GraphQL CreateCustomerInput schema is now optional.
Released capability depth:New capability, Enhancement, Fix
Release bundle / Capability type:Platform
Fluent Commerce

Fluent Commerce

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