|
Hi guys.
I have a question about soap api v2. When I make shipment for order I do it in few steps.
1) login and get sesion
sessionId = service.login(MagentoApiUser, MagentoApiKey);
2) make shipment
string ShipmentId = service.salesOrderShipmentCreate(sessionId, “101238183”, null, null, 1, 1);
3) add tracking number
int addTracking = service.salesOrderShipmentAddTrack(sessionId, ShipmentId, “ups”, “u”, “1Z9F128A0300411111");
Problem here what tracking number require ShipmentId. It means what shipment must be created before “add tracking number” and only “create shipment” have functionality send mail. It means when on step 2) customer get email there are no tracking id, but when I add it where are no way in API send the mail.
http://www.magentocommerce.com/api/soap/sales/salesOrderShipment/sales_order_shipment.addTrack.html
So how I can send customer email what we add tracking number?
|