Skip to content
← Back to Index

OnOrderCreated

This hook runs after commands have been applied to an Order Actor from the create message, but before the OnOrderCommands hook. Commands returned will be applied to the order and changes are available to the the OnOrderCommands hook.

Type

filtrera
{
  hook: 'OnOrderCreated'
  order: Order
}

Effects

messageActor Sends a message to another actor.
scheduleJob Schedules a job.
sendEmail Queues an email for delivery through the Sendings system.
orderCommand Applies a command to the order actor.

© 2024 Hantera AB. All rights reserved.