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 . Alongside this change, references also had their restrictions removed, enabling more seamless 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 revision for new items to be added as you can now freely specify a ref number. 

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

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