Re: Access to customer data through cart/create topic webhook

Access to customer data through cart/create topic webhook

GustavoTofolo
Tourist
10 0 2

Hello everyone, I hope you are all well.

I have an private app where I manage webhooks that send requests to an endpoint. On this endpoint, I want to be able to access user information, such as phone number. When the webhook topic is "order/creation" or "checkouts/creation", everything is fine. But when it comes to "carts", I can't get this information. How can I solve this?

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1451 238 497

Hi @GustavoTofolo 

 

You could use an Checkout or Order's cart_token field to reconcile the data with your webhooks after the customer has gone through the checkout, but none of the cart webhooks include customer fields. 

 

If you have any more details on the specifics of your use case I would be happy to pass that feedback onto our product teams too. 

 

Cheers. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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