GET note_attributes on notification emails

Solved
jeffersoncavalc
New Member
2 0 0

Hi,

In this API: https://biossance-br.myshopify.com/admin/api/2020-01/orders.json?ids=2092402344006, we have the field: note_attributes. How do we bring that value into notification emails?

We tried:

{{ note_attributes }}
{{ order.note_attributes }}
{{ order.note_attributes[0]. value }}

But no value returned.

Can you help us?

Tks

0 Likes
_JB
Shopify Staff
Shopify Staff
834 98 188

This is an accepted solution.

Hey @jeffersoncavalc,

 

The proper syntax for that should be {{ attributes.attribute_name }}.

 

So for that order it's {{ attributes.house_number }} and {{ attributes.neighbourhood }}.

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

jeffersoncavalc
New Member
2 0 0

Tranks :)

0 Likes
discern
New Member
1 0 0

Can you confirm this is still working? We have note_attributes and this code doesn't seem to work on our templates.

0 Likes