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`
- Accepts an optional list of so that you can include necessary metadata related to your business for a given transaction
`attributes`
- Includes two new fields for interacting with the . Both
`amount`
and`unscaled`
integer fields have been added to enable more precision when performing calculations using the transaction.`scaled`
- Has a connection to the entity
`Payment`
- Added a new mutation which allows you to update the
`updateFinancialTransaction,`
of a given`status`
`FinancialTransaction`
- is now a
`status`
instead of an`string`
`enumeration`
The
`Payment`
- Includes a connection to:
`FinancialTransaction`
`Fulfillment`
`CreditMemo`
- Each connection has a reverse relationship, allowing you to connect back to the payment
The
`Order`
- can now be created alongside the
`FinancialTransaction`
using the`Order`
mutation to simplify the process of managing order orchestration,`CreateOrder`
- now takes an optional
`Order`
so that you can specify a different billing address than the one saved against the customer's billing account.`BillingAddress`
The
`Inventory Position`
- Now, it has connections to the and
`product`
entities. You can derive Product and Location information directly from the`location`
query.`InventoryPosition`
- FulfilmentChoice now optionally takes an array of attributes as originally intended; previously, only one was accepted.
- The field in the GraphQL CreateCustomerInput schema is now optional.
`firstName`
Released capability depth: | New capability, Enhancement, Fix |
---|---|
Release bundle / Capability type: | Platform |