Skip to content

Rule Effect

customerCommand

Back to Index

Return this effect to apply a customer command from hooks that supports it.

Type

{
effect: 'customerCommand'
type: text // Command type
// Additional command properties are added here
}

Payment Commands

addActivityLog

Adds an activity log to a Customer

addTag

Adds a tag to a Customer

generateCustomerNumberByPrefix

Generates a customer number for a customer based on the given prefix

removeTag

Removes a tag from a Customer

setDynamicFields

Sets dynamic fields of a customer. Non specified fields will be left unchanged. Set value to null to remove field.

Back to Index