SDK for Amazon Marketplace Web Services
npm install --save @bizon/mws-sdk
const MWSClient = require('@bizon/mws-sdk')
const client = new MWSClient({
accessKeyId: '', // defaults to process.env.MWS_ACCESS_KEY_ID
secretAccessKey: '', // defaults to process.env.MWS_SECRET_ACCESS_KEY
sellerId: '',
mwsToken: '',
sellerRegion: ''
})
Version: 2015-05-01
Options:
Name | Type | Default |
---|---|---|
maxResultsPerPage | Number |
100 |
amazonOrderId | String |
|
financialEventGroupId | String |
|
postedAfter | Date |
|
postedBefore | Date |
|
nextToken | String |
Options:
Name | Type | Default |
---|---|---|
maxResultsPerPage | Number |
100 |
financialEventGroupStartedAfter | Date |
|
financialEventGroupStartedBefore | Date |
|
nextToken | String |
Version: 2013-09-01
Options:
Name | Type | Default |
---|---|---|
amazonOrderIds | Array<String> |
Options:
Name | Type | Default |
---|---|---|
createdAfter | Date |
|
createdBefore | Date |
|
lastUpdatedAfter | Date |
|
lastUpdatedBefore | Date |
|
orderStatus | String |
|
fulfillmentChannel | String |
|
paymentMethod | String |
|
buyerEmail | String |
|
sellerOrderId | String |
|
maxResultsPerPage | Number |
100 |
tfmShipmentStatus | String |
|
nextToken | String |
Options:
Name | Type | Default |
---|---|---|
amazonOrderId | String |
|
nextToken | String |
Version: 2011-10-01
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
idType | String |
|
idList | Array<String> |
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
asinList | Array<String> |
|
itemCondition | String |
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
asin | String |
|
itemCondition | String |
Version: 2009-01-01
Options:
Name | Type | Default |
---|---|---|
reportType | String |
|
startDate | Date |
|
endDate | Date |
|
marketplaces | Array<String> |
|
reportOptions | String |
Options:
Name | Type | Default |
---|---|---|
reportRequestIdList | Array<String> |
|
reportTypeList | Array<String> |
|
reportProcessingStatusList | Array<String> |
|
maxCount | Number |
100 |
requestedFromDate | Date |
|
requestedToDate | Date |
|
nextToken | String |
Options:
Name | Type | Default |
---|---|---|
maxCount | Number |
100 |
reportTypeList | Array<String> |
|
acknowledged | Boolean |
|
reportRequestIdList | Array<String> |
|
availableFromDate | Date |
|
availableToDate | Date |
|
nextToken | String |
Options:
Name | Type | Default |
---|---|---|
reportId | String |
|
format | Enum[raw, base64] |
Version: 2013-07-01
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
sqsQueueUrl | String |
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
sqsQueueUrl | String |
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
sqsQueueUrl | String |
|
isEnabled | Boolean |
true |
notificationType | String |
Options:
Name | Type | Default |
---|---|---|
marketplaceId | String |
|
sqsQueueUrl | String |
Parse an XML notification. Only Test
and AnyOfferChanged
notifications are supported.
All entities except Reports
support a getServiceStatus
method to retrieve the API status.
MIT
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝