Skip to content
← Back to Index

OnSkuCreated

This hook runs after commands have been applied to a Sku Actor from the create message, but before the OnSkuCommands hook. Commands returned will be applied to the sku and changes are available to the the OnSkuCommands hook.

Type

filtrera
{
  hook: 'OnSkuCreated'
  sku: Sku
}

Effects

[`messageActor`](/resources/components/runtimes/rule-effects/messageActor) Sends a message to another actor after the sku has been saved. Responses from the target actor is ignored.
[`validationError`](/resources/components/runtimes/rule-effects/validationError) Aborts the creation of the sku and returns the error to the caller.
[`scheduleJob`](/resources/components/runtimes/rule-effects/scheduleJob) Schedules a job.
[`sendEmail`](/resources/components/runtimes/rule-effects/sendEmail) Queues an email for delivery through the Sendings system.
[`skuCommand`](/resources/components/runtimes/rule-effects/skuCommand) Applies a command to the actor.

© 2024 Hantera AB. All rights reserved.