I’m looking for a way to distinguish new and returning customers using the checkout_completed event from the customer events api. I’ve experimented with this field: checkout?.order?.isFirstOrder
but it seems to only return ‘false’
Any ideas?
I’m looking for a way to distinguish new and returning customers using the checkout_completed event from the customer events api. I’ve experimented with this field: checkout?.order?.isFirstOrder
but it seems to only return ‘false’
Any ideas?
Currently that is the only field available
Hello!
First, let me say that isFirstOrder
only works with stores that have migrated over to checkout extensibility. While the documentation mentions the Shopify Plus plan, migrating to the new pages is available to all stores and will soon be the default after the deadline on that page.
Then, I believe it only works for real orders, and won’t work with the bogus gateway.
Hope this helps!