Discussions

Ask a Question
Back to All

Shopify Customer ID in webhooks

Hello,

I am using WaitWhile with Shopify. I have a webhook listening for visit.created and visit.updated events and I would like to know which of my shopify customers the event happened for.

My question is-- how does this shopify ID get put into WaitWhile? I see the externalCustomerID is a field in the visit.created and visit.updated events but it almost looks like I have to supply that to the customer by doing a customer update over the api which sort of defeats the purpose of listening for the webhook.

Am I missing something here?

Thanks for any help!