@sp-api-sdk/catalog-items-api-v0 3.0.4 → 4.0.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.
Files changed (64) hide show
  1. package/dist/cjs/api-model/api/catalog-items-api.js +134 -0
  2. package/dist/cjs/api-model/api.js +1 -1
  3. package/dist/cjs/api-model/models/index.js +0 -16
  4. package/dist/cjs/client.js +1 -1
  5. package/dist/es/api-model/api/catalog-items-api.js +124 -0
  6. package/dist/es/api-model/api.js +1 -1
  7. package/dist/es/api-model/models/index.js +0 -16
  8. package/dist/es/client.js +2 -2
  9. package/dist/types/api-model/api/catalog-items-api.d.ts +100 -0
  10. package/dist/types/api-model/api.d.ts +1 -1
  11. package/dist/types/api-model/models/index.d.ts +0 -16
  12. package/dist/types/client.d.ts +2 -2
  13. package/package.json +4 -4
  14. package/dist/cjs/api-model/api/catalog-api.js +0 -296
  15. package/dist/cjs/api-model/models/asinidentifier.js +0 -15
  16. package/dist/cjs/api-model/models/attribute-set-list-type.js +0 -15
  17. package/dist/cjs/api-model/models/creator-type.js +0 -15
  18. package/dist/cjs/api-model/models/decimal-with-units.js +0 -15
  19. package/dist/cjs/api-model/models/dimension-type.js +0 -15
  20. package/dist/cjs/api-model/models/get-catalog-item-response.js +0 -15
  21. package/dist/cjs/api-model/models/identifier-type.js +0 -15
  22. package/dist/cjs/api-model/models/image.js +0 -15
  23. package/dist/cjs/api-model/models/item.js +0 -15
  24. package/dist/cjs/api-model/models/language-type.js +0 -15
  25. package/dist/cjs/api-model/models/list-catalog-items-response.js +0 -15
  26. package/dist/cjs/api-model/models/list-matching-items-response.js +0 -15
  27. package/dist/cjs/api-model/models/price.js +0 -15
  28. package/dist/cjs/api-model/models/relationship-type.js +0 -15
  29. package/dist/cjs/api-model/models/sales-rank-type.js +0 -15
  30. package/dist/cjs/api-model/models/seller-skuidentifier.js +0 -15
  31. package/dist/es/api-model/api/catalog-api.js +0 -286
  32. package/dist/es/api-model/models/asinidentifier.js +0 -14
  33. package/dist/es/api-model/models/attribute-set-list-type.js +0 -14
  34. package/dist/es/api-model/models/creator-type.js +0 -14
  35. package/dist/es/api-model/models/decimal-with-units.js +0 -14
  36. package/dist/es/api-model/models/dimension-type.js +0 -14
  37. package/dist/es/api-model/models/get-catalog-item-response.js +0 -14
  38. package/dist/es/api-model/models/identifier-type.js +0 -14
  39. package/dist/es/api-model/models/image.js +0 -14
  40. package/dist/es/api-model/models/item.js +0 -14
  41. package/dist/es/api-model/models/language-type.js +0 -14
  42. package/dist/es/api-model/models/list-catalog-items-response.js +0 -14
  43. package/dist/es/api-model/models/list-matching-items-response.js +0 -14
  44. package/dist/es/api-model/models/price.js +0 -14
  45. package/dist/es/api-model/models/relationship-type.js +0 -14
  46. package/dist/es/api-model/models/sales-rank-type.js +0 -14
  47. package/dist/es/api-model/models/seller-skuidentifier.js +0 -14
  48. package/dist/types/api-model/api/catalog-api.d.ts +0 -250
  49. package/dist/types/api-model/models/asinidentifier.d.ts +0 -30
  50. package/dist/types/api-model/models/attribute-set-list-type.d.ts +0 -600
  51. package/dist/types/api-model/models/creator-type.d.ts +0 -30
  52. package/dist/types/api-model/models/decimal-with-units.d.ts +0 -30
  53. package/dist/types/api-model/models/dimension-type.d.ts +0 -43
  54. package/dist/types/api-model/models/get-catalog-item-response.d.ts +0 -31
  55. package/dist/types/api-model/models/identifier-type.d.ts +0 -32
  56. package/dist/types/api-model/models/image.d.ts +0 -37
  57. package/dist/types/api-model/models/item.d.ts +0 -46
  58. package/dist/types/api-model/models/language-type.d.ts +0 -36
  59. package/dist/types/api-model/models/list-catalog-items-response.d.ts +0 -31
  60. package/dist/types/api-model/models/list-matching-items-response.d.ts +0 -25
  61. package/dist/types/api-model/models/price.d.ts +0 -30
  62. package/dist/types/api-model/models/relationship-type.d.ts +0 -159
  63. package/dist/types/api-model/models/sales-rank-type.d.ts +0 -30
  64. package/dist/types/api-model/models/seller-skuidentifier.d.ts +0 -36
@@ -1,286 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import globalAxios from 'axios';
15
- // Some imports not used depending on template conditions
16
- // @ts-ignore
17
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from '../common';
18
- // @ts-ignore
19
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
20
- /**
21
- * CatalogApi - axios parameter creator
22
- * @export
23
- */
24
- export const CatalogApiAxiosParamCreator = function (configuration) {
25
- return {
26
- /**
27
- * Effective September 30, 2022, the `getCatalogItem` operation will no longer be available in the Selling Partner API for Catalog Items v0. This operation is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on this operation should migrate to the latest version to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
28
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
29
- * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
30
- * @param {*} [options] Override http request option.
31
- * @throws {RequiredError}
32
- */
33
- getCatalogItem: async (marketplaceId, asin, options = {}) => {
34
- // verify required parameter 'marketplaceId' is not null or undefined
35
- assertParamExists('getCatalogItem', 'marketplaceId', marketplaceId);
36
- // verify required parameter 'asin' is not null or undefined
37
- assertParamExists('getCatalogItem', 'asin', asin);
38
- const localVarPath = `/catalog/v0/items/{asin}`
39
- .replace(`{${"asin"}}`, encodeURIComponent(String(asin)));
40
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42
- let baseOptions;
43
- if (configuration) {
44
- baseOptions = configuration.baseOptions;
45
- }
46
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
- const localVarHeaderParameter = {};
48
- const localVarQueryParameter = {};
49
- if (marketplaceId !== undefined) {
50
- localVarQueryParameter['MarketplaceId'] = marketplaceId;
51
- }
52
- setSearchParams(localVarUrlObj, localVarQueryParameter);
53
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
55
- return {
56
- url: toPathString(localVarUrlObj),
57
- options: localVarRequestOptions,
58
- };
59
- },
60
- /**
61
- * Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
62
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
63
- * @param {string} [aSIN] The Amazon Standard Identification Number (ASIN) of the item.
64
- * @param {string} [sellerSKU] Used to identify items in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit.
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- listCatalogCategories: async (marketplaceId, aSIN, sellerSKU, options = {}) => {
69
- // verify required parameter 'marketplaceId' is not null or undefined
70
- assertParamExists('listCatalogCategories', 'marketplaceId', marketplaceId);
71
- const localVarPath = `/catalog/v0/categories`;
72
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
73
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
74
- let baseOptions;
75
- if (configuration) {
76
- baseOptions = configuration.baseOptions;
77
- }
78
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
79
- const localVarHeaderParameter = {};
80
- const localVarQueryParameter = {};
81
- if (marketplaceId !== undefined) {
82
- localVarQueryParameter['MarketplaceId'] = marketplaceId;
83
- }
84
- if (aSIN !== undefined) {
85
- localVarQueryParameter['ASIN'] = aSIN;
86
- }
87
- if (sellerSKU !== undefined) {
88
- localVarQueryParameter['SellerSKU'] = sellerSKU;
89
- }
90
- setSearchParams(localVarUrlObj, localVarQueryParameter);
91
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
92
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
93
- return {
94
- url: toPathString(localVarUrlObj),
95
- options: localVarRequestOptions,
96
- };
97
- },
98
- /**
99
- * Effective September 30, 2022, the `listCatalogItems` operation will no longer be available in the Selling Partner API for Catalog Items v0. As an alternative, `searchCatalogItems` is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on the `listCatalogItems` operation should migrate to the `searchCatalogItems`operation to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
100
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
101
- * @param {string} [query] Keyword(s) to use to search for items in the catalog. Example: \'harry potter books\'.
102
- * @param {string} [queryContextId] An identifier for the context within which the given search will be performed. A marketplace might provide mechanisms for constraining a search to a subset of potential items. For example, the retail marketplace allows queries to be constrained to a specific category. The QueryContextId parameter specifies such a subset. If it is omitted, the search will be performed using the default context for the marketplace, which will typically contain the largest set of items.
103
- * @param {string} [sellerSKU] Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit.
104
- * @param {string} [uPC] A 12-digit bar code used for retail packaging.
105
- * @param {string} [eAN] A European article number that uniquely identifies the catalog item, manufacturer, and its attributes.
106
- * @param {string} [iSBN] The unique commercial book identifier used to identify books internationally.
107
- * @param {string} [jAN] A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- listCatalogItems: async (marketplaceId, query, queryContextId, sellerSKU, uPC, eAN, iSBN, jAN, options = {}) => {
112
- // verify required parameter 'marketplaceId' is not null or undefined
113
- assertParamExists('listCatalogItems', 'marketplaceId', marketplaceId);
114
- const localVarPath = `/catalog/v0/items`;
115
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
117
- let baseOptions;
118
- if (configuration) {
119
- baseOptions = configuration.baseOptions;
120
- }
121
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
122
- const localVarHeaderParameter = {};
123
- const localVarQueryParameter = {};
124
- if (marketplaceId !== undefined) {
125
- localVarQueryParameter['MarketplaceId'] = marketplaceId;
126
- }
127
- if (query !== undefined) {
128
- localVarQueryParameter['Query'] = query;
129
- }
130
- if (queryContextId !== undefined) {
131
- localVarQueryParameter['QueryContextId'] = queryContextId;
132
- }
133
- if (sellerSKU !== undefined) {
134
- localVarQueryParameter['SellerSKU'] = sellerSKU;
135
- }
136
- if (uPC !== undefined) {
137
- localVarQueryParameter['UPC'] = uPC;
138
- }
139
- if (eAN !== undefined) {
140
- localVarQueryParameter['EAN'] = eAN;
141
- }
142
- if (iSBN !== undefined) {
143
- localVarQueryParameter['ISBN'] = iSBN;
144
- }
145
- if (jAN !== undefined) {
146
- localVarQueryParameter['JAN'] = jAN;
147
- }
148
- setSearchParams(localVarUrlObj, localVarQueryParameter);
149
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
151
- return {
152
- url: toPathString(localVarUrlObj),
153
- options: localVarRequestOptions,
154
- };
155
- },
156
- };
157
- };
158
- /**
159
- * CatalogApi - functional programming interface
160
- * @export
161
- */
162
- export const CatalogApiFp = function (configuration) {
163
- const localVarAxiosParamCreator = CatalogApiAxiosParamCreator(configuration);
164
- return {
165
- /**
166
- * Effective September 30, 2022, the `getCatalogItem` operation will no longer be available in the Selling Partner API for Catalog Items v0. This operation is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on this operation should migrate to the latest version to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
167
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
168
- * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
169
- * @param {*} [options] Override http request option.
170
- * @throws {RequiredError}
171
- */
172
- async getCatalogItem(marketplaceId, asin, options) {
173
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCatalogItem(marketplaceId, asin, options);
174
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
175
- const localVarOperationServerBasePath = operationServerMap['CatalogApi.getCatalogItem']?.[localVarOperationServerIndex]?.url;
176
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
177
- },
178
- /**
179
- * Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
180
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
181
- * @param {string} [aSIN] The Amazon Standard Identification Number (ASIN) of the item.
182
- * @param {string} [sellerSKU] Used to identify items in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit.
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- async listCatalogCategories(marketplaceId, aSIN, sellerSKU, options) {
187
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCatalogCategories(marketplaceId, aSIN, sellerSKU, options);
188
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
189
- const localVarOperationServerBasePath = operationServerMap['CatalogApi.listCatalogCategories']?.[localVarOperationServerIndex]?.url;
190
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
191
- },
192
- /**
193
- * Effective September 30, 2022, the `listCatalogItems` operation will no longer be available in the Selling Partner API for Catalog Items v0. As an alternative, `searchCatalogItems` is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on the `listCatalogItems` operation should migrate to the `searchCatalogItems`operation to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
194
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
195
- * @param {string} [query] Keyword(s) to use to search for items in the catalog. Example: \'harry potter books\'.
196
- * @param {string} [queryContextId] An identifier for the context within which the given search will be performed. A marketplace might provide mechanisms for constraining a search to a subset of potential items. For example, the retail marketplace allows queries to be constrained to a specific category. The QueryContextId parameter specifies such a subset. If it is omitted, the search will be performed using the default context for the marketplace, which will typically contain the largest set of items.
197
- * @param {string} [sellerSKU] Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit.
198
- * @param {string} [uPC] A 12-digit bar code used for retail packaging.
199
- * @param {string} [eAN] A European article number that uniquely identifies the catalog item, manufacturer, and its attributes.
200
- * @param {string} [iSBN] The unique commercial book identifier used to identify books internationally.
201
- * @param {string} [jAN] A Japanese article number that uniquely identifies the product, manufacturer, and its attributes.
202
- * @param {*} [options] Override http request option.
203
- * @throws {RequiredError}
204
- */
205
- async listCatalogItems(marketplaceId, query, queryContextId, sellerSKU, uPC, eAN, iSBN, jAN, options) {
206
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCatalogItems(marketplaceId, query, queryContextId, sellerSKU, uPC, eAN, iSBN, jAN, options);
207
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
208
- const localVarOperationServerBasePath = operationServerMap['CatalogApi.listCatalogItems']?.[localVarOperationServerIndex]?.url;
209
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
210
- },
211
- };
212
- };
213
- /**
214
- * CatalogApi - factory interface
215
- * @export
216
- */
217
- export const CatalogApiFactory = function (configuration, basePath, axios) {
218
- const localVarFp = CatalogApiFp(configuration);
219
- return {
220
- /**
221
- * Effective September 30, 2022, the `getCatalogItem` operation will no longer be available in the Selling Partner API for Catalog Items v0. This operation is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on this operation should migrate to the latest version to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
222
- * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- getCatalogItem(requestParameters, options) {
227
- return localVarFp.getCatalogItem(requestParameters.marketplaceId, requestParameters.asin, options).then((request) => request(axios, basePath));
228
- },
229
- /**
230
- * Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
231
- * @param {CatalogApiListCatalogCategoriesRequest} requestParameters Request parameters.
232
- * @param {*} [options] Override http request option.
233
- * @throws {RequiredError}
234
- */
235
- listCatalogCategories(requestParameters, options) {
236
- return localVarFp.listCatalogCategories(requestParameters.marketplaceId, requestParameters.aSIN, requestParameters.sellerSKU, options).then((request) => request(axios, basePath));
237
- },
238
- /**
239
- * Effective September 30, 2022, the `listCatalogItems` operation will no longer be available in the Selling Partner API for Catalog Items v0. As an alternative, `searchCatalogItems` is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on the `listCatalogItems` operation should migrate to the `searchCatalogItems`operation to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
240
- * @param {CatalogApiListCatalogItemsRequest} requestParameters Request parameters.
241
- * @param {*} [options] Override http request option.
242
- * @throws {RequiredError}
243
- */
244
- listCatalogItems(requestParameters, options) {
245
- return localVarFp.listCatalogItems(requestParameters.marketplaceId, requestParameters.query, requestParameters.queryContextId, requestParameters.sellerSKU, requestParameters.uPC, requestParameters.eAN, requestParameters.iSBN, requestParameters.jAN, options).then((request) => request(axios, basePath));
246
- },
247
- };
248
- };
249
- /**
250
- * CatalogApi - object-oriented interface
251
- * @export
252
- * @class CatalogApi
253
- * @extends {BaseAPI}
254
- */
255
- export class CatalogApi extends BaseAPI {
256
- /**
257
- * Effective September 30, 2022, the `getCatalogItem` operation will no longer be available in the Selling Partner API for Catalog Items v0. This operation is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on this operation should migrate to the latest version to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
258
- * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
259
- * @param {*} [options] Override http request option.
260
- * @throws {RequiredError}
261
- * @memberof CatalogApi
262
- */
263
- getCatalogItem(requestParameters, options) {
264
- return CatalogApiFp(this.configuration).getCatalogItem(requestParameters.marketplaceId, requestParameters.asin, options).then((request) => request(this.axios, this.basePath));
265
- }
266
- /**
267
- * Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
268
- * @param {CatalogApiListCatalogCategoriesRequest} requestParameters Request parameters.
269
- * @param {*} [options] Override http request option.
270
- * @throws {RequiredError}
271
- * @memberof CatalogApi
272
- */
273
- listCatalogCategories(requestParameters, options) {
274
- return CatalogApiFp(this.configuration).listCatalogCategories(requestParameters.marketplaceId, requestParameters.aSIN, requestParameters.sellerSKU, options).then((request) => request(this.axios, this.basePath));
275
- }
276
- /**
277
- * Effective September 30, 2022, the `listCatalogItems` operation will no longer be available in the Selling Partner API for Catalog Items v0. As an alternative, `searchCatalogItems` is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on the `listCatalogItems` operation should migrate to the `searchCatalogItems`operation to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
278
- * @param {CatalogApiListCatalogItemsRequest} requestParameters Request parameters.
279
- * @param {*} [options] Override http request option.
280
- * @throws {RequiredError}
281
- * @memberof CatalogApi
282
- */
283
- listCatalogItems(requestParameters, options) {
284
- return CatalogApiFp(this.configuration).listCatalogItems(requestParameters.marketplaceId, requestParameters.query, requestParameters.queryContextId, requestParameters.sellerSKU, requestParameters.uPC, requestParameters.eAN, requestParameters.iSBN, requestParameters.jAN, options).then((request) => request(this.axios, this.basePath));
285
- }
286
- }
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Catalog Items
5
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};