Hello!
When using the /api/template-render endpoint, certain templates that have profile-dependent tags (e.g. {% coupon_code %}), api returns a 400 bad request with the detail “Unable to render given template with provided context: customer profile is required”.
Have been able to pass other context data with no issues. But what is the correct syntax for sending profile information with the template context? Tried every combination/structure I could think of.
Anyone else figured this out?
Thanks

