Customers/Create webhook get customer IP

Highlighted
Shopify Partner
15 0 0

Hello, i'm using customers/create webhook in my app and i'm wondering why you don't pass customer's IP address to webhook?

https://help.shopify.com/en/api/reference/customers/customer

Or maybe there are any other possibilities to get a customer's IP during registration?

0 Likes
Shopify Staff
Shopify Staff
469 36 92

Hi there @davydovct,

 

Webhooks only return the contents of the resource and we don't store IP address on the customer resources as per the docs.

Developer Experience @ Shopify
0 Likes
Shopify Partner
15 0 0

Why? Orders response has "browser-ip" for example

0 Likes
Shopify Staff
Shopify Staff
469 36 92

I don't have a specific reason why some parameters aren't on individual resources unfortunately.  In this case customers doesn't include an IP therefore the webhook doesn't either.

Developer Experience @ Shopify
0 Likes