@sp-api-sdk/feeds-api-2021-06-30 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cjs/api-model/api/feeds-api.js +1 -25
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/api-model/base.js +1 -1
- package/dist/cjs/api-model/common.js +1 -1
- package/dist/cjs/api-model/configuration.js +2 -3
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/create-feed-document-response.js +1 -1
- package/dist/cjs/api-model/models/create-feed-document-specification.js +1 -1
- package/dist/cjs/api-model/models/create-feed-response.js +1 -1
- package/dist/cjs/api-model/models/create-feed-specification.js +1 -1
- package/dist/cjs/api-model/models/error-list.js +1 -1
- package/dist/cjs/api-model/models/feed-document.js +1 -1
- package/dist/cjs/api-model/models/feed.js +1 -1
- package/dist/cjs/api-model/models/get-feeds-response.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/api/feeds-api.js +1 -25
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/api-model/base.js +1 -1
- package/dist/es/api-model/common.js +1 -1
- package/dist/es/api-model/configuration.js +2 -3
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/create-feed-document-response.js +1 -1
- package/dist/es/api-model/models/create-feed-document-specification.js +1 -1
- package/dist/es/api-model/models/create-feed-response.js +1 -1
- package/dist/es/api-model/models/create-feed-specification.js +1 -1
- package/dist/es/api-model/models/error-list.js +1 -1
- package/dist/es/api-model/models/feed-document.js +1 -1
- package/dist/es/api-model/models/feed.js +1 -1
- package/dist/es/api-model/models/get-feeds-response.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/types/api-model/api/feeds-api.d.ts +1 -25
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/api-model/base.d.ts +1 -1
- package/dist/types/api-model/common.d.ts +2 -2
- package/dist/types/api-model/configuration.d.ts +1 -1
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/create-feed-document-response.d.ts +1 -1
- package/dist/types/api-model/models/create-feed-document-specification.d.ts +1 -1
- package/dist/types/api-model/models/create-feed-response.d.ts +1 -1
- package/dist/types/api-model/models/create-feed-specification.d.ts +1 -1
- package/dist/types/api-model/models/error-list.d.ts +1 -1
- package/dist/types/api-model/models/feed-document.d.ts +1 -1
- package/dist/types/api-model/models/feed.d.ts +1 -1
- package/dist/types/api-model/models/get-feeds-response.d.ts +1 -1
- package/dist/types/api-model/models/model-error.d.ts +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/@sp-api-sdk/feeds-api-2021-06-30)
|
|
6
|
+
[](https://github.com/xojs/xo)
|
|
7
|
+
|
|
8
|
+
[<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
|
|
7
9
|
|
|
8
10
|
## Documentation
|
|
9
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Feeds
|
|
5
|
+
* Selling Partner API for Feeds
|
|
6
6
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -31,7 +31,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
34
|
-
* @summary cancelFeed
|
|
35
34
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
36
35
|
* @param {*} [options] Override http request option.
|
|
37
36
|
* @throws {RequiredError}
|
|
@@ -60,7 +59,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
60
59
|
},
|
|
61
60
|
/**
|
|
62
61
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
63
|
-
* @summary createFeed
|
|
64
62
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
65
63
|
* @param {*} [options] Override http request option.
|
|
66
64
|
* @throws {RequiredError}
|
|
@@ -90,7 +88,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
90
88
|
},
|
|
91
89
|
/**
|
|
92
90
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
93
|
-
* @summary createFeedDocument
|
|
94
91
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
95
92
|
* @param {*} [options] Override http request option.
|
|
96
93
|
* @throws {RequiredError}
|
|
@@ -120,7 +117,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
120
117
|
},
|
|
121
118
|
/**
|
|
122
119
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
123
|
-
* @summary getFeed
|
|
124
120
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
125
121
|
* @param {*} [options] Override http request option.
|
|
126
122
|
* @throws {RequiredError}
|
|
@@ -149,7 +145,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
149
145
|
},
|
|
150
146
|
/**
|
|
151
147
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
152
|
-
* @summary getFeedDocument
|
|
153
148
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
154
149
|
* @param {*} [options] Override http request option.
|
|
155
150
|
* @throws {RequiredError}
|
|
@@ -178,7 +173,6 @@ const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
178
173
|
},
|
|
179
174
|
/**
|
|
180
175
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
181
|
-
* @summary getFeeds
|
|
182
176
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
183
177
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
184
178
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -245,7 +239,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
245
239
|
return {
|
|
246
240
|
/**
|
|
247
241
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
248
|
-
* @summary cancelFeed
|
|
249
242
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
250
243
|
* @param {*} [options] Override http request option.
|
|
251
244
|
* @throws {RequiredError}
|
|
@@ -258,7 +251,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
258
251
|
},
|
|
259
252
|
/**
|
|
260
253
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
261
|
-
* @summary createFeed
|
|
262
254
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
263
255
|
* @param {*} [options] Override http request option.
|
|
264
256
|
* @throws {RequiredError}
|
|
@@ -271,7 +263,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
271
263
|
},
|
|
272
264
|
/**
|
|
273
265
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
274
|
-
* @summary createFeedDocument
|
|
275
266
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
276
267
|
* @param {*} [options] Override http request option.
|
|
277
268
|
* @throws {RequiredError}
|
|
@@ -284,7 +275,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
284
275
|
},
|
|
285
276
|
/**
|
|
286
277
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
287
|
-
* @summary getFeed
|
|
288
278
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
289
279
|
* @param {*} [options] Override http request option.
|
|
290
280
|
* @throws {RequiredError}
|
|
@@ -297,7 +287,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
297
287
|
},
|
|
298
288
|
/**
|
|
299
289
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
300
|
-
* @summary getFeedDocument
|
|
301
290
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
302
291
|
* @param {*} [options] Override http request option.
|
|
303
292
|
* @throws {RequiredError}
|
|
@@ -310,7 +299,6 @@ const FeedsApiFp = function (configuration) {
|
|
|
310
299
|
},
|
|
311
300
|
/**
|
|
312
301
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
313
|
-
* @summary getFeeds
|
|
314
302
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
315
303
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
316
304
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -339,7 +327,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
339
327
|
return {
|
|
340
328
|
/**
|
|
341
329
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
342
|
-
* @summary cancelFeed
|
|
343
330
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
344
331
|
* @param {*} [options] Override http request option.
|
|
345
332
|
* @throws {RequiredError}
|
|
@@ -349,7 +336,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
349
336
|
},
|
|
350
337
|
/**
|
|
351
338
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
352
|
-
* @summary createFeed
|
|
353
339
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
354
340
|
* @param {*} [options] Override http request option.
|
|
355
341
|
* @throws {RequiredError}
|
|
@@ -359,7 +345,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
359
345
|
},
|
|
360
346
|
/**
|
|
361
347
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
362
|
-
* @summary createFeedDocument
|
|
363
348
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
364
349
|
* @param {*} [options] Override http request option.
|
|
365
350
|
* @throws {RequiredError}
|
|
@@ -369,7 +354,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
369
354
|
},
|
|
370
355
|
/**
|
|
371
356
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
372
|
-
* @summary getFeed
|
|
373
357
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
374
358
|
* @param {*} [options] Override http request option.
|
|
375
359
|
* @throws {RequiredError}
|
|
@@ -379,7 +363,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
379
363
|
},
|
|
380
364
|
/**
|
|
381
365
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
382
|
-
* @summary getFeedDocument
|
|
383
366
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
384
367
|
* @param {*} [options] Override http request option.
|
|
385
368
|
* @throws {RequiredError}
|
|
@@ -389,7 +372,6 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
389
372
|
},
|
|
390
373
|
/**
|
|
391
374
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
392
|
-
* @summary getFeeds
|
|
393
375
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
394
376
|
* @param {*} [options] Override http request option.
|
|
395
377
|
* @throws {RequiredError}
|
|
@@ -409,7 +391,6 @@ exports.FeedsApiFactory = FeedsApiFactory;
|
|
|
409
391
|
class FeedsApi extends base_1.BaseAPI {
|
|
410
392
|
/**
|
|
411
393
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
412
|
-
* @summary cancelFeed
|
|
413
394
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
414
395
|
* @param {*} [options] Override http request option.
|
|
415
396
|
* @throws {RequiredError}
|
|
@@ -420,7 +401,6 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
420
401
|
}
|
|
421
402
|
/**
|
|
422
403
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
423
|
-
* @summary createFeed
|
|
424
404
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
425
405
|
* @param {*} [options] Override http request option.
|
|
426
406
|
* @throws {RequiredError}
|
|
@@ -431,7 +411,6 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
431
411
|
}
|
|
432
412
|
/**
|
|
433
413
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
434
|
-
* @summary createFeedDocument
|
|
435
414
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
436
415
|
* @param {*} [options] Override http request option.
|
|
437
416
|
* @throws {RequiredError}
|
|
@@ -442,7 +421,6 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
442
421
|
}
|
|
443
422
|
/**
|
|
444
423
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
445
|
-
* @summary getFeed
|
|
446
424
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
447
425
|
* @param {*} [options] Override http request option.
|
|
448
426
|
* @throws {RequiredError}
|
|
@@ -453,7 +431,6 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
453
431
|
}
|
|
454
432
|
/**
|
|
455
433
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
456
|
-
* @summary getFeedDocument
|
|
457
434
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
458
435
|
* @param {*} [options] Override http request option.
|
|
459
436
|
* @throws {RequiredError}
|
|
@@ -464,7 +441,6 @@ class FeedsApi extends base_1.BaseAPI {
|
|
|
464
441
|
}
|
|
465
442
|
/**
|
|
466
443
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
467
|
-
* @summary getFeeds
|
|
468
444
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
469
445
|
* @param {*} [options] Override http request option.
|
|
470
446
|
* @throws {RequiredError}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Feeds
|
|
5
|
+
* Selling Partner API for Feeds
|
|
6
6
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -79,11 +79,10 @@ class Configuration {
|
|
|
79
79
|
this.basePath = param.basePath;
|
|
80
80
|
this.serverIndex = param.serverIndex;
|
|
81
81
|
this.baseOptions = {
|
|
82
|
+
...param.baseOptions,
|
|
82
83
|
headers: {
|
|
83
84
|
...param.baseOptions?.headers,
|
|
84
|
-
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
85
85
|
},
|
|
86
|
-
...param.baseOptions
|
|
87
86
|
};
|
|
88
87
|
this.formDataCtor = param.formDataCtor;
|
|
89
88
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Feeds
|
|
4
|
+
* Selling Partner API for Feeds
|
|
5
5
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -25,7 +25,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
28
|
-
* @summary cancelFeed
|
|
29
28
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
30
29
|
* @param {*} [options] Override http request option.
|
|
31
30
|
* @throws {RequiredError}
|
|
@@ -54,7 +53,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
54
53
|
},
|
|
55
54
|
/**
|
|
56
55
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
57
|
-
* @summary createFeed
|
|
58
56
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
59
57
|
* @param {*} [options] Override http request option.
|
|
60
58
|
* @throws {RequiredError}
|
|
@@ -84,7 +82,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
84
82
|
},
|
|
85
83
|
/**
|
|
86
84
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
87
|
-
* @summary createFeedDocument
|
|
88
85
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
89
86
|
* @param {*} [options] Override http request option.
|
|
90
87
|
* @throws {RequiredError}
|
|
@@ -114,7 +111,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
114
111
|
},
|
|
115
112
|
/**
|
|
116
113
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
117
|
-
* @summary getFeed
|
|
118
114
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
119
115
|
* @param {*} [options] Override http request option.
|
|
120
116
|
* @throws {RequiredError}
|
|
@@ -143,7 +139,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
143
139
|
},
|
|
144
140
|
/**
|
|
145
141
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
146
|
-
* @summary getFeedDocument
|
|
147
142
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
148
143
|
* @param {*} [options] Override http request option.
|
|
149
144
|
* @throws {RequiredError}
|
|
@@ -172,7 +167,6 @@ export const FeedsApiAxiosParamCreator = function (configuration) {
|
|
|
172
167
|
},
|
|
173
168
|
/**
|
|
174
169
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
175
|
-
* @summary getFeeds
|
|
176
170
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
177
171
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
178
172
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -238,7 +232,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
238
232
|
return {
|
|
239
233
|
/**
|
|
240
234
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
241
|
-
* @summary cancelFeed
|
|
242
235
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
243
236
|
* @param {*} [options] Override http request option.
|
|
244
237
|
* @throws {RequiredError}
|
|
@@ -251,7 +244,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
251
244
|
},
|
|
252
245
|
/**
|
|
253
246
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
254
|
-
* @summary createFeed
|
|
255
247
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
256
248
|
* @param {*} [options] Override http request option.
|
|
257
249
|
* @throws {RequiredError}
|
|
@@ -264,7 +256,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
264
256
|
},
|
|
265
257
|
/**
|
|
266
258
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
267
|
-
* @summary createFeedDocument
|
|
268
259
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
269
260
|
* @param {*} [options] Override http request option.
|
|
270
261
|
* @throws {RequiredError}
|
|
@@ -277,7 +268,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
277
268
|
},
|
|
278
269
|
/**
|
|
279
270
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
280
|
-
* @summary getFeed
|
|
281
271
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
282
272
|
* @param {*} [options] Override http request option.
|
|
283
273
|
* @throws {RequiredError}
|
|
@@ -290,7 +280,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
290
280
|
},
|
|
291
281
|
/**
|
|
292
282
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
293
|
-
* @summary getFeedDocument
|
|
294
283
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
295
284
|
* @param {*} [options] Override http request option.
|
|
296
285
|
* @throws {RequiredError}
|
|
@@ -303,7 +292,6 @@ export const FeedsApiFp = function (configuration) {
|
|
|
303
292
|
},
|
|
304
293
|
/**
|
|
305
294
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
306
|
-
* @summary getFeeds
|
|
307
295
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
308
296
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
309
297
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -331,7 +319,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
331
319
|
return {
|
|
332
320
|
/**
|
|
333
321
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
334
|
-
* @summary cancelFeed
|
|
335
322
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
336
323
|
* @param {*} [options] Override http request option.
|
|
337
324
|
* @throws {RequiredError}
|
|
@@ -341,7 +328,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
341
328
|
},
|
|
342
329
|
/**
|
|
343
330
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
344
|
-
* @summary createFeed
|
|
345
331
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
346
332
|
* @param {*} [options] Override http request option.
|
|
347
333
|
* @throws {RequiredError}
|
|
@@ -351,7 +337,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
351
337
|
},
|
|
352
338
|
/**
|
|
353
339
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
354
|
-
* @summary createFeedDocument
|
|
355
340
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
356
341
|
* @param {*} [options] Override http request option.
|
|
357
342
|
* @throws {RequiredError}
|
|
@@ -361,7 +346,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
361
346
|
},
|
|
362
347
|
/**
|
|
363
348
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
364
|
-
* @summary getFeed
|
|
365
349
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
366
350
|
* @param {*} [options] Override http request option.
|
|
367
351
|
* @throws {RequiredError}
|
|
@@ -371,7 +355,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
371
355
|
},
|
|
372
356
|
/**
|
|
373
357
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
374
|
-
* @summary getFeedDocument
|
|
375
358
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
376
359
|
* @param {*} [options] Override http request option.
|
|
377
360
|
* @throws {RequiredError}
|
|
@@ -381,7 +364,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
381
364
|
},
|
|
382
365
|
/**
|
|
383
366
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
384
|
-
* @summary getFeeds
|
|
385
367
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
386
368
|
* @param {*} [options] Override http request option.
|
|
387
369
|
* @throws {RequiredError}
|
|
@@ -400,7 +382,6 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
|
|
|
400
382
|
export class FeedsApi extends BaseAPI {
|
|
401
383
|
/**
|
|
402
384
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
403
|
-
* @summary cancelFeed
|
|
404
385
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
405
386
|
* @param {*} [options] Override http request option.
|
|
406
387
|
* @throws {RequiredError}
|
|
@@ -411,7 +392,6 @@ export class FeedsApi extends BaseAPI {
|
|
|
411
392
|
}
|
|
412
393
|
/**
|
|
413
394
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
414
|
-
* @summary createFeed
|
|
415
395
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
416
396
|
* @param {*} [options] Override http request option.
|
|
417
397
|
* @throws {RequiredError}
|
|
@@ -422,7 +402,6 @@ export class FeedsApi extends BaseAPI {
|
|
|
422
402
|
}
|
|
423
403
|
/**
|
|
424
404
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
425
|
-
* @summary createFeedDocument
|
|
426
405
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
427
406
|
* @param {*} [options] Override http request option.
|
|
428
407
|
* @throws {RequiredError}
|
|
@@ -433,7 +412,6 @@ export class FeedsApi extends BaseAPI {
|
|
|
433
412
|
}
|
|
434
413
|
/**
|
|
435
414
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
436
|
-
* @summary getFeed
|
|
437
415
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
438
416
|
* @param {*} [options] Override http request option.
|
|
439
417
|
* @throws {RequiredError}
|
|
@@ -444,7 +422,6 @@ export class FeedsApi extends BaseAPI {
|
|
|
444
422
|
}
|
|
445
423
|
/**
|
|
446
424
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
447
|
-
* @summary getFeedDocument
|
|
448
425
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
449
426
|
* @param {*} [options] Override http request option.
|
|
450
427
|
* @throws {RequiredError}
|
|
@@ -455,7 +432,6 @@ export class FeedsApi extends BaseAPI {
|
|
|
455
432
|
}
|
|
456
433
|
/**
|
|
457
434
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
458
|
-
* @summary getFeeds
|
|
459
435
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
460
436
|
* @param {*} [options] Override http request option.
|
|
461
437
|
* @throws {RequiredError}
|
package/dist/es/api-model/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Feeds
|
|
4
|
+
* Selling Partner API for Feeds
|
|
5
5
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -76,11 +76,10 @@ export class Configuration {
|
|
|
76
76
|
this.basePath = param.basePath;
|
|
77
77
|
this.serverIndex = param.serverIndex;
|
|
78
78
|
this.baseOptions = {
|
|
79
|
+
...param.baseOptions,
|
|
79
80
|
headers: {
|
|
80
81
|
...param.baseOptions?.headers,
|
|
81
|
-
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
82
82
|
},
|
|
83
|
-
...param.baseOptions
|
|
84
83
|
};
|
|
85
84
|
this.formDataCtor = param.formDataCtor;
|
|
86
85
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Feeds
|
|
2
|
+
* Selling Partner API for Feeds
|
|
3
3
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -27,7 +27,6 @@ import type { GetFeedsResponse } from '../models';
|
|
|
27
27
|
export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
28
|
/**
|
|
29
29
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
30
|
-
* @summary cancelFeed
|
|
31
30
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
32
31
|
* @param {*} [options] Override http request option.
|
|
33
32
|
* @throws {RequiredError}
|
|
@@ -35,7 +34,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
35
34
|
cancelFeed: (feedId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
35
|
/**
|
|
37
36
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
38
|
-
* @summary createFeed
|
|
39
37
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
40
38
|
* @param {*} [options] Override http request option.
|
|
41
39
|
* @throws {RequiredError}
|
|
@@ -43,7 +41,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
43
41
|
createFeed: (body: CreateFeedSpecification, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
42
|
/**
|
|
45
43
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
46
|
-
* @summary createFeedDocument
|
|
47
44
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
48
45
|
* @param {*} [options] Override http request option.
|
|
49
46
|
* @throws {RequiredError}
|
|
@@ -51,7 +48,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
51
48
|
createFeedDocument: (body: CreateFeedDocumentSpecification, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
49
|
/**
|
|
53
50
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
54
|
-
* @summary getFeed
|
|
55
51
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
56
52
|
* @param {*} [options] Override http request option.
|
|
57
53
|
* @throws {RequiredError}
|
|
@@ -59,7 +55,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
59
55
|
getFeed: (feedId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
56
|
/**
|
|
61
57
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
62
|
-
* @summary getFeedDocument
|
|
63
58
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
64
59
|
* @param {*} [options] Override http request option.
|
|
65
60
|
* @throws {RequiredError}
|
|
@@ -67,7 +62,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
67
62
|
getFeedDocument: (feedDocumentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
63
|
/**
|
|
69
64
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
70
|
-
* @summary getFeeds
|
|
71
65
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
72
66
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
73
67
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -87,7 +81,6 @@ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
87
81
|
export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
88
82
|
/**
|
|
89
83
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
90
|
-
* @summary cancelFeed
|
|
91
84
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
92
85
|
* @param {*} [options] Override http request option.
|
|
93
86
|
* @throws {RequiredError}
|
|
@@ -95,7 +88,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
95
88
|
cancelFeed(feedId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
96
89
|
/**
|
|
97
90
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
98
|
-
* @summary createFeed
|
|
99
91
|
* @param {CreateFeedSpecification} body Information required to create the feed.
|
|
100
92
|
* @param {*} [options] Override http request option.
|
|
101
93
|
* @throws {RequiredError}
|
|
@@ -103,7 +95,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
103
95
|
createFeed(body: CreateFeedSpecification, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFeedResponse>>;
|
|
104
96
|
/**
|
|
105
97
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
106
|
-
* @summary createFeedDocument
|
|
107
98
|
* @param {CreateFeedDocumentSpecification} body Specifies the content type for the createFeedDocument operation.
|
|
108
99
|
* @param {*} [options] Override http request option.
|
|
109
100
|
* @throws {RequiredError}
|
|
@@ -111,7 +102,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
111
102
|
createFeedDocument(body: CreateFeedDocumentSpecification, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFeedDocumentResponse>>;
|
|
112
103
|
/**
|
|
113
104
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
114
|
-
* @summary getFeed
|
|
115
105
|
* @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
|
|
116
106
|
* @param {*} [options] Override http request option.
|
|
117
107
|
* @throws {RequiredError}
|
|
@@ -119,7 +109,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
119
109
|
getFeed(feedId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Feed>>;
|
|
120
110
|
/**
|
|
121
111
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
122
|
-
* @summary getFeedDocument
|
|
123
112
|
* @param {string} feedDocumentId The identifier of the feed document.
|
|
124
113
|
* @param {*} [options] Override http request option.
|
|
125
114
|
* @throws {RequiredError}
|
|
@@ -127,7 +116,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
127
116
|
getFeedDocument(feedDocumentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeedDocument>>;
|
|
128
117
|
/**
|
|
129
118
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
130
|
-
* @summary getFeeds
|
|
131
119
|
* @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
|
|
132
120
|
* @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
|
|
133
121
|
* @param {number} [pageSize] The maximum number of feeds to return in a single call.
|
|
@@ -147,7 +135,6 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
|
|
|
147
135
|
export declare const FeedsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
148
136
|
/**
|
|
149
137
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
150
|
-
* @summary cancelFeed
|
|
151
138
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
152
139
|
* @param {*} [options] Override http request option.
|
|
153
140
|
* @throws {RequiredError}
|
|
@@ -155,7 +142,6 @@ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
155
142
|
cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
156
143
|
/**
|
|
157
144
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
158
|
-
* @summary createFeed
|
|
159
145
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
160
146
|
* @param {*} [options] Override http request option.
|
|
161
147
|
* @throws {RequiredError}
|
|
@@ -163,7 +149,6 @@ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
163
149
|
createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedResponse>;
|
|
164
150
|
/**
|
|
165
151
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
166
|
-
* @summary createFeedDocument
|
|
167
152
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
168
153
|
* @param {*} [options] Override http request option.
|
|
169
154
|
* @throws {RequiredError}
|
|
@@ -171,7 +156,6 @@ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
171
156
|
createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedDocumentResponse>;
|
|
172
157
|
/**
|
|
173
158
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
174
|
-
* @summary getFeed
|
|
175
159
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
176
160
|
* @param {*} [options] Override http request option.
|
|
177
161
|
* @throws {RequiredError}
|
|
@@ -179,7 +163,6 @@ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
179
163
|
getFeed(requestParameters: FeedsApiGetFeedRequest, options?: RawAxiosRequestConfig): AxiosPromise<Feed>;
|
|
180
164
|
/**
|
|
181
165
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
182
|
-
* @summary getFeedDocument
|
|
183
166
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
184
167
|
* @param {*} [options] Override http request option.
|
|
185
168
|
* @throws {RequiredError}
|
|
@@ -187,7 +170,6 @@ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
187
170
|
getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FeedDocument>;
|
|
188
171
|
/**
|
|
189
172
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
190
|
-
* @summary getFeeds
|
|
191
173
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
192
174
|
* @param {*} [options] Override http request option.
|
|
193
175
|
* @throws {RequiredError}
|
|
@@ -317,7 +299,6 @@ export interface FeedsApiGetFeedsRequest {
|
|
|
317
299
|
export declare class FeedsApi extends BaseAPI {
|
|
318
300
|
/**
|
|
319
301
|
* Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
320
|
-
* @summary cancelFeed
|
|
321
302
|
* @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
|
|
322
303
|
* @param {*} [options] Override http request option.
|
|
323
304
|
* @throws {RequiredError}
|
|
@@ -326,7 +307,6 @@ export declare class FeedsApi extends BaseAPI {
|
|
|
326
307
|
cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
327
308
|
/**
|
|
328
309
|
* Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).
|
|
329
|
-
* @summary createFeed
|
|
330
310
|
* @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
|
|
331
311
|
* @param {*} [options] Override http request option.
|
|
332
312
|
* @throws {RequiredError}
|
|
@@ -335,7 +315,6 @@ export declare class FeedsApi extends BaseAPI {
|
|
|
335
315
|
createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFeedResponse, any>>;
|
|
336
316
|
/**
|
|
337
317
|
* Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
338
|
-
* @summary createFeedDocument
|
|
339
318
|
* @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
|
|
340
319
|
* @param {*} [options] Override http request option.
|
|
341
320
|
* @throws {RequiredError}
|
|
@@ -344,7 +323,6 @@ export declare class FeedsApi extends BaseAPI {
|
|
|
344
323
|
createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFeedDocumentResponse, any>>;
|
|
345
324
|
/**
|
|
346
325
|
* Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
347
|
-
* @summary getFeed
|
|
348
326
|
* @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
|
|
349
327
|
* @param {*} [options] Override http request option.
|
|
350
328
|
* @throws {RequiredError}
|
|
@@ -353,7 +331,6 @@ export declare class FeedsApi extends BaseAPI {
|
|
|
353
331
|
getFeed(requestParameters: FeedsApiGetFeedRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Feed, any>>;
|
|
354
332
|
/**
|
|
355
333
|
* Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
356
|
-
* @summary getFeedDocument
|
|
357
334
|
* @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
|
|
358
335
|
* @param {*} [options] Override http request option.
|
|
359
336
|
* @throws {RequiredError}
|
|
@@ -362,7 +339,6 @@ export declare class FeedsApi extends BaseAPI {
|
|
|
362
339
|
getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FeedDocument, any>>;
|
|
363
340
|
/**
|
|
364
341
|
* Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [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).
|
|
365
|
-
* @summary getFeeds
|
|
366
342
|
* @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
|
|
367
343
|
* @param {*} [options] Override http request option.
|
|
368
344
|
* @throws {RequiredError}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Feeds
|
|
2
|
+
* Selling Partner API for Feeds
|
|
3
3
|
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 2021-06-30
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/feeds-api-2021-06-30",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.11",
|
|
22
|
+
"axios": "^1.8.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"feeds api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b5799742765e819f70161d2ac1905d8e570de8c0"
|
|
44
44
|
}
|