Hi Anandh, API will not trigger the logic as onchange javascript customization works only on the client side.