All things Shopify and commerce
I'm subscribed to the orders_create webhook, and I'm wondering if the email (customer email) field is guaranteed in the order object for online, not POS sales.
Hi @EricH2
Email is not a required field. You can have a look at the screenshot below.
Thank you.
Are there any good ways of linking an order to a customer based on the orders_create webhook response data?
In my experience, using the customer ID is an effective method to link orders. By extracting the customer ID from the orders_create webhook response, you can seamlessly connect each order to its respective customer in your system. This approach simplifies tracking and enhances the overall efficiency of order management.
I thought that the customer field wasn't guaranteed, and therefore no way to consistently get a customer ID - https://shopify.dev/docs/api/admin-rest/2023-10/resources/order#resource-object?
When customers enter a phone number or email on the checkout page, a new customer is created during the order process if they're not logged in. This newly created customer is then linked to the order, streamlining the overall order creation and customer management process.
Will I get all customer fields with the read_orders access scope, or do I also need customer_read_orders scope?
You need to add read_customers scopes.
https://shopify.dev/docs/api/usage/access-scopes
I've updated my shopify.app.appName.toml file to include the read_customers access scope, and tried to deploy the config changes with npm run shopify app deploy. It creates the new version, but doesn't deploy it because I haven't been approved for network access. I'm still in development and not ready to have the app reviewed for publishing. How can I update access scopes without requesting network access?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024