Find order items that require serial numbers
Learn how to use the Easy Ship API to find out which items require serial numbers.
Learn how to use the Easy Ship API to find out which items require serial numbers. Some items in an Amazon Easy Ship order require serial numbers so that Amazon can generate warranty documents for them.
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API applications.
- The Direct-to-Consumer Shipping (Restricted) role assigned to your developer profile.
- The Direct-to-Consumer Shipping (Restricted) role selected in the app registration page for your application.
Step 1. Get a list of orders that require serial numbers
Call the getOrderItems
operation, specifying the Amazon Order ID for the order that you want to create a scheduled package for.
Amazon returns the items in order, marking the items that require a serial number with SerialNumberRequired
=true
.
Step 2. Schedule Easy Ship packages with serial numbers
Call the createScheduledPackage
operation using PackageItems
to specify serial numbers for all of the items marked SerialNumberRequired
=true
in Step 1. Don't specify serial numbers for items marked SerialNumberRequired
=false
.
Amazon generates warranty documents for the items that you specified serial numbers for. For information about getting the documents that Amazon generates when you create a scheduled package, refer to Get shipping labels, invoice, and warranty documents.
Updated about 3 hours ago