I am trying to create a flow to send an internal message that shows the persons name and the order number customers see.
{{customer.displayName}} will bring up the customers name
but I want to bring up the order number, the one they get, of their last order. I tried using {{customer.lastOrder.poNumber}} but it brings up a string of text numbers that dont match.
Ive also tried the ones below and still not a match
{% for orders_item in customer.orders %}
{{orders_item.confirmationNumber}}
{% endfor %}
{% for orders_item in customer.orders %}
{{orders_item.poNumber}}
{% endfor %}
{% for orders_item in customer.orders %}
{{orders_item.id}}
{% endfor %}
{% for orders_item in customer.orders %}
{{orders_item.poNumber}}
{% endfor %}