I am trying to pass the ID of an object with the transactional email API.
I cannot save my programmable email module because of this error: Missing required input parameters. Object id or query is mandatory for crm_object function.
My object ID will be "custom.yacht" passed via API. Why is this not valid? Should it be written another way?
{% set yacht = crm_object("yacht", custom.yacht, "name,builder, year") %}
<h1>{{ yacht.name }}</h1>