HomeDocumentationCode SamplesAPI ReferenceAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
API Reference
Developer HubAPI StatusSupport

createScheduledPackageBulk

This operation automatically schedules a time slot for all the amazonOrderIds given as input, generating the associated shipping labels, along with other compliance documents according to the marketplace (refer to the marketplace document support table).

Developers calling this operation may optionally assign a packageDetails object, allowing them to input a preferred time slot for each order in their request. In this case, Amazon will try to schedule the respective packages using their optional settings. On the other hand, i.e., if the time slot is not provided, Amazon will then pick the earliest time slot possible.

Regarding the shipping label's file format, external developers are able to choose between PDF or ZPL, and Amazon will create the label accordingly.

This operation returns an array composed of the scheduled packages, and a short-lived URL pointing to a zip file containing the generated shipping labels and the other documents enabled for your marketplace. If at least an order couldn't be scheduled, then Amazon adds the rejectedOrders list into the response, which contains an entry for each order we couldn't process. Each entry is composed of an error message describing the reason of the failure, so that sellers can take action.

The table below displays the supported request and burst maximum rates:

Usage Plan:

Rate (requests per second)Burst
15

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Body Params

The request schema for the createScheduledPackageBulk operation.

string
required
length between 1 and 255

A string of up to 255 characters.

orderScheduleDetailsList
array of objects
required
length ≥ 1

An array allowing users to specify orders to be scheduled.

orderScheduleDetailsList*
string
required

An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.

packageDetails
object

Package details. Includes packageItems, packageTimeSlot, and packageIdentifier.

string
required

The file format in which the shipping label will be created.

Responses

Response body
object
scheduledPackages
array of objects
length ≤ 100

A list of packages. Refer to the Package object.

scheduledPackages
object
scheduledPackageId
object
required

Identifies the scheduled package to be updated.

packageDimensions
object
required

The dimensions of the scheduled package.

packageWeight
object
required

The weight of the scheduled package

packageItems
array of objects
length ≤ 500

A list of items contained in the package.

packageItems
object
string
length ≤ 255

The Amazon-defined order item identifier.

orderItemSerialNumbers
array of strings
length ≤ 100

A list of serial numbers for the items associated with the OrderItemId value.

orderItemSerialNumbers
packageTimeSlot
object
required

A time window to hand over an Easy Ship package to Amazon Logistics.

string

Optional seller-created identifier that is printed on the shipping label to help the seller identify the package.

invoice
object

Invoice number and date.

string

The status of the package.

ReadyForPickup PickedUp AtOriginFC AtDestinationFC Delivered Rejected Undeliverable ReturnedToSeller LostInTransit LabelCanceled DamagedInTransit OutForDelivery

Show Details
ReadyForPickupThe package is ready for pickup.
PickedUpThe package has been picked up.
AtOriginFCThe package is at its origin fulfillment center.
AtDestinationFCThe package is at its destination fulfillment center.
DeliveredThe package has been delivered.
RejectedThe package has been rejected.
UndeliverableThe package is not deliverable.
ReturnedToSellerThe package has been returned to the seller.
LostInTransitThe package has been lost in transit.
LabelCanceledThe package's label has been canceled.
DamagedInTransitThe package has been damaged in transit.
OutForDeliveryThe package is out for delivery.
trackingDetails
object

Representation of tracking metadata.

rejectedOrders
array of objects

A list of orders we couldn't scheduled on your behalf. Each element contains the reason and details on the error.

rejectedOrders
object
string
required

An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.

error
object

Error response returned when the request is unsuccessful.

string

A pre-signed URL for the zip document containing the shipping labels and the documents enabled for your marketplace.

Headers
object
string

Your rate limit (requests per second) for this operation.

string

Unique request reference identifier.

Language