How to Create the Shipping Label using Amazon MWS Merchant Fulfillment

How to Create the Shipping Label using Amazon MWS Merchant Fulfillment
Amazon MWS Merchant Fulfillment service is an essential tool for online sellers, providing a streamlined system to manage and complete orders. One of the key features of this system is the ability to create shipping labels. This article will provide a comprehensive guide to creating a shipping label using Amazon MWS Merchant Fulfillment.
Creating a Shipping Label
To create a shipping label, you’ll need to follow a few steps:
Get Eligible Shipping Services
Begin by calling the
GetEligibleShippingServices
operation. This operation will return a list of shipping services that meet the requirements of the package and the shipment.Here’s how to call the operation:
response = mws.get_eligible_shipping_services( shipment_request_details={ 'AmazonOrderId': '902-3159896-1390916', 'SellerOrderId': 'A1XKIKK92D8CQ', 'ItemList': [{'OrderItemId': '68852043920492', 'Quantity': 1}], 'ShipFromAddress': address, 'PackageDimensions': dimensions, 'Weight': weight, 'MustArriveByDate': datetime.datetime(2023, 7, 5), 'ShipDate': datetime.datetime(2023, 7, 1), 'ShippingServiceOptions': {'DeliveryExperience': 'DeliveryConfirmationWithSignature', 'CarrierWillPickUp': 'false'}, } )
Create Shipment
After you’ve got the list of eligible shipping services, you’ll need to create the shipment. Call the
CreateShipment
operation with the shipping service you’ve chosen.Here’s an example of how to call the operation:
response = mws.create_shipment( shipment_request_details={ 'AmazonOrderId': '902-3159896-1390916', 'SellerOrderId': 'A1XKIKK92D8CQ', 'ItemList': [{'OrderItemId': '68852043920492', 'Quantity': 1}], 'ShipFromAddress': address, 'PackageDimensions': dimensions, 'Weight': weight, 'MustArriveByDate': datetime.datetime(2023, 7, 5), 'ShipDate': datetime.datetime(2023, 7, 1), 'ShippingServiceOptions': {'DeliveryExperience': 'DeliveryConfirmationWithSignature', 'CarrierWillPickUp': 'false'}, }, shipping_service_id='PRIORITY_OVERNIGHT' )
Download Label
After creating the shipment, you’ll get a response containing the shipping label file in a PDF, PNG, or ZPL format. You can then download and print the label.
Conclusion
Amazon MWS Merchant Fulfillment service is a powerful tool for automating your shipping process. By using the API, you can create shipping labels programmatically, saving time and reducing errors. This guide should help you get started. If you encounter any issues, don’t hesitate to check the official Amazon MWS documentation.
Remember, shipping labels are a crucial part of the order fulfillment process. They ensure your packages reach the right destination, so handle them with care!
Keywords: Amazon MWS, Merchant Fulfillment, Shipping Label, Create Shipment, Get Eligible Shipping Services, Download Label
About Saturn Cloud
Saturn Cloud is your all-in-one solution for data science & ML development, deployment, and data pipelines in the cloud. Spin up a notebook with 4TB of RAM, add a GPU, connect to a distributed cluster of workers, and more. Join today and get 150 hours of free compute per month.