Cannot update the email layout through API
I am trying to update the email layout using to update
but it always falls back to the default layout. The same thing happens when I create a new workflow via the API.
Is there a way to specify a different layout through the API?
3 Replies
@Endy_
You will need to use mongodb id of layout as _layoutId
Yes. I’m using the MongoDB layout _id from the
but it still isn’t working
For example, the current email layout is set to “A.” I’m passing the template layout ID for “B,” but it still falls back to the default layout.
Oops. I found the issue. It shouldn’t be _layoutId, it should be layoutId. Sorry for the confusion.
thanks for the update @Endy_