Skip to content
← Back to Index

OnOrderCommands

This hook runs after commands have been applied to an Order Actor from the create or applyCommands message. Commands returned from rules does not trigger the hook again.

Type

filtrera
{
  hook: 'OnOrderCommands'
  before: Order // The order before the commands were applied
  order: Order // The order after the commands were applied
}

Effects

orderCommand Applies additional commands to the order actor. Commands returned from rules do not trigger the hook again.

© 2024 Hantera AB. All rights reserved.