Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfc39c4

Browse files
authored
Merge pull request #2 from prakashpp/develop
Provision to get fulfillment order
2 parents 7441ccb + b168df6 commit cfc39c4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mws/apis/outbound_shipments.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,18 @@ def update_fulfillment_order(self):
8888
"""
8989
raise NotImplementedError
9090

91-
def get_fulfillment_order(self):
91+
def get_fulfillment_order(self, shipment_id):
9292
"""
9393
Returns a fulfillment order based on a specified SellerFulfillmentOrderId.
9494
9595
Docs:
9696
http://docs.developer.amazonservices.com/en_US/fba_outbound/FBAOutbound_GetFulfillmentOrder.html
9797
"""
98-
raise NotImplementedError
98+
data = {
99+
'Action': 'GetFulfillmentOrder',
100+
'SellerFulfillmentOrderId': shipment_id,
101+
}
102+
return self.make_request(data)
99103

100104
@next_token_action('ListAllFulfillmentOrders')
101105
def list_all_fulfillment_orders(self, next_token=None):

0 commit comments

Comments
 (0)