createScheduledPackageBulk
POST/easyShip/2022-03-23/packages/bulk
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 ther 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 |
|---|---|
| 1 | 5 |
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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 413
- 415
- 429
- 500
- 503
Success
Response Headers
Your rate limit (requests per second) for this operation.
Unique request reference identifier.
Request has missing or invalid parameters and cannot be parsed.
Response Headers
Your rate limit (requests per second) for this operation.
Unique request reference identifier.
The request's Authorization header is not formatted correctly or does not contain a valid token.
Response Headers
Unique request reference identifier.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Response Headers
Unique request reference identifier.
The resource specified does not exist.
Response Headers
Your rate limit (requests per second) for this operation.
Unique request reference identifier.
The request size exceeded the maximum accepted size.
Response Headers
Unique request reference identifier.
The request payload is in an unsupported format.
Response Headers
Unique request reference identifier.
The frequency of requests was greater than allowed.
Response Headers
Unique request reference identifier.
An unexpected condition occurred that prevented the server from fulfilling the request.
Response Headers
Unique request reference identifier.
Temporary overloading or maintenance of the server.
Response Headers
Unique request reference identifier.