call up order number shopify flow

Solved

call up order number shopify flow

innerbloom_team
Tourist
11 0 0

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 %}

Accepted Solution (1)

paul_n
Shopify Staff
1818 199 432

This is an accepted solution.

It's order.name

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

Reply 1 (1)

paul_n
Shopify Staff
1818 199 432

This is an accepted solution.

It's order.name

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.