Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sp-api-sdk/easy-ship-2022-03-23

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/easy-ship-2022-03-23 - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

11

dist/types/src/api-model/api/easy-ship-api.d.ts

@@ -14,2 +14,3 @@ /**

import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import globalAxios from 'axios';
import { RequestArgs, BaseAPI } from '../base';

@@ -234,3 +235,3 @@ import { CreateScheduledPackageRequest } from '../models';

*/
createScheduledPackage(requestParameters: EasyShipApiCreateScheduledPackageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any>>;
createScheduledPackage(requestParameters: EasyShipApiCreateScheduledPackageRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any>>;
/**

@@ -243,3 +244,3 @@ * This operation automatically schedules a time slot for all the `amazonOrderId`s given as input, generating the associated shipping labels, along with other compliance documents according to the marketplace (refer to the [marketplace document support table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

*/
createScheduledPackageBulk(requestParameters: EasyShipApiCreateScheduledPackageBulkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateScheduledPackagesResponse, any>>;
createScheduledPackageBulk(requestParameters: EasyShipApiCreateScheduledPackageBulkRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateScheduledPackagesResponse, any>>;
/**

@@ -252,3 +253,3 @@ * Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status. **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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

*/
getScheduledPackage(requestParameters: EasyShipApiGetScheduledPackageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Package, any>>;
getScheduledPackage(requestParameters: EasyShipApiGetScheduledPackageRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Package, any>>;
/**

@@ -261,3 +262,3 @@ * Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies. This operation is available for scheduled and unscheduled orders based on marketplace support. See **Get Time Slots** in the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table). This operation can return time slots that have either pickup or drop-off handover methods - see **Supported Handover Methods** in the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table). **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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

*/
listHandoverSlots(requestParameters?: EasyShipApiListHandoverSlotsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListHandoverSlotsResponse, any>>;
listHandoverSlots(requestParameters?: EasyShipApiListHandoverSlotsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListHandoverSlotsResponse, any>>;
/**

@@ -270,3 +271,3 @@ * Updates the time slot for handing over the package indicated by the specified `scheduledPackageId`. You can get the new `slotId` value for the time slot by calling the `listHandoverSlots` operation before making another `patch` call. See the **Update Package** column in the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which marketplaces this operation is supported in. **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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

*/
updateScheduledPackages(requestParameters?: EasyShipApiUpdateScheduledPackagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Packages, any>>;
updateScheduledPackages(requestParameters?: EasyShipApiUpdateScheduledPackagesRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Packages, any>>;
}

@@ -5,3 +5,3 @@ {

"description": "The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: Get available time slots for packages to be scheduled for delivery. Schedule, reschedule, and cancel Easy Ship orders. Print labels, invoices, and warranties. See the Marketplace Support Table for the differences in Easy Ship operations by marketplace.",
"version": "2.0.3",
"version": "2.0.4",
"main": "dist/cjs/index.js",

@@ -22,3 +22,3 @@ "module": "dist/es/index.js",

"dependencies": {
"@sp-api-sdk/common": "2.0.3",
"@sp-api-sdk/common": "2.0.4",
"axios": "^1.6.2"

@@ -45,3 +45,3 @@ },

],
"gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
"gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc