You would receive it as a string and then parse it into a dynamic variable. Like:
REST - Receiving data in an Epicor function from an external webhook - ERP 10 - Epicor User Help Forum (epiusers.help)