Skip to content

Latest commit

 

History

History
1183 lines (816 loc) · 94.3 KB

File metadata and controls

1183 lines (816 loc) · 94.3 KB

v1.2.1 (2026-03-30)

Full Changelog

Notable changes:

  • Added new orders endpoint (v2026-01-01)
  • Added new government invoice (BR only) operations for invoices endpoint
  • Fixed multiple TS issues

Commits:

  • Added return_as_payload option that will return the result as a "payload" key/value --> then also restore_rate is included (feature request #323) (96e8bf8)
  • Fix issue #318 (68e1790)
  • Optimized types for operations with multiple versions (606a7d1)
  • Added types for invoices endpoint (78eee26)
  • Added new keys to finances types (4d563af)
  • Removed deprecated reports types (c642d0a)
  • Added new index.d.ts to typings/operations to fix tsconfig error (8091669)
  • Added new invoice operations (2cd9bf3)
  • Removed the unnecessary BaseResponse interface (5c5d5d6)
  • Added new order endpoints typings (1fe7e5a)
  • Fixed wrong restore rates in orders api (bf70624)
  • Removed unused typings from deprecated v0 catalogItems version (d481332)
  • Fixed catalogItems typings to work with the same interface for 2022 and 2020 version (eb35a01)
  • Changed wrong key names "interfaceifications" to "classifications" in catalogItems typings (ec4d805)

Merged pull requests:

v1.2.0 (2025-11-11)

Full Changelog

Notable changes:

  • Added external fulfillment endpoints

Commits:

  • Updated dependencies (d0f34ce)
  • Added new external fulfillment endpoints (6501814)

Merged pull requests:

v1.1.7 (2025-09-12)

Full Changelog

Notable changes:

  • Added customerFeedback, sellerWallet and transfers endpoints
  • Added sellerWallet endpoint
  • Changed package.json to new repository path

Commits:

  • Updated package.json to new username and path (8c3671a)
  • Added new sellerWallet endpoint (50efa7b)
  • Update sellers getAccount restore rate (927eb39)
  • Added new transfers endpoint (6cb0add)
  • Added sandbox-only operations to fbaInventory (5b5723c)
  • Changed customer feedback endpoint to correct restore rate of 1 (85ce2f2)
  • add customer feedback endpoint (f88dab3)

Merged pull requests:

v1.1.6 (2025-04-15)

Full Changelog

Notable changes:

  • Added new downloadReportStream() function
  • Added new operations for endpoints amazonWarehousingAndDistribution, supplySource, vendorDirectFulfillmentShipping, vendorShipments
  • Added new vehicles endpoint
  • Removed deprecated operations from fulfillmentInbound v0 endpoint
  • Added some more missing types (constructor config, .exchange, reports)

Commits:

  • Added updateSupplySourceStatus operation to supplySource endpoint (5047010)
  • Added new vendorShipments operations (e16d8a6)
  • Added createContainerLabel operation to vendorDirectFulfillmentShipping endpoint (2e015dc)
  • Removed deprecated v0 fulfillmentInbound operations (a80e98f)
  • Added new vehicles endpoint (75939b7)
  • Added new AmazonWarehousingAndDistribution operations (226fb96)
  • Added ExchangeResponse type (Fixes #224) (ebee3d1)
  • Added all possible constructor config options to types (also fixes #264) (f57e73a)
  • Added new report types (fixes #311) (6520762)
  • Fix for #310 (06f984a)
  • Added test for downloadReportStream (391ae64)
  • Update Readme to include Download reports as stream (740c2d7)
  • Removed uploadStream for now and added unzip as option to downloadReportStream (identical to downloadReport) (76800e7)
  • Fix the website url. (3b535e5)
  • Using erasable syntax instead of enums (8ea71f7)
  • Added downloadReportStream method (8a8a70c)
  • Changed streamToString to use _getStreamChunks and use existing decoding method, added TODOs to reporting tests (8ecac8c)
  • implement streamDownload() returning a stream (9c471a6)

Merged pull requests:

v1.1.5 (2025-01-23)

Full Changelog

Notable changes:

  • Added new endpoint version: finances (2024-06-19) with listTransactions operation
  • Added searchListingsItems operation to listingsItems (2021-08-01) endpoint
  • Added changelog
  • Added prettier formatting and reformatted all files

Commits:

  • Added prettier to project and reformatted all files (0432e58)
  • Added changelog (0359bee)
  • Added test for searchListingsItems (0324499)
  • Minor reformatting and test for listTransactions operation (954b547)
  • fix tab (6b72598)
  • listings items support searchListingsItems operation (87e9cb1)
  • Add new version of finance api (0d2cb55)
  • Add new version of finance api (5a59634)

Merged pull requests:

v1.1.4 (2024-11-25)

Full Changelog

Notable changes:

  • Minor bugfix for new appIntegrations endpoint not working correct due to missing import

Commits:

v1.1.3 (2024-11-18)

Full Changelog

Notable changes:

  • Added new endpoints: appIntegrations and invoices
  • Added request object to result if raw_result is set to true
  • Added types: productTypeDefinitions, apiPath
  • Extend timeout logic to refreshAccessToken

Commits:

Merged pull requests:

  • Return raw request and improve ReqParams typing #302 (cohlar)
  • feat(types): add typings for productTypeDefinitions #301 (paulwer)
  • Apply timeout options to access_token refresh call #299 (colin-brown)
  • Added TRANSACTION_UPDATE notificationType #298 (tho-masn)

v1.1.2 (2024-10-21)

Full Changelog

Notable changes:

  • Added new operations to fulfillmentInbound endpoint: listPrepDetails and setPrepDetails
  • Modified types: added timeouts (for IReqOptions and DownloadOptions), reportDocumentId (for DownloadDocument)
  • Added request data log when debug_log is true

Commits:

  • Added request data log when debug_log is true (9e42c31)
  • Added timeouts to IReqOptions (6e711e4)
  • Changed ProcessingStatus from enum to type to make it easily exportable (fe8fbd6)
  • Added reportDocumentId optional param, its not used in .download() but when piped through from getReportDocument() its included since Amazon includes it in the response (d107d95)
  • Update feeds.ts (ceee127)
  • Update feeds.ts (775a360)
  • Add new operations (672e26a)
  • Add new endpoints (60a3388)
  • Update baseTypes.ts (55c89fc)
  • Update index.d.ts (c2d0f0c)
  • Update baseTypes.ts (a889f51)

Merged pull requests:

v1.1.1 (2024-09-09)

Full Changelog

Notable changes:

  • Added new operation to sellers endpoint: getAccount
  • Added types: downloadReport, Scope
  • Removed deprecated sellingpartnerapi::migration scope
  • Removed deprecated types for smallAndLight endpoint
  • Minor bugfix for wrong api_path in getDocument operation of dataKiosk endpoint

Commits:

  • Updated depedencies (15de6b3)
  • Added sellers.getAccount operation and added sandbox only warning (7197954)
  • Added downloadReport typings (01cf949)
  • Changed deprecated comment (f1e19d1)
  • Removed deprecated sellingpartnerapi::migration scope (ace659d)
  • Fixed comma issue (37ed42b)
  • Bugfix #285 (bc8f8c5)
  • Fixed issue #279 (c94e2f6)
  • Update reports.ts (8d758cb)
  • fix(data-kiosk): incorrect url for data kiosk documents (a1c3596)
  • fix: add scope to ReqParams (371ebb9)
  • chore: create type Scope (330342b)
  • fix: add sellingpartnerapi::client_credential:rotation scope (653cb84)
  • fix: refreshAccessToken typings (52971d5)
  • allows subscriptions for data kiosk query processing finished notification (d12cab7)

Merged pull requests:

v1.1.0 (2024-07-23)

Full Changelog

Notable changes:

  • Added new endpoints: supplySources, dataKiosk, amazonWarehousingAndDistribution, applicationManagement
  • Added new endpoint version: fulfillmentInbound (2024-03-20)
  • Added new operations oneClickShipment, getAccessPoints, submitNdrFeedback to shipping (v2) endpoint
  • Added new operation sendInvoice to messaging (v1) endpoint
  • Added new operations getEligibleShipmentServicesOld, cancelShipmentOld, getAdditionalSellerInputsOld to merchantFulfillment (v0) endpoint
  • Added new operation deliveryOffers to fulfillmentOutbound (2020-07-01) endpoint
  • Added new operation easyShip to easyShip (2022-03-23) endpoint
  • Removed deprecated endpoints: fbaSmallAndLight, authorization

Commits:

  • Updated dependencies and transformed tests to work with chai 5.x esm-only (c5fecd9)
  • Revert "1.1.0" (fdcd7de)
  • Minor fixes for verbatimModuleSyntax (c8eaf3d)
  • Removed deprecated getInboundGuidance operation (6f0fd08)
  • Removed deprecated fbaSmallAndLight endpoint (8a91c27)
  • Added supplySources endpoint (f10937e)
  • Added more operations to shipping v2 endpoint (cb01907)
  • Removed comment as restore rate is now defined in docs for getMyFeesEstimates (97aa418)
  • Added sendInvoice operation to messaging endpoint (e61ccc8)
  • Removed deprecated merchantFulfillment operations (8afdf4d)
  • Added deliveryOffers operation to fulfillmentOutbound endpoint (f8712cf)
  • Added createScheduledPackageBulk operation to easyShip endpoint (c64090d)
  • Added dataKiosk endpoint (8ff6f10)
  • Added AmazonWarehousingAndDistribution endpoint (ca4e6b5)
  • Added applicationManagement endpoint (c2182f7)
  • Removed deprecated authorization endpoint (b31a9d8)
  • Updated fulfillmentInbound tests for new endpoint (9dd0d5b)
  • Added new 2024-03-20 fulfillmentInbound endpoint (d0de38d)
  • import types excplicitly with verbatimModuleSyntax (966502f)

v1.0.6 (2024-03-12)

Full Changelog

Notable changes:

  • Added new cancel_after option for .downloadReport which allows to cancel a report creation after X retries
  • Removed deprecated getInboundGuidance operation for fulfillmentInbound endpoint
  • Added possibility to use a proxy agent
  • Added types for sellers endpoint

Commits:

  • Added new "cancel_after" option for ".downloadReport" which allows to cancel a report creation after X retries (b30b24e)
  • Removed deprecated getInboundGuidance operation (fe813e7)
  • Some changes how httpsProxyAgent option is implemented (26b428d)
  • Moved GetMarketplaceParticipationsResponse to correct type (f40b117)
  • Added types for Sellers endpoint. (6eb6603)
  • feat: added an additional option to allow the usage of a custom proxy agent (3d69c12)

Merged pull requests:

v1.0.5 (2024-02-05)

Full Changelog

Notable changes:

  • Added updateCredentials function to enable updating credentials after class instantiation

Commits:

  • Added new function to updateCredentials after instantiation (452f693)

v1.0.4 (2024-01-11)

Full Changelog

Notable changes:

  • Gracefully handle ECONNRESET errors

Commits:

  • Gracefully handle ECONNRESET errors (19712f3)

v1.0.3 (2024-01-03)

Full Changelog

Notable changes:

  • Added fix for reports already returned as json

Commits:

  • Updated dev dependencies (ca3590a)
  • Added fix for reports already returned as json (a37e228)

v1.0.2 (2023-12-19)

Full Changelog

Notable changes:

  • Added retry possibility for ENOTFOUND errors

Commits:

  • Added ENOTFOUND handling as ETIMEDOUT is done and also resolve retry to finally fix issue of timeout errors from API (7481ece)

v1.0.1 (2023-12-14)

Full Changelog

Notable changes:

  • Added retry logic when remote server request fails with ETIMEDOUT error
  • Removed deprecated type ListCatalogItem
  • Added getCompetitiveSummary operation to productPricing (2022-05-01) endpoint

Commits:

  • Updated Readme (5c97d6b)
  • Added retry logic when remote server request fails with ETIMEDOUT error (a58dad6)
  • Removed unused interface ListCatalogItem (fix #243) (87cae8c)
  • Added test for getCompetitiveSummary operation (a8f4848)
  • Added getCompetitiveSummary operation to productPricing endpoint (0e67e1b)
  • Fixed getOrderItemsResponse TS Exception - Fixes issue #252 (97c95ed)
  • Added support for xlsx reports (i.e. GET_REMOTE_FULFILLMENT_ELIGIBILITY report) (cf8dad4)
  • Update SellingPartner.js (6b5f36d)

Merged pull requests:

v1.0.0 (2023-10-29)

Full Changelog

Notable changes:

Removed deprecated roleCredentials logic and operations.js Removed deprecated types: RoleCredentials, encryptionDetails for reports/feeds and AWS credentials Removed Signer.js class as signing of requests is deprecated Added new Request.js class and removed old request.js Removed deprecated endpoints versions: reports and feeds (2020-09-04) Fixes/Updates to order types

Commits:

  • Update package.json (13ede1e)
  • Minor changes to Readme (6e4142e)
  • Updated notificationType enum (ff46ac3)
  • Updated dependencies in package.json (1c1f0cc)
  • Updated Readme for 1.0.0 (58f00d8)
  • Updated tests (63320e1)
  • Removed role_credentials, encryptionDetails for reports/feeds and unneccessary credentials (9cf0a58)
  • Removed unused operations.js (1e48882)
  • Removed role_credentials and operations import (5ce7f20)
  • Formatting updates for TimeoutManager and utils (33bcaf2)
  • Added new Request class (30441f5)
  • Removed deprecated crendentials (b09cddd)
  • Removed request.js and Signer.js (be15e6b)
  • Removed deprecated reports and feeds version 2020-09-04 (ac5e5f1)
  • General fixing/updating of order typings (b642516)
  • fixes empty errors array handling in call api method (3903c05)

Merged pull requests:

  • General fixing/updating of orders typings #246 (amogower)
  • Fixes empty errors array handling in call api method #245 (Nifrigel)

v0.8.5 (2023-09-24)

Full Changelog

Commits:

  • Updated reports endpoint tests to work with newest version of endpoint (89db07e)
  • Updated fulfillmentOutbound test for getFeatures operation (4fdb1d7)
  • Removed tests fro deprecated fbaSmallAndLight endpoint (6d53e70)
  • Changed updateFulfillmentOrder to use PUT instead of GET --> Bugfix #242 (44d2e58)
  • Added deprecation date to getEligibleShipmentServicesOld, cancelShipmentOld, and getAdditionalSellerInputsOld operations of merchantFulfillment endpoint (4101937)
  • Added deprecation date for getInboundGuidance operation (b85a397)
  • Added deprecation date for authorization endpoint (61e6d7b)
  • Added deprecated warning to fbaSmallAndLight endpoint (68013f6)
  • Added deprecation warning for feeds and reports endpoints version v2020-09-04 (83da196)
  • option is called endpoints_versions instead of endpoint_versions (9c607de)
  • Update notifications_v1.js (74235de)
  • Add support for createReport types (d7fc9b1)
  • Bugfix: Capitalize properties of Interface GetOrdersQuery (d7060e1)
  • add missing params: endpoint, restricted_data_token to ReqParams interface (bec9e66)
  • added endpoint_versions option to client config (53a5d19)
  • added the new ORDER_CHANGE notification type (4c26544)

Merged pull requests:

v0.8.4 (2023-07-30)

Full Changelog

Commits:

  • Updated to lowered restore_rate for getItemOffersBatch (18cd8cc)
  • Added new replenishment api endpoint (08abe89)
  • Added sandbox-only submitFulfillmentOrderStatusUpdate operation for fulfillmentOutbound endpoint (77953e2)
  • Fixed downloadReport() function not considering the specified version for all steps (da2bd54)
  • Added missing GetItemOffersPath import (41c2e73)
  • Implemented timeoutManager as external class (565ebe7)
  • Updated dependencies (67a9f38)
  • Changed restore rate of confirmShipment to 2 per second (88ef612)
  • Removed hiring from Readme (7460a41)
  • Updated docs to new import structure (4a32949)
  • Changed module exports to work with esm imports, commonjs and also legacy definition via commonjs with SellingPartnerAPI naming (b49240f)
  • More correct response (726584c)
  • getReports (50619bf)
  • Add all report types (b40e019)
  • Update catalog item query (bee6acf)
  • Fixing capitalization in order payload (2db495c)
  • a timeoutManager object (3a8ebdc)
  • Add operation order.confirmShipment (e9e15d3)
  • Export all types for fbaInventory and update getInventorySummariesResponse type to match (d9b3f47)
  • add(type): productPricing.getItemOffers (fee8f03)
  • update(docs): add esm import (9bba19c)
  • feat(named exports): for SellingPartner class (01cc30a)
  • Fix ts is not a constructor (d98d41c)

Merged pull requests:

v0.8.3 (2023-03-14)

Full Changelog

Commits:

  • Added new productPricing endpoint version v2022-05-01 (95c1129)
  • Updated restore rates for orders v0, solicitations v1 and uploads v2020-11-01 (9fb8d34)

v0.8.2 (2023-02-21)

Full Changelog

Commits:

  • Updated Download Reports section in Readme (5621475)
  • Updated downloadReport methods to better fit in with the rest of the library (56dc033)
  • update SellingPartner.js (6ff6439)

Merged pull requests:

v0.8.1 (2023-01-28)

Full Changelog

Commits:

  • Added new headers option to Readme (309c3ea)
  • Added getOrderRegulatedInfo and updateVerificationsStatus orders endpoint operations (a4d6ffa)
  • Added v2 shipping operations (ca62c19)

v0.8.0 (2022-10-23)

Full Changelog

Commits:

  • Added timeouts to .download (ecbd0d1)
  • Updated vendorDirectFulfilmentShipping endpoint with new operations (de82cfb)
  • Changed restore rates according to SP-API Throttling Adjustments (e7be23b)
  • Removed deprecated operations listCatalogItems and getCatalogItem v0 (1bff27b)
  • Merge commit '5a2840f83a9ae878d1f4d01146664105e72c126e' (4e26ae7)
  • Slight productPricing test spec change (76fa00b)
  • Revert "Changed productPricing test spec" (714ca72)
  • Changed productPricing test spec (c8402df)
  • Added tests for timeouts (afa2822)
  • Update Readme to include timeouts section (66e2d99)
  • Changed timeouts to be set globally as well as timeouts object, added idle timeout and restructured the code a bit (41bd13a)
  • Add the new FBA_INVENTORY_AVAILABILITY_CHANGES notification (5a2840f)
  • Removed some artefacts (51a6158)
  • Added test for invalid security token (98ab500)
  • Made x-amz-security-token and AWS_SELLING_PARTNER_ROLE optional (26ca0d7)
  • typo String to string (44b182a)
  • Added response timeout and deadline timeout option support to allow request to be aborted if it takes a lot longer than expected due to network errors. (cf82599)

Merged pull requests:

  • Add the new FBA_INVENTORY_AVAILABILITY_CHANGES notification #173 (ctiospl)
  • Added response timeout and deadline timeout option support #148 (colin-brown)

v0.7.10 (2022-08-12)

Full Changelog

Commits:

  • Updated dependencies (ad123ee)
  • Removed tests for soon to be deprecated operations (a4b5b17)
  • Added deprecation warning to soon to be deprecated catalogItems v0 operations (c4afa2a)
  • Added the following operations to services endpoint: getRangeSlotCapacity, getFixedSlotCapacity, getAppointmentSlotsByJobId, getAppointmentSlots (89a554d)
  • CreateReportResponse unwraps the payload object (f56fdae)
  • Fix TypeScript compilation (641a46f)

Merged pull requests:

v0.7.9 (2022-07-10)

Full Changelog

Commits:

  • Changed information on charset property for download function due to change proposed in issue #144 (26882ad)
  • Charset for decoding reports now taken from content-type header (as proposed in #144) (60c325d)
  • Added additional tests for productPricing endpoint (509730f)
  • Added known issue with commas as part of array value for query (bf18bc2)
  • Implement new doubleEncodeURIComponent function that fixes issue #143 (f819419)

v0.7.8 (2022-07-01)

Full Changelog

Commits:

  • Added new option of qs module called commaRoundTrip that should fix issues with incorrect formatting arrays of length 1 (#138) (fef719d)

v0.7.7 (2022-06-14)

Full Changelog

Commits:

  • Updated fbaSmallAndLight test spec (0839db5)
  • Updated double encode fix #134 (d38e8d7)
  • Add encode query twice option (2890b44)

Merged pull requests:

v0.7.6 (2022-05-29)

Full Changelog

Commits:

  • Changed new AWS_SESSION_TOKEN to be optional in Credentials.js (3673a7c)
  • Updated all external links in README (6c4e55d)
  • Minor README changes (b4eae4d)
  • Updated README to include AWS_SESSION_TOKEN where necessary (f77877b)
  • include session token only if available (80f88c8)
  • add AWS_SESSION_TOKEN to README (e1b2f03)
  • add AWS_SESSION_TOKEN and X-Amz-Security-Token header (0cd3f0d)

Merged pull requests:

v0.7.5 (2022-05-20)

Full Changelog

Commits:

  • Added disclaimer to Readme (b5763c3)
  • Added batch request tests for productPricing endpoint (54fd921)
  • Added new batch operations for productPricing endpoint (5af30c0)
  • Minor change to productPricing endpoint tests (998d6c7)
  • Updated tests for productFees endpoint (d887e98)
  • Added new getMyFeesEstimates operation for productFees endpoint (120482e)
  • Minor formatting changes for new catalogItems version (dc04b53)
  • chore: replace hard code (7765e94)
  • Added catalogItems endpoint 2022-04-01 version test case (2dc5c7f)
  • Added catalogItems endpoint 2022-04-01 version (80315d8)

Merged pull requests:

v0.7.4 (2022-04-17)

Full Changelog

Commits:

  • Updated dependencies (d5b50ad)
  • Change fbaInventory test spec to run for all regions (eb5c56b)
  • Added test spec stub for new endpoints easyShip and vendorDirectFulfillmentSandboxTestData (624799f)
  • Added SKU length issue to Known Issues section in README (Issue #126) (2c8a043)
  • Removed comment as FBAInventory in now globally available (ebbfe09)
  • Added vendorDirectFulfillmentSandboxTestData endpoint (e33f539)
  • added vendorDirectFulfillmentTransactions endpoint 2021-12-28 version (1d6cc22)
  • added vendorDirectFulfillmentShipping endpoint 2021-12-28 version (593c845)
  • Added vendorDirectFulfillmentOrders endpoint 2021-12-28 version (31ca604)
  • Added easyShip endpoint (fda781c)

v0.7.3 (2022-04-06)

Full Changelog

Commits:

  • Minor changes for aplusContent and fbaSmallAndLight tests (42ef312)
  • Minor debug log output change (9fd3c11)
  • Make amazon-sp-api compatible with bundler again (0db7943)
  • add OrderItemsList as payload type for GetOrderItemResponse (d898b8d)

Merged pull requests:

v0.7.2 (2022-03-16)

Full Changelog

Commits:

  • Added missing notificationType enum values (Fix #117) (e4b93fc)
  • comment out unused order types (3ec0ac1)

Merged pull requests:

v0.7.1 (2022-02-24)

Full Changelog

Commits:

  • Added some more debug logs (604ce8f)
  • Added restore_rate support for floating numbers as well as support in combination if usage of api_path (7e7be29)
  • Changed restore_rate type to Number (aa3f90c)
  • use isSafeInteger instead of isFinite (6cf056d)
  • add restore_rate param to callAPI options (c771ce6)

Merged pull requests:

  • add restore_rate param to callAPI options #111 (vhle-ms)

v0.7.0 (2022-02-18)

Full Changelog

Commits:

  • Updated dependencies (c0ce774)
  • Added note to Readme that manual encoding might be necessary before using api_path (29b8d34)
  • Added tests for SKUs with special chars (#+ =,?~_-|/!*?()) (57ea00b)
  • Fixed bug with querystring discussed in #103 (b530017)
  • Changed api_path parts encoding to be done when constructing the api_path in order to be able to make it work with path params including a '/' (i.e. as part of SKUs) (f3352c5)
  • Export all finances interfaces (Typescript support) (708c834)
  • Moved throttling debug log (87c46ed)
  • Changed console_warn_on_request_retry to debug_log to have a more common naming to include other logs (ed02480)
  • add single encoding for req_params.api_path, and double encoding for canonical request (5497799)
  • double encoding fix for AWS Signature v4 (d9b1e5f)
  • Minor changes to description of console_warn_on_request_retry (15f06ef)
  • Add 'console_warn_on_request_retry' param (6451ed2)

Merged pull requests:

v0.6.6 (2022-01-23)

Full Changelog

Commits:

  • Updated dependencies (f9584ae)
  • Encode chars !'()* once when part of query (Fully Fixed Issue #77) (ce413f6)
  • Minor changes to sandbox documentation in Readme (58aa762)
  • Updated getEligibleShippingServices restore rate (10d5573)
  • Changed user_agent documentation in Readme (bdfe4f0)
  • Added user agent to signed headers (bf78ad2)
  • Added default user agent in accordance with docs (707c4c8)
  • Specifying custom user-agent headers for api calls (f27058c)
  • add missing imports in index.d.ts (fef64c3)
  • add getLabels, getBillOfLading, getShipments, getShipmentItemsByShipmentId and getShipmentItems (b64a375)
  • add createRestrictedDataToken (dd6d26b)
  • added use_sandbox property to Options Type in : baseTypes.ts (fc5a29f)
  • options definition added to callApi() method (b7de3f1)

Merged pull requests:

v0.6.5 (2021-12-17)

Full Changelog

Commits:

  • Added new updateShipmentStatus operation (6d25fbd)
  • Minor fix wrong link (2473ad6)
  • add transport operations for fulfillment inbound (6bb502a)

Merged pull requests:

  • Add transport operations for fulfillment inbound #79 (mgecmez)

v0.6.4 (2021-12-07)

Full Changelog

Commits:

  • Encode chars !'()* once when part of api path (Fixed Issue #77) (bca9a59)
  • added upload typings for feeds (0dd97cb)
  • Updated test spec for catalogItems to make sure searchCatalogItems works with whitespace in keywords (a3abd78)

Merged pull requests:

v0.6.3 (2021-11-21)

Full Changelog

Commits:

v0.6.2 (2021-11-18)

Full Changelog

Commits:

  • Bugfix for endpoints export missing first endpoint aplusContent (4fbb145)

v0.6.1 (2021-11-14)

Full Changelog

Commits:

  • Renamed productTypeDefinitions endpoint (90d1ea8)
  • Updated dependencies (fd9eae7)

v0.6.0 (2021-11-06)

Full Changelog

Commits:

  • Fixed issues with UTF-8 chars and whitespace when part of the querystring (Fixed #63) (6b7bf23)
  • Added test for listingsRestrictions (d0cb157)
  • Added new listingsRestrictions endpoint (e5cd83e)
  • Changed endpoints require statements to be more dynamic (0bb9c6a)
  • Minor Readme changes (d810dc8)
  • Update restore_rates in catalogItems and fbaInventory (9ff52e6)
  • Fixed bug with UTF-8 and/or spaces in SKUs when part of the api_path (i.e. getMyFeesExstimateForSKU, see issue amzn/selling-partner-api-docs#742) (8558e6c)
  • Change homepage in package.json (fa3eeab)
  • listingsItems 2021-08-01 (ac9f2c4)

Merged pull requests:

v0.5.6 (2021-10-23)

Full Changelog

Commits:

  • Updated dependencies (12d664d)
  • Changed tokens test spec (74c72d8)
  • Changed TS "Body" interface names to be named according to naming convention in README (ef9ed81)
  • Changed a couple inconsistent body definitions (f843be4)
  • Added support for exchange authorisation code from a seller to a refresh token (934407d)
  • Changes in typescript information: - Added support for specifying credentials in the constructor - Fixed naming of the order file - should be orders - Fixed specification for the reports which had a "body" level too much - Added getter for access_token and role_credentials (f2729ce)

Merged pull requests:

  • Changes in typescript information: #60 (jebirch)

v0.5.5 (2021-09-19)

Full Changelog

Commits:

  • Fixed createFeed bug in new feed version 2021-06-30 (Issue #53) (70c38f4)

v0.5.4 (2021-07-29)

Full Changelog

Commits:

  • Version 2021-06-30 of SP-API renders document encryption optional in feeds and reports (1b51f54)

Merged pull requests:

  • Version 2021-06-30 of SP-API renders document encryption optional in … #45 (brianmhofmeister)

v0.5.3 (2021-07-27)

Full Changelog

Commits:

  • Changed credentials to class structure (b069bdd)
  • Removed aplus endpoint issues from Known Issues section (4707f08)
  • Readded aplus tests (2138bd0)
  • Add reference to TS types in package.json (f2c8e24)
  • add:orderAPI types (1fd9126)
  • fix typo in readme (3ed6083)

Merged pull requests:

v0.5.2 (2021-06-07)

Full Changelog

Commits:

  • Update Known Issues section in Readme (34223fe)
  • Added new tests for new operation searchCatalogItems and new endpoints listingsItems, productTypesDefinitions, shipmentInvoicing (2bcf8d7)
  • Added new shipmentInvoicing endpoint (7480467)
  • Added productTypesDefinitions endpoint (b770829)
  • Added new listingsItems endpoint and HTTP PATCH support (6755c1c)
  • Added new searchCatalogItems operation (7927e33)
  • Updated restore rates for orders, productFees and productPricing (e579891)

v0.5.1 (2021-05-12)

Full Changelog

Commits:

  • Added new vendor endpoints and operations (f4ecf33)
  • Added new services operations (8a2757d)
  • Added possibility of operations without default restore rate (54d1d08)
  • Updated dependencies (93b25e0)

v0.5.0 (2021-05-07)

Full Changelog

Commits:

  • Updated and added tests with new endpoint parameter (cb3d086)
  • Added documentation for LWA authorization code exchange function (141e575)
  • Updated readme to include new endpoint logic (df2f7f0)
  • Added new endpoint parameter to .callAPI() (c69664c)
  • Added console.warn logic to utils (9d0abda)
  • Updated outdated links (99762d8)
  • Added exchange() func to exchange LWA auth_code for a LWA refresh_token (ece51f9)

v0.4.0 (2021-04-11)

Full Changelog

Commits:

  • Added new tests (c6aa763)
  • Added new api_path property (5e29130)
  • Updated comments (432e285)
  • Typofixes (a684507)
  • Readme restructured and updated (4f19ea3)
  • Added support for restricted data tokens endpoint (0df6f5e)
  • Extended new version logic: Added endpoints_versions and version_fallback config options (641f84a)
  • Changed to correct endpoint name (cb941d8)
  • Added endpoints getter (9305204)
  • Added support for multiple operation versions to Sellingpartner class (9f2c0ea)
  • Changed resources to new structure to enable support for multiple versions of endpoints and operations (9502247)
  • Small typos fixed in readme (3bf20f0)
  • Small typos fixed in readme (c9a2517)
  • Small typos fixed in readme (d4ab134)
  • Small typos fixed in readme (1ea51f1)

v0.3.7 (2021-04-03)

Full Changelog

Commits:

  • Updated comments for .callAPI() (c1afa56)
  • Added restore rates information in readme (1c127b5)
  • If given use x-amzn-ratelimit-limit from result header as restore_rate in case of throttling (2a127a2)
  • Updated restore_rate for catalogItems endpoints (7b36742)

v0.3.6 (2021-03-31)

Full Changelog

Commits:

  • Added new raw_result option for .callAPI to readme (746c188)
  • Added new option to .callAPI to return raw result (86dcf9d)
  • Reformatted pagination fix and added comment to API call in resources/fbaInventory.js (92b17b9)
  • Updated incomplete documentation on grantless operations (daefdbc)
  • Added seller support information (b84d4a4)
  • Fixed pagination of getInventorySummaries (931cb69)

Merged pull requests:

v0.3.5 (2021-02-17)

Full Changelog

Commits:

  • Updated .download section in readme (4ff3b7e)
  • Added decoding charset option to report download (aef1435)
  • RateLimit Header TODO added (2da54f3)
  • Added tests for aplus content operations (19393a2)
  • Added new aplus content operations (38021ef)

v0.3.4 (2021-01-28)

Full Changelog

Commits:

  • Added table of contents (896a005)
  • turn off quote detection in report csv to json conversion (0780ae2)

Merged pull requests:

  • Turn off quote detection in report csv to json conversion #22 (mihai9-lab)

v0.3.3 (2021-01-16)

Full Changelog

Commits:

  • Added tests for config errors (992a1d0)
  • Fixed issue with operation allowance for non grantless operations (9a4b61d)
  • Added missing scope for grantless operation error message (f4a1a9a)
  • Added documentation for grantless operations (1bb0094)
  • Added tests for grantless operations (45cac94)
  • Added "only_grantless_operations" option (8fd39a6)
  • Moved operation validation out of callAPI to new function (a1b0153)
  • Restructured access_token and role_credentials validation in new function (4346122)
  • Added scope to refreshAccessToken call when token expired (3d5a4a3)
  • Added grantless token logic to .callAPI (56918e0)
  • Added scope for grantless operations (7b520cb)
  • Added grantless_tokens class var to hold valid tokens for a grantless operation scope (dc6e68b)
  • Added scope parameter for grantless operation to refreshAccessToken (9581647)
  • Updated sandbox comment in SellingPartner to be in line with Readme (b40d0bf)
  • Update README.md (fda7d86)

Merged pull requests:

v0.3.2 (2021-01-09)

Full Changelog

Commits:

  • Minor formatting changes (6ae02f7)
  • Added sandbox mode info (2383e36)
  • Minor restructuring of .callAPI error handling (c927aa1)
  • Minor formatting changes (76aa07f)
  • Added use_sandbox option to Readme (f2ed464)
  • Minor var naming changes (fba026c)
  • Moved _sandbox to options as use_sandbox (88917ac)
  • Updated readme with new credentials option (8f097e3)
  • Fixed path info issue (dc644e4)
  • Added option to load credentials via constructor config object (906218a)
  • Add Sandbox (ae10deb)
  • Add sandbox mode (83c4427)

Merged pull requests:

v0.3.1 (2021-01-07)

Full Changelog

Commits:

Merged pull requests:

v0.3.0 (2021-01-03)

Full Changelog

Commits:

  • Added documentation for .upload() function, which will encrypt and upload feeds (ee30bd2)
  • Added new upload function that encrypts and uploads feed documents (e82951d)
  • FIX: URL not defined in certain NodeJS versions (0939aa2)
  • Add alternate variables for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (3416fcd)
  • Removed logic of planned TODO for checking not only path but body and querystring params of operations as well --> not neccessary as SP API error messages are meaningful for body and querystring params (0966bc0)
  • fix: Error code example (ac1cb7b)

Merged pull requests:

  • FIX: URL not defined in certain NodeJS versions #13 (ALEXOTANO)
  • Tweak: Add alternate variables for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY #12 (ghost)
  • fix: Error code example #9 (wangjue666)

v0.2.6 (2020-12-20)

Full Changelog

Commits:

  • Added basic testing for some operations (827ae6d)
  • Added information to getInventorySummaries --> only available in NA region (df44573)

v0.2.5 (2020-12-08)

Full Changelog

Commits:

  • Fixed missing "/" in orders api paths (c036b49)

v0.2.4 (2020-12-07)

Full Changelog

Commits:

  • Fixed "getMyFeesEstimateForASIN" path and minor readme update (57c6f9a)

v0.2.3 (2020-11-28)

Full Changelog

Commits:

v0.2.2 (2020-11-27)

Full Changelog

Commits:

  • Replaced "fs/promises" with standard version with cb to support older node versions (61c1ea9)

v0.2.1 (2020-11-27)

Full Changelog

Commits:

  • Added .download() function for reports --> downloads, decrypts and unzips reports (506c833)

v0.2.0 (2020-11-21)

Full Changelog

Commits:

  • Changed .callAPI to use operation instead of path, added support for retry throttled requests in sync with restore rates (39bea31)

v0.1.1 (2020-11-16)

Full Changelog

Commits:

  • Fixed issue with arrays as part of GET parameters (28da886)

v0.1.0 (2020-11-16)

Full Changelog