Skip to content
← Back to Index

OnSkuBeforeDeleted

This hook runs before a Sku Actor is deleted. It can be used to perform tasks or even block deletion using a validationError effect.

Type

filtrera
{
  hook: 'OnSkuBeforeDeleted'
  sku: Sku
}

Effects

messageActor Sends a message to another actor after the sku has been deleted. Responses from the target actor is ignored.
validationError Aborts the deletion of the sku and returns the error to the caller.
scheduleJob Schedules a job.

© 2024 Hantera AB. All rights reserved.