Fluent Commerce Logo
Docs
Sign In

OrderItem Improvements

Release

Author:

Matt Salmon

Changed on:

30 Apr 2024

Target release date:2024-04-30
Release status:Released

Description

This API update includes changes to the OrderItem object to improve usability and flexibility. Statuses can now freely be set to cover use cases such as substitutions or returns. Alongside this change, references also had their restrictions removed, enabling more seamless order revisions. Please refer to the changelog for specifics.

Changelog

Previously, when using the

`createOrderItem`
mutation a unique
`ref`
was required. In alignment with
`updateOrder`
, this mutation now supports non-unique
`ref`
values and the restriction has been removed. This is helpful when performing tasks such as order revision for new order items to be added as you can now freely specify a ref number. 

Removed restricted values for the

`status`
field on the
`OrderItem`
 entity. Enabling greater flexibility to set meaningful status information, such as "substituted", "returned", "replaced", or "cancelled".

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

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