#damenz-chatbot-customer-id
1 messages ยท Page 1 of 1 (latest)
Hi koopajah ๐
Won't be as long this time
i swear :p
At first i thought that creating a customer using the same email / name / phone was returning the customer but I noticed the customer ID is never the same, so I guess the system is actually creating a new one everytime
correct it is, we never do any de-duplication
It does?
it does what? I said it does not
you can create 1M customers with the same email address and you get 1M separate customers
"we never do any de-duplication" i thought you said you dont create the same customer twice
Oh ok
got that wrong
So thats why I am trying to search by email first
and if I get nothing, I create the customer
the call that is failing is because it's in beta and you don't have access to the beta. It's mentioned right in those docs https://stripe.com/docs/search-api
but you don't need this at all
we have an email parameter on the List Customers API: https://stripe.com/docs/api/customers/list#list_customers-email