# after_clientdiscountexpire

# Hook parameter

An array is passed to hook containing following keys/values:

Key Type Description
id int ID
rel_id int Client/Group ID
rel_type string ClientGroup or Client
item_id int Product/Category/Config ID
item_type string Product or Category or Config
discount float Discount amount
type string percent or fixed
domain_type string Register or/and Transfer or/and Renew (comma separated)
expires string Expires date
notify_before_expire bool Notify before expire
notify_before_days int Notify before days
notify_after_expire bool Notify after expire
change_recurring_after_expire bool Change service recurring amount after expire

# Sample hook files

Last Updated: 6/9/2023, 1:34:30 PM