Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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
1453 238 527

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