Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.

Commit 945ede7

Browse files
iiijjjiiSharoon Thomas
authored andcommitted
Add sales.py Shipment sendInfo method
1 parent e63c65a commit 945ede7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

magento/sales.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,19 @@ def getcarriers(self, order_increment_id):
204204
#: A proxy for :meth:`getcarriers`
205205
getCarriers = getcarriers
206206

207+
def sendinfo(self, shipment_increment_id, comment=''):
208+
"""
209+
Send email with shipment data to customer
210+
211+
:param order_increment_id: Order ID
212+
"""
213+
return self.call(
214+
'sales_order_shipment.sendInfo', [shipment_increment_id, comment]
215+
)
216+
217+
#: A proxy for :meth:`sendinfo`
218+
sendInfo = sendinfo
219+
207220

208221
class Invoice(API):
209222
"""

0 commit comments

Comments
 (0)