All Release Notes
Introduced 'key' field on Return Items
31 July 2023
Enhancement
GraphQLOrders
We introduced the key
field on LineItemReturnItem, CustomLineItemReturnItem, and ReturnItemDraft. We also introduced returnItemKey
on update actions referencing Return Items for Orders and Order Edits. This ensures a consistent experience when working with external identifiers across different entity types in Composable Commerce.
Changes:
- [API] Added
key
to the following Order types: - [API] Added
returnItemKey
and madereturnItemId
optional on the following update actions on Orders: - [API] Added
returnItemKey
and madereturnItemId
optional on the following update actions on Orders Edits: - [GraphQL API] Changed the
SetStagedOrderReturnPaymentStateOutput
type:- Added the
returnItemKey
field to theSetStagedOrderReturnPaymentStateOutput
type. SetStagedOrderReturnPaymentStateOutput.returnItemId
field type changed fromString!
toString
- Added the
- [GraphQL API] Changed the
SetStagedOrderReturnItemCustomType
type:- Input field
returnItemKey
was added toSetStagedOrderReturnItemCustomType
type SetStagedOrderReturnItemCustomType.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnShipmentState
type:- Input field
returnItemKey
was added toSetStagedOrderReturnShipmentState
type SetStagedOrderReturnShipmentState.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
SetOrderReturnItemCustomType
type:- Input field
returnItemKey
was added toSetOrderReturnItemCustomType
type SetOrderReturnItemCustomType.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnItemCustomTypeOutput
type:- Added the
returnItemKey
field to theSetStagedOrderReturnItemCustomTypeOutput
type. SetStagedOrderReturnItemCustomTypeOutput.returnItemId
field type changed fromString!
toString
- Added the
- [GraphQL API] Changed the
ReturnItemDraftTypeOutput
type:- Added the
key
field to theReturnItemDraftTypeOutput
type.
- Added the
- [GraphQL API] Changed the
LineItemReturnItem
type:- Added the
key
field to theLineItemReturnItem
type.
- Added the
- [GraphQL API] Changed the
SetStagedOrderReturnItemCustomField
type:- Input field
returnItemKey
was added toSetStagedOrderReturnItemCustomField
type SetStagedOrderReturnItemCustomField.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnShipmentStateOutput
type:SetStagedOrderReturnShipmentStateOutput.returnItemId
field type changed fromString!
toString
- Added the
returnItemKey
field to theSetStagedOrderReturnShipmentStateOutput
type.
- [GraphQL API] Changed the
CustomLineItemReturnItem
type:- Added the
key
field to theCustomLineItemReturnItem
type.
- Added the
- [GraphQL API] Changed the
SetOrderReturnPaymentState
type:SetOrderReturnPaymentState.returnItemId
input field type changed fromString!
toString
- Input field
returnItemKey
was added toSetOrderReturnPaymentState
type
- [GraphQL API] Changed the
SetOrderReturnItemCustomField
type:- Input field
returnItemKey
was added toSetOrderReturnItemCustomField
type SetOrderReturnItemCustomField.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
ReturnItem
type:- Added the
key
field to theReturnItem
type.
- Added the
- [GraphQL API] Changed the
ReturnItemDraftType
type:- Input field
key
was added toReturnItemDraftType
type
- Input field
- [GraphQL API] Changed the
SetOrderReturnShipmentState
type:- Input field
returnItemKey
was added toSetOrderReturnShipmentState
type SetOrderReturnShipmentState.returnItemId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
SetStagedOrderReturnPaymentState
type:SetStagedOrderReturnPaymentState.returnItemId
input field type changed fromString!
toString
- Input field
returnItemKey
was added toSetStagedOrderReturnPaymentState
type
The following changes were introduced in terms of GraphQL SDL:
extend type SetStagedOrderReturnItemCustomFieldOutput {returnItemKey: String}extend type SetStagedOrderReturnPaymentStateOutput {returnItemKey: String}extend interface ReturnItem {key: String}extend type SetStagedOrderReturnItemCustomTypeOutput {returnItemKey: String}extend type ReturnItemDraftTypeOutput {key: String}extend type LineItemReturnItem {key: String}extend type SetStagedOrderReturnShipmentStateOutput {returnItemKey: String}extend type CustomLineItemReturnItem {key: String}extend input SetStagedOrderReturnItemCustomField {returnItemKey: String}extend input SetOrderReturnPaymentState {returnItemKey: String}extend input SetStagedOrderReturnItemCustomType {returnItemKey: String}extend input SetOrderReturnItemCustomField {returnItemKey: String}extend input SetStagedOrderReturnShipmentState {returnItemKey: String}extend input SetOrderReturnItemCustomType {returnItemKey: String}extend input ReturnItemDraftType {key: String}extend input SetOrderReturnShipmentState {returnItemKey: String}extend input SetStagedOrderReturnPaymentState {returnItemKey: String}