I am using API call to create order shipment.

$ch = curl_init("https://store-url/index.php/rest/all/V1/order/17168/ship");

It creates the shipment but not sending shipment email.

Please suggest me some idea.


  • Please check the log files. You will find the error or reason in the log files.
    – Mital Shah
    Jun 11, 2021 at 12:16

1 Answer 1


The notify field is used to trigger Magento to send the shipment email.

Found the answer here:

So in order to send shipment email to customer, final call should be:

$ch = curl_init("https://store-url/index.php/rest/all/V1/order/order_id/ship?notify=true");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.