Send Mail from Inventory Module

POST {{api-domain}}/crm/v3/Purchase_Orders/{{record_id}}/actions/send_mail

To send emails through an API from Inventory module. Refer to the documentation for more details.

Request Body

{"data"=>[{"from"=>{"user_name"=>"Patricia Boyle", "email"=>"p.boyle@abc.com"}, "to"=>[{"user_name"=>"user1", "email"=>"user1@gmail.com"}], "inventory_details"=>{"inventory_template"=>{"id"=>"{{inventory_template_id}}", "name"=>"CT Scan Machines.pdf"}}, "paper_type"=>"A4", "view_type"=>"portrait"}]}

RESPONSES

status: OK

{"data":[{"code":"SUCCESS","details":{"message_id":"39c17f1033cd120e62f8104c545af0ef3f765e296c3278482f13c55a4a34bc93"},"message":"Your mail has been sent successfully.","status":"success"}]}