- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createOrderExchangeItemsFromActionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createOrderExchangeItemsFromActionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates exchange items from change actions.
Example#
Input#
CreateOrderExchangeItemsFromActionsInput
CreateOrderExchangeItemsFromActionsInputThe details of creating exchange items from change actions.
CreateOrderExchangeItemsFromActionsInput
CreateOrderExchangeItemsFromActionsInputchanges
OrderChangeActionDTO[]The change actions to create exchange items from.
changes
OrderChangeActionDTO[]exchangeId
stringThe ID of the exchange to create the items for.
exchangeId
stringOutput#
OrderExchangeItemDTO[]
OrderExchangeItemDTO[]
OrderExchangeItemDTO[]
OrderExchangeItemDTO[]OrderExchangeItemDTO
OrderExchangeItemDTOThe order exchange item details.
OrderExchangeItemDTO
OrderExchangeItemDTOWas this page helpful?