Hello,
I import Order magento to shopify We don’t need To send Mail to customer Is it possible in Private app if it is possible then how can Implimate [email removed]
Hello,
I import Order magento to shopify We don’t need To send Mail to customer Is it possible in Private app if it is possible then how can Implimate [email removed]
Hello @Sansaar ,
It is possible to create a Shopify private app that creates orders and sends emails to customers. Here is an outline of the steps you can follow:
Create a Shopify private app: To create a private app, you will need to have a Shopify account and be logged in. Go to the “Apps” section of your Shopify admin dashboard and click on the “Private apps” tab. Then, click on the “Create a new private app” button. Give your app a name and choose the permissions you want to grant it. Make sure to enable the “Orders, transactions and fulfillments” and “Customers” permissions, as these will allow your app to create orders and access customer information.
Use the Shopify API to create orders: Once you have created your private app, you can use the Shopify API to create orders. You can do this using the POST /admin/orders.json endpoint. This endpoint allows you to specify the details of the order, such as the customer, the items, and the shipping and billing addresses.
Use the Shopify API to send emails to customers: To send emails to customers, you can use the POST /admin/customers/{id}/send_invoice.json endpoint. This endpoint allows you to specify the customer ID and send them an invoice for the order.
Implement the code in your private app: Once you have a basic understanding of how to use the Shopify API to create orders and send emails to customers, you can implement the code in your private app. You can use any programming language that supports making HTTP requests to the Shopify API, such as PHP, Ruby, or Python.
I hope this helps! Let me know if you have any further questions.
In Order migration i don’t want to send emails to the customer. Is there way to disable order confirmation emails for historical order migration?
Set the send_receipt parameter to false: When creating an order using the POST /admin/orders.json endpoint, you can set the send_receipt parameter to false to disable the sending of order confirmation emails to the customer. This parameter is optional and is set to true by default, so you will need to include it in your request and set it to false if you do not want to send the email.
https://shopify.dev/api/admin-rest/2022-10/resources/order#post-orders
Hello,
I apply Your End Point and set flag Also But now my app show Error.
Can you please describe the error?
Hello,
Thank you for your response. My query got resolved.