Focuses on API authentication, access scopes, and permission management.
Is it possible to receive the customer_id as a callback from the EC side when the new registration on Shopify's Multipass?
Solved! Go to the solution
This is an accepted solution.
Hi Yuno-7,
Shopify does not directly provide a callback with the `customer_id` when a new registration is made via Multipass. When you create a Multipass login for a customer, you're essentially creating a new customer record in Shopify. The `customer_id` is generated by Shopify and is not directly accessible during the Multipass login process.
If you need to keep track of the `customer_id` for new customers registered via Multipass, you would need to use Shopify's Admin API. You could create a process on your server that periodically polls Shopify for new customers (using the /admin/api/2023-07/customers.json endpoint, for example) and then updates your original website with the new `customer_id` values.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
This is an accepted solution.
Hi Yuno-7,
Shopify does not directly provide a callback with the `customer_id` when a new registration is made via Multipass. When you create a Multipass login for a customer, you're essentially creating a new customer record in Shopify. The `customer_id` is generated by Shopify and is not directly accessible during the Multipass login process.
If you need to keep track of the `customer_id` for new customers registered via Multipass, you would need to use Shopify's Admin API. You could create a process on your server that periodically polls Shopify for new customers (using the /admin/api/2023-07/customers.json endpoint, for example) and then updates your original website with the new `customer_id` values.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
Hi, Liam
I am trying to set up our shop with multipass login.
I have the same issue with this question. Thanks your reply on this question.
But, I got one problem.
I tried to login with Multipass login process after creating a customer process on my server with Customer Create API . But it returns error which is email duplicated. Do you know what the reason is? I used email and multipass_identifier with creating a customer, email and identifier variables with multipass login.