@sp-api-sdk/product-pricing-api-2022-05-01 4.0.0 → 4.1.1
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 +3 -4
- package/dist/index.cjs +463 -437
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +561 -922
- package/dist/index.d.ts +561 -922
- package/dist/index.js +430 -391
- package/dist/index.js.map +1 -1
- package/package.json +14 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ClientConfiguration, RateLimit } from
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ClientConfiguration, RateLimit } from "@sp-api-sdk/common";
|
|
2
|
+
import { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from "axios";
|
|
3
|
+
//#region src/api-model/configuration.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Selling Partner API for Pricing
|
|
7
6
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -14,115 +13,105 @@ import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
|
14
13
|
* Do not edit the class manually.
|
|
15
14
|
*/
|
|
16
15
|
interface AWSv4Configuration {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
options?: {
|
|
17
|
+
region?: string;
|
|
18
|
+
service?: string;
|
|
19
|
+
};
|
|
20
|
+
credentials?: {
|
|
21
|
+
accessKeyId?: string;
|
|
22
|
+
secretAccessKey?: string;
|
|
23
|
+
sessionToken?: string;
|
|
24
|
+
};
|
|
26
25
|
}
|
|
27
26
|
interface ConfigurationParameters {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
username?: string;
|
|
29
|
+
password?: string;
|
|
30
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
+
awsv4?: AWSv4Configuration;
|
|
32
|
+
basePath?: string;
|
|
33
|
+
serverIndex?: number;
|
|
34
|
+
baseOptions?: any;
|
|
35
|
+
formDataCtor?: new () => any;
|
|
37
36
|
}
|
|
38
37
|
declare class Configuration {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
* Selling Partner API for Pricing
|
|
105
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
106
|
-
*
|
|
107
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
111
|
-
* https://openapi-generator.tech
|
|
112
|
-
* Do not edit the class manually.
|
|
113
|
-
*/
|
|
114
|
-
|
|
38
|
+
/**
|
|
39
|
+
* parameter for apiKey security
|
|
40
|
+
* @param name security name
|
|
41
|
+
*/
|
|
42
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
43
|
+
/**
|
|
44
|
+
* parameter for basic security
|
|
45
|
+
*/
|
|
46
|
+
username?: string;
|
|
47
|
+
/**
|
|
48
|
+
* parameter for basic security
|
|
49
|
+
*/
|
|
50
|
+
password?: string;
|
|
51
|
+
/**
|
|
52
|
+
* parameter for oauth2 security
|
|
53
|
+
* @param name security name
|
|
54
|
+
* @param scopes oauth2 scope
|
|
55
|
+
*/
|
|
56
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
57
|
+
/**
|
|
58
|
+
* parameter for aws4 signature security
|
|
59
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
60
|
+
* @param {string} options.region - aws region
|
|
61
|
+
* @param {string} options.service - name of the service.
|
|
62
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
63
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
64
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
65
|
+
* @memberof Configuration
|
|
66
|
+
*/
|
|
67
|
+
awsv4?: AWSv4Configuration;
|
|
68
|
+
/**
|
|
69
|
+
* override base path
|
|
70
|
+
*/
|
|
71
|
+
basePath?: string;
|
|
72
|
+
/**
|
|
73
|
+
* override server index
|
|
74
|
+
*/
|
|
75
|
+
serverIndex?: number;
|
|
76
|
+
/**
|
|
77
|
+
* base options for axios calls
|
|
78
|
+
*/
|
|
79
|
+
baseOptions?: any;
|
|
80
|
+
/**
|
|
81
|
+
* The FormData constructor that will be used to create multipart form data
|
|
82
|
+
* requests. You can inject this here so that execution environments that
|
|
83
|
+
* do not support the FormData class can still run the generated client.
|
|
84
|
+
*
|
|
85
|
+
* @type {new () => FormData}
|
|
86
|
+
*/
|
|
87
|
+
formDataCtor?: new () => any;
|
|
88
|
+
constructor(param?: ConfigurationParameters);
|
|
89
|
+
/**
|
|
90
|
+
* Check if the given MIME is a JSON MIME.
|
|
91
|
+
* JSON MIME examples:
|
|
92
|
+
* application/json
|
|
93
|
+
* application/json; charset=UTF8
|
|
94
|
+
* APPLICATION/JSON
|
|
95
|
+
* application/vnd.company+json
|
|
96
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
97
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
98
|
+
*/
|
|
99
|
+
isJsonMime(mime: string): boolean;
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/api-model/base.d.ts
|
|
115
103
|
interface RequestArgs {
|
|
116
|
-
|
|
117
|
-
|
|
104
|
+
url: string;
|
|
105
|
+
options: RawAxiosRequestConfig;
|
|
118
106
|
}
|
|
119
107
|
declare class BaseAPI {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
108
|
+
protected basePath: string;
|
|
109
|
+
protected axios: AxiosInstance;
|
|
110
|
+
protected configuration: Configuration | undefined;
|
|
111
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
124
112
|
}
|
|
125
|
-
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/api-model/models/http-method.d.ts
|
|
126
115
|
/**
|
|
127
116
|
* Selling Partner API for Pricing
|
|
128
117
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -138,49 +127,39 @@ declare class BaseAPI {
|
|
|
138
127
|
* The HTTP method associated with an individual request within a batch.
|
|
139
128
|
*/
|
|
140
129
|
declare const HttpMethod: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
130
|
+
readonly Get: "GET";
|
|
131
|
+
readonly Put: "PUT";
|
|
132
|
+
readonly Patch: "PATCH";
|
|
133
|
+
readonly Delete: "DELETE";
|
|
134
|
+
readonly Post: "POST";
|
|
146
135
|
};
|
|
147
136
|
type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
* Selling Partner API for Pricing
|
|
151
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
152
|
-
*
|
|
153
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
157
|
-
* https://openapi-generator.tech
|
|
158
|
-
* Do not edit the class manually.
|
|
159
|
-
*/
|
|
160
|
-
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/api-model/models/batch-request.d.ts
|
|
161
139
|
/**
|
|
162
140
|
* The common properties for individual requests within a batch.
|
|
163
141
|
*/
|
|
164
142
|
interface BatchRequest {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
143
|
+
/**
|
|
144
|
+
* The URI associated with an individual request within a batch. For `FeaturedOfferExpectedPrice`, this is `/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice`.
|
|
145
|
+
*/
|
|
146
|
+
'uri': string;
|
|
147
|
+
'method': HttpMethod;
|
|
148
|
+
/**
|
|
149
|
+
* Additional HTTP body information that is associated with an individual request within a batch.
|
|
150
|
+
*/
|
|
151
|
+
'body'?: {
|
|
152
|
+
[key: string]: object;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* A mapping of additional HTTP headers to send or receive for an individual request within a batch.
|
|
156
|
+
*/
|
|
157
|
+
'headers'?: {
|
|
158
|
+
[key: string]: string;
|
|
159
|
+
};
|
|
182
160
|
}
|
|
183
|
-
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/api-model/models/http-status-line.d.ts
|
|
184
163
|
/**
|
|
185
164
|
* Selling Partner API for Pricing
|
|
186
165
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -196,41 +175,31 @@ interface BatchRequest {
|
|
|
196
175
|
* The HTTP status line associated with the response for an individual request within a batch. For more information, refer to [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
|
|
197
176
|
*/
|
|
198
177
|
interface HttpStatusLine {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
* Selling Partner API for Pricing
|
|
211
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
212
|
-
*
|
|
213
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
217
|
-
* https://openapi-generator.tech
|
|
218
|
-
* Do not edit the class manually.
|
|
219
|
-
*/
|
|
220
|
-
|
|
178
|
+
/**
|
|
179
|
+
* The HTTP response status code.
|
|
180
|
+
*/
|
|
181
|
+
'statusCode'?: number;
|
|
182
|
+
/**
|
|
183
|
+
* The HTTP response reason phrase.
|
|
184
|
+
*/
|
|
185
|
+
'reasonPhrase'?: string;
|
|
186
|
+
}
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region src/api-model/models/batch-response.d.ts
|
|
221
189
|
/**
|
|
222
190
|
* The common properties for responses to individual requests within a batch.
|
|
223
191
|
*/
|
|
224
192
|
interface BatchResponse {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
193
|
+
/**
|
|
194
|
+
* A mapping of additional HTTP headers to send or receive for an individual request within a batch.
|
|
195
|
+
*/
|
|
196
|
+
'headers': {
|
|
197
|
+
[key: string]: string;
|
|
198
|
+
};
|
|
199
|
+
'status': HttpStatusLine;
|
|
232
200
|
}
|
|
233
|
-
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region src/api-model/models/competitive-summary-included-data.d.ts
|
|
234
203
|
/**
|
|
235
204
|
* Selling Partner API for Pricing
|
|
236
205
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -246,13 +215,14 @@ interface BatchResponse {
|
|
|
246
215
|
* The supported data types in the `getCompetitiveSummary` API.
|
|
247
216
|
*/
|
|
248
217
|
declare const CompetitiveSummaryIncludedData: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
218
|
+
readonly FeaturedBuyingOptions: "featuredBuyingOptions";
|
|
219
|
+
readonly ReferencePrices: "referencePrices";
|
|
220
|
+
readonly LowestPricedOffers: "lowestPricedOffers";
|
|
221
|
+
readonly SimilarItems: "similarItems";
|
|
253
222
|
};
|
|
254
223
|
type CompetitiveSummaryIncludedData = typeof CompetitiveSummaryIncludedData[keyof typeof CompetitiveSummaryIncludedData];
|
|
255
|
-
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/api-model/models/condition.d.ts
|
|
256
226
|
/**
|
|
257
227
|
* Selling Partner API for Pricing
|
|
258
228
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -268,102 +238,70 @@ type CompetitiveSummaryIncludedData = typeof CompetitiveSummaryIncludedData[keyo
|
|
|
268
238
|
* The condition of the item.
|
|
269
239
|
*/
|
|
270
240
|
declare const Condition: {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
241
|
+
readonly New: "New";
|
|
242
|
+
readonly Used: "Used";
|
|
243
|
+
readonly Collectible: "Collectible";
|
|
244
|
+
readonly Refurbished: "Refurbished";
|
|
245
|
+
readonly Club: "Club";
|
|
276
246
|
};
|
|
277
247
|
type Condition = typeof Condition[keyof typeof Condition];
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
* Selling Partner API for Pricing
|
|
281
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
282
|
-
*
|
|
283
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
287
|
-
* https://openapi-generator.tech
|
|
288
|
-
* Do not edit the class manually.
|
|
289
|
-
*/
|
|
290
|
-
|
|
248
|
+
//#endregion
|
|
249
|
+
//#region src/api-model/models/lowest-priced-offers-input.d.ts
|
|
291
250
|
/**
|
|
292
251
|
* The input required for building `LowestPricedOffers` data in the response.
|
|
293
252
|
*/
|
|
294
253
|
interface LowestPricedOffersInput {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
254
|
+
'itemCondition': Condition;
|
|
255
|
+
/**
|
|
256
|
+
* The input parameter specifies the type of offers requested for `LowestPricedOffers`. This applies to `Consumer` and `Business` offers. `Consumer` is the default `offerType`.
|
|
257
|
+
*/
|
|
258
|
+
'offerType': LowestPricedOffersInputOfferTypeEnum;
|
|
300
259
|
}
|
|
301
260
|
declare const LowestPricedOffersInputOfferTypeEnum: {
|
|
302
|
-
|
|
261
|
+
readonly Consumer: "Consumer";
|
|
303
262
|
};
|
|
304
263
|
type LowestPricedOffersInputOfferTypeEnum = typeof LowestPricedOffersInputOfferTypeEnum[keyof typeof LowestPricedOffersInputOfferTypeEnum];
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
* Selling Partner API for Pricing
|
|
308
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
309
|
-
*
|
|
310
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
314
|
-
* https://openapi-generator.tech
|
|
315
|
-
* Do not edit the class manually.
|
|
316
|
-
*/
|
|
317
|
-
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region src/api-model/models/competitive-summary-request.d.ts
|
|
318
266
|
/**
|
|
319
267
|
* An individual `competitiveSummary` request for an ASIN and `marketplaceId`.
|
|
320
268
|
*/
|
|
321
269
|
interface CompetitiveSummaryRequest {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
* Selling Partner API for Pricing
|
|
347
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
348
|
-
*
|
|
349
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
353
|
-
* https://openapi-generator.tech
|
|
354
|
-
* Do not edit the class manually.
|
|
355
|
-
*/
|
|
356
|
-
|
|
270
|
+
/**
|
|
271
|
+
* The ASIN of the item.
|
|
272
|
+
*/
|
|
273
|
+
'asin': string;
|
|
274
|
+
/**
|
|
275
|
+
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
276
|
+
*/
|
|
277
|
+
'marketplaceId': string;
|
|
278
|
+
/**
|
|
279
|
+
* The list of requested competitive pricing data for the product.
|
|
280
|
+
*/
|
|
281
|
+
'includedData': Array<CompetitiveSummaryIncludedData>;
|
|
282
|
+
/**
|
|
283
|
+
* The list of `lowestPricedOffersInput` parameters that are used to build `lowestPricedOffers` in the response. This attribute is only valid if `lowestPricedOffers` is requested in `includedData`
|
|
284
|
+
*/
|
|
285
|
+
'lowestPricedOffersInputs'?: Array<LowestPricedOffersInput>;
|
|
286
|
+
'method': HttpMethod;
|
|
287
|
+
/**
|
|
288
|
+
* The URI associated with the individual APIs that are called as part of the batch request.
|
|
289
|
+
*/
|
|
290
|
+
'uri': string;
|
|
291
|
+
}
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region src/api-model/models/competitive-summary-batch-request.d.ts
|
|
357
294
|
/**
|
|
358
295
|
* The `competitiveSummary` batch request data.
|
|
359
296
|
*/
|
|
360
297
|
interface CompetitiveSummaryBatchRequest {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
298
|
+
/**
|
|
299
|
+
* A batched list of `competitiveSummary` requests.
|
|
300
|
+
*/
|
|
301
|
+
'requests': Array<CompetitiveSummaryRequest>;
|
|
365
302
|
}
|
|
366
|
-
|
|
303
|
+
//#endregion
|
|
304
|
+
//#region src/api-model/models/fulfillment-type.d.ts
|
|
367
305
|
/**
|
|
368
306
|
* Selling Partner API for Pricing
|
|
369
307
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -379,11 +317,12 @@ interface CompetitiveSummaryBatchRequest {
|
|
|
379
317
|
* Indicates whether the item is fulfilled by Amazon or by the seller (merchant).
|
|
380
318
|
*/
|
|
381
319
|
declare const FulfillmentType: {
|
|
382
|
-
|
|
383
|
-
|
|
320
|
+
readonly Afn: "AFN";
|
|
321
|
+
readonly Mfn: "MFN";
|
|
384
322
|
};
|
|
385
323
|
type FulfillmentType = typeof FulfillmentType[keyof typeof FulfillmentType];
|
|
386
|
-
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region src/api-model/models/money-type.d.ts
|
|
387
326
|
/**
|
|
388
327
|
* Selling Partner API for Pricing
|
|
389
328
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -399,39 +338,29 @@ type FulfillmentType = typeof FulfillmentType[keyof typeof FulfillmentType];
|
|
|
399
338
|
* Currency type and monetary value schema to demonstrate pricing information.
|
|
400
339
|
*/
|
|
401
340
|
interface MoneyType {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
* Selling Partner API for Pricing
|
|
414
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
415
|
-
*
|
|
416
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
417
|
-
*
|
|
418
|
-
*
|
|
419
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
420
|
-
* https://openapi-generator.tech
|
|
421
|
-
* Do not edit the class manually.
|
|
422
|
-
*/
|
|
423
|
-
|
|
341
|
+
/**
|
|
342
|
+
* The currency code in ISO 4217 format.
|
|
343
|
+
*/
|
|
344
|
+
'currencyCode'?: string;
|
|
345
|
+
/**
|
|
346
|
+
* The monetary value.
|
|
347
|
+
*/
|
|
348
|
+
'amount'?: number;
|
|
349
|
+
}
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region src/api-model/models/points.d.ts
|
|
424
352
|
/**
|
|
425
353
|
* The number of Amazon Points that are offered with the purchase of an item and the monetary value of these points.
|
|
426
354
|
*/
|
|
427
355
|
interface Points {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
356
|
+
/**
|
|
357
|
+
* The number of Amazon Points.
|
|
358
|
+
*/
|
|
359
|
+
'pointsNumber'?: number;
|
|
360
|
+
'pointsMonetaryValue'?: MoneyType;
|
|
433
361
|
}
|
|
434
|
-
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/api-model/models/prime-details.d.ts
|
|
435
364
|
/**
|
|
436
365
|
* Selling Partner API for Pricing
|
|
437
366
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -447,96 +376,75 @@ interface Points {
|
|
|
447
376
|
* Amazon Prime details.
|
|
448
377
|
*/
|
|
449
378
|
interface PrimeDetails {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
379
|
+
/**
|
|
380
|
+
* Indicates whether the offer is an Amazon Prime offer.
|
|
381
|
+
*/
|
|
382
|
+
'eligibility': PrimeDetailsEligibilityEnum;
|
|
454
383
|
}
|
|
455
384
|
declare const PrimeDetailsEligibilityEnum: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
385
|
+
readonly National: "NATIONAL";
|
|
386
|
+
readonly Regional: "REGIONAL";
|
|
387
|
+
readonly None: "NONE";
|
|
459
388
|
};
|
|
460
389
|
type PrimeDetailsEligibilityEnum = typeof PrimeDetailsEligibilityEnum[keyof typeof PrimeDetailsEligibilityEnum];
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
* Selling Partner API for Pricing
|
|
464
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
465
|
-
*
|
|
466
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
470
|
-
* https://openapi-generator.tech
|
|
471
|
-
* Do not edit the class manually.
|
|
472
|
-
*/
|
|
473
|
-
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region src/api-model/models/shipping-option.d.ts
|
|
474
392
|
/**
|
|
475
393
|
* The shipping option available for the offer.
|
|
476
394
|
*/
|
|
477
395
|
interface ShippingOption {
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
396
|
+
/**
|
|
397
|
+
* The type of shipping option.
|
|
398
|
+
*/
|
|
399
|
+
'shippingOptionType': ShippingOptionShippingOptionTypeEnum;
|
|
400
|
+
'price': MoneyType;
|
|
483
401
|
}
|
|
484
402
|
declare const ShippingOptionShippingOptionTypeEnum: {
|
|
485
|
-
|
|
403
|
+
readonly Default: "DEFAULT";
|
|
486
404
|
};
|
|
487
405
|
type ShippingOptionShippingOptionTypeEnum = typeof ShippingOptionShippingOptionTypeEnum[keyof typeof ShippingOptionShippingOptionTypeEnum];
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
* Selling Partner API for Pricing
|
|
491
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
492
|
-
*
|
|
493
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
497
|
-
* https://openapi-generator.tech
|
|
498
|
-
* Do not edit the class manually.
|
|
499
|
-
*/
|
|
500
|
-
|
|
406
|
+
//#endregion
|
|
407
|
+
//#region src/api-model/models/offer.d.ts
|
|
501
408
|
/**
|
|
502
409
|
* The offer data of a product.
|
|
503
410
|
*/
|
|
504
411
|
interface Offer {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
412
|
+
/**
|
|
413
|
+
* The seller identifier for the offer.
|
|
414
|
+
*/
|
|
415
|
+
'sellerId': string;
|
|
416
|
+
'condition': Condition;
|
|
417
|
+
/**
|
|
418
|
+
* The item subcondition of the offer.
|
|
419
|
+
*/
|
|
420
|
+
'subCondition'?: OfferSubConditionEnum;
|
|
421
|
+
'fulfillmentType': FulfillmentType;
|
|
422
|
+
'listingPrice': MoneyType;
|
|
423
|
+
/**
|
|
424
|
+
* A list of shipping options associated with this offer
|
|
425
|
+
*/
|
|
426
|
+
'shippingOptions'?: Array<ShippingOption>;
|
|
427
|
+
'points'?: Points;
|
|
428
|
+
'primeDetails'?: PrimeDetails;
|
|
522
429
|
}
|
|
523
430
|
declare const OfferSubConditionEnum: {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
431
|
+
readonly New: "New";
|
|
432
|
+
readonly Mint: "Mint";
|
|
433
|
+
readonly VeryGood: "VeryGood";
|
|
434
|
+
readonly Good: "Good";
|
|
435
|
+
readonly Acceptable: "Acceptable";
|
|
436
|
+
readonly Poor: "Poor";
|
|
437
|
+
readonly Club: "Club";
|
|
438
|
+
readonly Oem: "OEM";
|
|
439
|
+
readonly Warranty: "Warranty";
|
|
440
|
+
readonly RefurbishedWarranty: "RefurbishedWarranty";
|
|
441
|
+
readonly Refurbished: "Refurbished";
|
|
442
|
+
readonly OpenBox: "OpenBox";
|
|
443
|
+
readonly Other: "Other";
|
|
537
444
|
};
|
|
538
445
|
type OfferSubConditionEnum = typeof OfferSubConditionEnum[keyof typeof OfferSubConditionEnum];
|
|
539
|
-
|
|
446
|
+
//#endregion
|
|
447
|
+
//#region src/api-model/models/postal-code.d.ts
|
|
540
448
|
/**
|
|
541
449
|
* Selling Partner API for Pricing
|
|
542
450
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -552,203 +460,116 @@ type OfferSubConditionEnum = typeof OfferSubConditionEnum[keyof typeof OfferSubC
|
|
|
552
460
|
* Postal code value with country code
|
|
553
461
|
*/
|
|
554
462
|
interface PostalCode {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
* Selling Partner API for Pricing
|
|
567
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
568
|
-
*
|
|
569
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
573
|
-
* https://openapi-generator.tech
|
|
574
|
-
* Do not edit the class manually.
|
|
575
|
-
*/
|
|
576
|
-
|
|
463
|
+
/**
|
|
464
|
+
* Country code value
|
|
465
|
+
*/
|
|
466
|
+
'countryCode'?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Postal code value
|
|
469
|
+
*/
|
|
470
|
+
'value'?: string;
|
|
471
|
+
}
|
|
472
|
+
//#endregion
|
|
473
|
+
//#region src/api-model/models/sample-location.d.ts
|
|
577
474
|
/**
|
|
578
475
|
* Information about a location. It uses a postal code to identify the location.
|
|
579
476
|
*/
|
|
580
477
|
interface SampleLocation {
|
|
581
|
-
|
|
478
|
+
'postalCode'?: PostalCode;
|
|
582
479
|
}
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
* Selling Partner API for Pricing
|
|
586
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
587
|
-
*
|
|
588
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
592
|
-
* https://openapi-generator.tech
|
|
593
|
-
* Do not edit the class manually.
|
|
594
|
-
*/
|
|
595
|
-
|
|
480
|
+
//#endregion
|
|
481
|
+
//#region src/api-model/models/segment-details.d.ts
|
|
596
482
|
/**
|
|
597
483
|
* The details about the segment. The FeaturedOfferExpectedPrice API uses only the sampleLocation portion as input.
|
|
598
484
|
*/
|
|
599
485
|
interface SegmentDetails {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
486
|
+
/**
|
|
487
|
+
* The glance view weighted percentage for this segment, which is the glance views for this segment as a percentage of total glance views across all segments for the ASIN. A higher percentage indicates that more Amazon customers receive this offer as the Featured Offer.
|
|
488
|
+
*/
|
|
489
|
+
'glanceViewWeightPercentage'?: number;
|
|
490
|
+
'sampleLocation'?: SampleLocation;
|
|
605
491
|
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
* Selling Partner API for Pricing
|
|
609
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
610
|
-
*
|
|
611
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
615
|
-
* https://openapi-generator.tech
|
|
616
|
-
* Do not edit the class manually.
|
|
617
|
-
*/
|
|
618
|
-
|
|
492
|
+
//#endregion
|
|
493
|
+
//#region src/api-model/models/featured-offer-segment.d.ts
|
|
619
494
|
/**
|
|
620
495
|
* Describes the segment in which the offer is featured.
|
|
621
496
|
*/
|
|
622
497
|
interface FeaturedOfferSegment {
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
498
|
+
/**
|
|
499
|
+
* The customer membership type that makes up this segment
|
|
500
|
+
*/
|
|
501
|
+
'customerMembership': FeaturedOfferSegmentCustomerMembershipEnum;
|
|
502
|
+
'segmentDetails': SegmentDetails;
|
|
628
503
|
}
|
|
629
504
|
declare const FeaturedOfferSegmentCustomerMembershipEnum: {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
505
|
+
readonly Prime: "PRIME";
|
|
506
|
+
readonly NonPrime: "NON_PRIME";
|
|
507
|
+
readonly Default: "DEFAULT";
|
|
633
508
|
};
|
|
634
509
|
type FeaturedOfferSegmentCustomerMembershipEnum = typeof FeaturedOfferSegmentCustomerMembershipEnum[keyof typeof FeaturedOfferSegmentCustomerMembershipEnum];
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
* Selling Partner API for Pricing
|
|
638
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
639
|
-
*
|
|
640
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
641
|
-
*
|
|
642
|
-
*
|
|
643
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
644
|
-
* https://openapi-generator.tech
|
|
645
|
-
* Do not edit the class manually.
|
|
646
|
-
*/
|
|
647
|
-
|
|
510
|
+
//#endregion
|
|
511
|
+
//#region src/api-model/models/segmented-featured-offer-all-of.d.ts
|
|
648
512
|
/**
|
|
649
513
|
* The list of segment information in which the offer is featured.
|
|
650
514
|
*/
|
|
651
515
|
interface SegmentedFeaturedOfferAllOf {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
516
|
+
/**
|
|
517
|
+
* The list of segment information in which the offer is featured.
|
|
518
|
+
*/
|
|
519
|
+
'featuredOfferSegments': Array<FeaturedOfferSegment>;
|
|
656
520
|
}
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
* Selling Partner API for Pricing
|
|
660
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
661
|
-
*
|
|
662
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
666
|
-
* https://openapi-generator.tech
|
|
667
|
-
* Do not edit the class manually.
|
|
668
|
-
*/
|
|
669
|
-
|
|
521
|
+
//#endregion
|
|
522
|
+
//#region src/api-model/models/segmented-featured-offer.d.ts
|
|
670
523
|
/**
|
|
671
524
|
* @type SegmentedFeaturedOffer
|
|
672
525
|
* A product offer with segment information indicating where it\'s featured.
|
|
673
526
|
*/
|
|
674
527
|
type SegmentedFeaturedOffer = Offer & SegmentedFeaturedOfferAllOf;
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
* Selling Partner API for Pricing
|
|
678
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
679
|
-
*
|
|
680
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
681
|
-
*
|
|
682
|
-
*
|
|
683
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
684
|
-
* https://openapi-generator.tech
|
|
685
|
-
* Do not edit the class manually.
|
|
686
|
-
*/
|
|
687
|
-
|
|
528
|
+
//#endregion
|
|
529
|
+
//#region src/api-model/models/featured-buying-option.d.ts
|
|
688
530
|
/**
|
|
689
531
|
* Describes a featured buying option, which includes a list of segmented featured offers for a particular item condition.
|
|
690
532
|
*/
|
|
691
533
|
interface FeaturedBuyingOption {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
534
|
+
/**
|
|
535
|
+
* The buying option type for the featured offer. `buyingOptionType` represents the buying options that a customer receives on the detail page, such as `B2B`, `Fresh`, and `Subscribe n Save`. `buyingOptionType` currently supports `NEW` as a value.
|
|
536
|
+
*/
|
|
537
|
+
'buyingOptionType': FeaturedBuyingOptionBuyingOptionTypeEnum;
|
|
538
|
+
/**
|
|
539
|
+
* A list of segmented featured offers for the current buying option type. A segment can be considered as a group of regional contexts that all have the same featured offer. A regional context is a combination of factors such as customer type, region, or postal code and buying option.
|
|
540
|
+
*/
|
|
541
|
+
'segmentedFeaturedOffers': Array<SegmentedFeaturedOffer>;
|
|
700
542
|
}
|
|
701
543
|
declare const FeaturedBuyingOptionBuyingOptionTypeEnum: {
|
|
702
|
-
|
|
544
|
+
readonly New: "New";
|
|
703
545
|
};
|
|
704
546
|
type FeaturedBuyingOptionBuyingOptionTypeEnum = typeof FeaturedBuyingOptionBuyingOptionTypeEnum[keyof typeof FeaturedBuyingOptionBuyingOptionTypeEnum];
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
* Selling Partner API for Pricing
|
|
708
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
709
|
-
*
|
|
710
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
711
|
-
*
|
|
712
|
-
*
|
|
713
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
714
|
-
* https://openapi-generator.tech
|
|
715
|
-
* Do not edit the class manually.
|
|
716
|
-
*/
|
|
717
|
-
|
|
547
|
+
//#endregion
|
|
548
|
+
//#region src/api-model/models/lowest-priced-offer.d.ts
|
|
718
549
|
/**
|
|
719
550
|
* Describes the lowest priced offers for the specified item condition and offer type.
|
|
720
551
|
*/
|
|
721
552
|
interface LowestPricedOffer {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
553
|
+
'lowestPricedOffersInput': LowestPricedOffersInput;
|
|
554
|
+
/**
|
|
555
|
+
* A list of up to 20 lowest priced offers that match the criteria specified in `lowestPricedOffersInput`.
|
|
556
|
+
*/
|
|
557
|
+
'offers': Array<Offer>;
|
|
727
558
|
}
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
* Selling Partner API for Pricing
|
|
731
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
732
|
-
*
|
|
733
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
734
|
-
*
|
|
735
|
-
*
|
|
736
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
737
|
-
* https://openapi-generator.tech
|
|
738
|
-
* Do not edit the class manually.
|
|
739
|
-
*/
|
|
740
|
-
|
|
559
|
+
//#endregion
|
|
560
|
+
//#region src/api-model/models/reference-price.d.ts
|
|
741
561
|
/**
|
|
742
562
|
* The reference price for the specified ASIN `marketplaceId` combination.
|
|
743
563
|
*/
|
|
744
564
|
interface ReferencePrice {
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
565
|
+
/**
|
|
566
|
+
* Reference price type (e.g., `CompetitivePriceThreshold`, `WasPrice`, `CompetitivePrice`). For definitions, see the [Product Pricing API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
567
|
+
*/
|
|
568
|
+
'name': string;
|
|
569
|
+
'price': MoneyType;
|
|
750
570
|
}
|
|
751
|
-
|
|
571
|
+
//#endregion
|
|
572
|
+
//#region src/api-model/models/item.d.ts
|
|
752
573
|
/**
|
|
753
574
|
* Selling Partner API for Pricing
|
|
754
575
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -764,122 +585,79 @@ interface ReferencePrice {
|
|
|
764
585
|
* A similar item for the specified ASIN `marketplaceId` combination.
|
|
765
586
|
*/
|
|
766
587
|
interface Item {
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
588
|
+
/**
|
|
589
|
+
* The ASIN of the item.
|
|
590
|
+
*/
|
|
591
|
+
'asin': string;
|
|
771
592
|
}
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
* Selling Partner API for Pricing
|
|
775
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
776
|
-
*
|
|
777
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
778
|
-
*
|
|
779
|
-
*
|
|
780
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
781
|
-
* https://openapi-generator.tech
|
|
782
|
-
* Do not edit the class manually.
|
|
783
|
-
*/
|
|
784
|
-
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region src/api-model/models/similar-items.d.ts
|
|
785
595
|
/**
|
|
786
596
|
* The summary of similar items for the specified ASIN `marketplaceId` combination.
|
|
787
597
|
*/
|
|
788
598
|
interface SimilarItems {
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
599
|
+
/**
|
|
600
|
+
* A list of similar items for the specified ASIN `marketplaceId` combination.
|
|
601
|
+
*/
|
|
602
|
+
'items'?: Array<Item>;
|
|
793
603
|
}
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
* Selling Partner API for Pricing
|
|
797
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
798
|
-
*
|
|
799
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
803
|
-
* https://openapi-generator.tech
|
|
804
|
-
* Do not edit the class manually.
|
|
805
|
-
*/
|
|
806
|
-
|
|
604
|
+
//#endregion
|
|
605
|
+
//#region src/api-model/models/competitive-summary-response-body.d.ts
|
|
807
606
|
/**
|
|
808
607
|
* The `competitiveSummaryResponse` body for a requested ASIN and `marketplaceId`.
|
|
809
608
|
*/
|
|
810
609
|
interface CompetitiveSummaryResponseBody {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
* Selling Partner API for Pricing
|
|
843
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
844
|
-
*
|
|
845
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
846
|
-
*
|
|
847
|
-
*
|
|
848
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
849
|
-
* https://openapi-generator.tech
|
|
850
|
-
* Do not edit the class manually.
|
|
851
|
-
*/
|
|
852
|
-
|
|
610
|
+
/**
|
|
611
|
+
* The ASIN of the item.
|
|
612
|
+
*/
|
|
613
|
+
'asin': string;
|
|
614
|
+
/**
|
|
615
|
+
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
616
|
+
*/
|
|
617
|
+
'marketplaceId': string;
|
|
618
|
+
/**
|
|
619
|
+
* A list of featured buying options for the specified ASIN `marketplaceId` combination.
|
|
620
|
+
*/
|
|
621
|
+
'featuredBuyingOptions'?: Array<FeaturedBuyingOption>;
|
|
622
|
+
/**
|
|
623
|
+
* A list of lowest priced offers for the specified ASIN `marketplaceId` combination.
|
|
624
|
+
*/
|
|
625
|
+
'lowestPricedOffers'?: Array<LowestPricedOffer>;
|
|
626
|
+
/**
|
|
627
|
+
* A list of reference prices for the specified ASIN `marketplaceId` combination.
|
|
628
|
+
*/
|
|
629
|
+
'referencePrices'?: Array<ReferencePrice>;
|
|
630
|
+
/**
|
|
631
|
+
* A list of similar items for the specified ASIN `marketplaceId` combination.
|
|
632
|
+
*/
|
|
633
|
+
'similarItems'?: Array<SimilarItems>;
|
|
634
|
+
/**
|
|
635
|
+
* A list of error responses that are returned when a request is unsuccessful.
|
|
636
|
+
*/
|
|
637
|
+
'errors'?: Array<Error>;
|
|
638
|
+
}
|
|
639
|
+
//#endregion
|
|
640
|
+
//#region src/api-model/models/competitive-summary-response.d.ts
|
|
853
641
|
/**
|
|
854
642
|
* The response for the individual `competitiveSummary` request in the batch operation.
|
|
855
643
|
*/
|
|
856
644
|
interface CompetitiveSummaryResponse {
|
|
857
|
-
|
|
858
|
-
|
|
645
|
+
'status': HttpStatusLine;
|
|
646
|
+
'body': CompetitiveSummaryResponseBody;
|
|
859
647
|
}
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
* Selling Partner API for Pricing
|
|
863
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
864
|
-
*
|
|
865
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
869
|
-
* https://openapi-generator.tech
|
|
870
|
-
* Do not edit the class manually.
|
|
871
|
-
*/
|
|
872
|
-
|
|
648
|
+
//#endregion
|
|
649
|
+
//#region src/api-model/models/competitive-summary-batch-response.d.ts
|
|
873
650
|
/**
|
|
874
651
|
* The response schema for the `competitiveSummaryBatch` operation.
|
|
875
652
|
*/
|
|
876
653
|
interface CompetitiveSummaryBatchResponse {
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
654
|
+
/**
|
|
655
|
+
* The response list for the `competitiveSummaryBatch` operation.
|
|
656
|
+
*/
|
|
657
|
+
'responses': Array<CompetitiveSummaryResponse>;
|
|
881
658
|
}
|
|
882
|
-
|
|
659
|
+
//#endregion
|
|
660
|
+
//#region src/api-model/models/errors.d.ts
|
|
883
661
|
/**
|
|
884
662
|
* Selling Partner API for Pricing
|
|
885
663
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -895,304 +673,162 @@ interface CompetitiveSummaryBatchResponse {
|
|
|
895
673
|
* A list of error responses returned when a request is unsuccessful.
|
|
896
674
|
*/
|
|
897
675
|
interface Errors {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
676
|
+
/**
|
|
677
|
+
* A list of error responses that are returned when a request is unsuccessful.
|
|
678
|
+
*/
|
|
679
|
+
'errors': Array<Error>;
|
|
902
680
|
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
* Selling Partner API for Pricing
|
|
906
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
907
|
-
*
|
|
908
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
909
|
-
*
|
|
910
|
-
*
|
|
911
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
912
|
-
* https://openapi-generator.tech
|
|
913
|
-
* Do not edit the class manually.
|
|
914
|
-
*/
|
|
915
|
-
|
|
681
|
+
//#endregion
|
|
682
|
+
//#region src/api-model/models/offer-identifier.d.ts
|
|
916
683
|
/**
|
|
917
684
|
* Identifies an offer from a particular seller for a specified ASIN.
|
|
918
685
|
*/
|
|
919
686
|
interface OfferIdentifier {
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
* Selling Partner API for Pricing
|
|
941
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
942
|
-
*
|
|
943
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
947
|
-
* https://openapi-generator.tech
|
|
948
|
-
* Do not edit the class manually.
|
|
949
|
-
*/
|
|
950
|
-
|
|
687
|
+
/**
|
|
688
|
+
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
689
|
+
*/
|
|
690
|
+
'marketplaceId': string;
|
|
691
|
+
/**
|
|
692
|
+
* The seller identifier for the offer.
|
|
693
|
+
*/
|
|
694
|
+
'sellerId'?: string;
|
|
695
|
+
/**
|
|
696
|
+
* The seller SKU of the item. This will only be present for the target offer, which belongs to the requesting seller.
|
|
697
|
+
*/
|
|
698
|
+
'sku'?: string;
|
|
699
|
+
/**
|
|
700
|
+
* The ASIN of the item.
|
|
701
|
+
*/
|
|
702
|
+
'asin': string;
|
|
703
|
+
'fulfillmentType'?: FulfillmentType;
|
|
704
|
+
}
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region src/api-model/models/price.d.ts
|
|
951
707
|
/**
|
|
952
708
|
* The schema for item\'s price information, including listing price, shipping price, and Amazon Points.
|
|
953
709
|
*/
|
|
954
710
|
interface Price {
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
711
|
+
'listingPrice': MoneyType;
|
|
712
|
+
'shippingPrice'?: MoneyType;
|
|
713
|
+
'points'?: Points;
|
|
958
714
|
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
* Selling Partner API for Pricing
|
|
962
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
963
|
-
*
|
|
964
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
968
|
-
* https://openapi-generator.tech
|
|
969
|
-
* Do not edit the class manually.
|
|
970
|
-
*/
|
|
971
|
-
|
|
715
|
+
//#endregion
|
|
716
|
+
//#region src/api-model/models/featured-offer.d.ts
|
|
972
717
|
/**
|
|
973
718
|
* Schema for `currentFeaturedOffer` or `competingFeaturedOffer`.
|
|
974
719
|
*/
|
|
975
720
|
interface FeaturedOffer {
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
721
|
+
'offerIdentifier': OfferIdentifier;
|
|
722
|
+
'condition'?: Condition;
|
|
723
|
+
'price'?: Price;
|
|
979
724
|
}
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
* Selling Partner API for Pricing
|
|
983
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
984
|
-
*
|
|
985
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
989
|
-
* https://openapi-generator.tech
|
|
990
|
-
* Do not edit the class manually.
|
|
991
|
-
*/
|
|
992
|
-
|
|
725
|
+
//#endregion
|
|
726
|
+
//#region src/api-model/models/featured-offer-expected-price.d.ts
|
|
993
727
|
/**
|
|
994
728
|
* The item price at or below which the target offer may be featured.
|
|
995
729
|
*/
|
|
996
730
|
interface FeaturedOfferExpectedPrice {
|
|
997
|
-
|
|
998
|
-
|
|
731
|
+
'listingPrice': MoneyType;
|
|
732
|
+
'points'?: Points;
|
|
999
733
|
}
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
* Selling Partner API for Pricing
|
|
1003
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1004
|
-
*
|
|
1005
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1006
|
-
*
|
|
1007
|
-
*
|
|
1008
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1009
|
-
* https://openapi-generator.tech
|
|
1010
|
-
* Do not edit the class manually.
|
|
1011
|
-
*/
|
|
1012
|
-
|
|
734
|
+
//#endregion
|
|
735
|
+
//#region src/api-model/models/segment.d.ts
|
|
1013
736
|
/**
|
|
1014
737
|
* Input segment for featured offer expected price. The segment contains the location information for which featured offer expected price is requested.
|
|
1015
738
|
*/
|
|
1016
739
|
interface Segment {
|
|
1017
|
-
|
|
740
|
+
'segmentDetails'?: SegmentDetails;
|
|
1018
741
|
}
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
* Selling Partner API for Pricing
|
|
1022
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1023
|
-
*
|
|
1024
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1027
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1028
|
-
* https://openapi-generator.tech
|
|
1029
|
-
* Do not edit the class manually.
|
|
1030
|
-
*/
|
|
1031
|
-
|
|
742
|
+
//#endregion
|
|
743
|
+
//#region src/api-model/models/featured-offer-expected-price-request-params.d.ts
|
|
1032
744
|
/**
|
|
1033
745
|
* The parameters for an individual request.
|
|
1034
746
|
*/
|
|
1035
747
|
interface FeaturedOfferExpectedPriceRequestParams {
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
* Selling Partner API for Pricing
|
|
1049
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1050
|
-
*
|
|
1051
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1055
|
-
* https://openapi-generator.tech
|
|
1056
|
-
* Do not edit the class manually.
|
|
1057
|
-
*/
|
|
1058
|
-
|
|
748
|
+
/**
|
|
749
|
+
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
750
|
+
*/
|
|
751
|
+
'marketplaceId': string;
|
|
752
|
+
/**
|
|
753
|
+
* The seller SKU of the item.
|
|
754
|
+
*/
|
|
755
|
+
'sku': string;
|
|
756
|
+
'segment'?: Segment;
|
|
757
|
+
}
|
|
758
|
+
//#endregion
|
|
759
|
+
//#region src/api-model/models/featured-offer-expected-price-request.d.ts
|
|
1059
760
|
/**
|
|
1060
761
|
* @type FeaturedOfferExpectedPriceRequest
|
|
1061
762
|
* An individual FOEP request for a particular SKU.
|
|
1062
763
|
*/
|
|
1063
764
|
type FeaturedOfferExpectedPriceRequest = BatchRequest & FeaturedOfferExpectedPriceRequestParams;
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
* Selling Partner API for Pricing
|
|
1067
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1068
|
-
*
|
|
1069
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1073
|
-
* https://openapi-generator.tech
|
|
1074
|
-
* Do not edit the class manually.
|
|
1075
|
-
*/
|
|
1076
|
-
|
|
765
|
+
//#endregion
|
|
766
|
+
//#region src/api-model/models/featured-offer-expected-price-result.d.ts
|
|
1077
767
|
/**
|
|
1078
768
|
* The FOEP result data for the requested offer.
|
|
1079
769
|
*/
|
|
1080
770
|
interface FeaturedOfferExpectedPriceResult {
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
771
|
+
'featuredOfferExpectedPrice'?: FeaturedOfferExpectedPrice;
|
|
772
|
+
/**
|
|
773
|
+
* The status of the FOEP computation. Possible values include `VALID_FOEP`, `NO_COMPETING_OFFER`, `OFFER_NOT_ELIGIBLE`, `OFFER_NOT_FOUND`, and `ASIN_NOT_ELIGIBLE`. Additional values might be added in the future.
|
|
774
|
+
*/
|
|
775
|
+
'resultStatus': string;
|
|
776
|
+
'competingFeaturedOffer'?: FeaturedOffer;
|
|
777
|
+
'currentFeaturedOffer'?: FeaturedOffer;
|
|
1088
778
|
}
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
* Selling Partner API for Pricing
|
|
1092
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1093
|
-
*
|
|
1094
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1095
|
-
*
|
|
1096
|
-
*
|
|
1097
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1098
|
-
* https://openapi-generator.tech
|
|
1099
|
-
* Do not edit the class manually.
|
|
1100
|
-
*/
|
|
1101
|
-
|
|
779
|
+
//#endregion
|
|
780
|
+
//#region src/api-model/models/featured-offer-expected-price-response-body.d.ts
|
|
1102
781
|
/**
|
|
1103
782
|
* The FOEP response data for a requested SKU.
|
|
1104
783
|
*/
|
|
1105
784
|
interface FeaturedOfferExpectedPriceResponseBody {
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
* Selling Partner API for Pricing
|
|
1119
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1120
|
-
*
|
|
1121
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1124
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1125
|
-
* https://openapi-generator.tech
|
|
1126
|
-
* Do not edit the class manually.
|
|
1127
|
-
*/
|
|
1128
|
-
|
|
785
|
+
'offerIdentifier'?: OfferIdentifier;
|
|
786
|
+
/**
|
|
787
|
+
* A list of FOEP results for the requested offer.
|
|
788
|
+
*/
|
|
789
|
+
'featuredOfferExpectedPriceResults'?: Array<FeaturedOfferExpectedPriceResult>;
|
|
790
|
+
/**
|
|
791
|
+
* A list of error responses that are returned when a request is unsuccessful.
|
|
792
|
+
*/
|
|
793
|
+
'errors'?: Array<Error>;
|
|
794
|
+
}
|
|
795
|
+
//#endregion
|
|
796
|
+
//#region src/api-model/models/featured-offer-expected-price-response-all-of.d.ts
|
|
1129
797
|
interface FeaturedOfferExpectedPriceResponseAllOf {
|
|
1130
|
-
|
|
1131
|
-
|
|
798
|
+
'request': FeaturedOfferExpectedPriceRequestParams;
|
|
799
|
+
'body'?: FeaturedOfferExpectedPriceResponseBody;
|
|
1132
800
|
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
* Selling Partner API for Pricing
|
|
1136
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1137
|
-
*
|
|
1138
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1141
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1142
|
-
* https://openapi-generator.tech
|
|
1143
|
-
* Do not edit the class manually.
|
|
1144
|
-
*/
|
|
1145
|
-
|
|
801
|
+
//#endregion
|
|
802
|
+
//#region src/api-model/models/featured-offer-expected-price-response.d.ts
|
|
1146
803
|
/**
|
|
1147
804
|
* @type FeaturedOfferExpectedPriceResponse
|
|
1148
805
|
* Schema for an individual FOEP response.
|
|
1149
806
|
*/
|
|
1150
807
|
type FeaturedOfferExpectedPriceResponse = BatchResponse & FeaturedOfferExpectedPriceResponseAllOf;
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
* Selling Partner API for Pricing
|
|
1154
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1155
|
-
*
|
|
1156
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1157
|
-
*
|
|
1158
|
-
*
|
|
1159
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1160
|
-
* https://openapi-generator.tech
|
|
1161
|
-
* Do not edit the class manually.
|
|
1162
|
-
*/
|
|
1163
|
-
|
|
808
|
+
//#endregion
|
|
809
|
+
//#region src/api-model/models/get-featured-offer-expected-price-batch-request.d.ts
|
|
1164
810
|
/**
|
|
1165
811
|
* The request body for the `getFeaturedOfferExpectedPriceBatch` operation.
|
|
1166
812
|
*/
|
|
1167
813
|
interface GetFeaturedOfferExpectedPriceBatchRequest {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
814
|
+
/**
|
|
815
|
+
* A batched list of FOEP requests.
|
|
816
|
+
*/
|
|
817
|
+
'requests'?: Array<FeaturedOfferExpectedPriceRequest>;
|
|
1172
818
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
* Selling Partner API for Pricing
|
|
1176
|
-
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
1177
|
-
*
|
|
1178
|
-
* The version of the OpenAPI document: 2022-05-01
|
|
1179
|
-
*
|
|
1180
|
-
*
|
|
1181
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1182
|
-
* https://openapi-generator.tech
|
|
1183
|
-
* Do not edit the class manually.
|
|
1184
|
-
*/
|
|
1185
|
-
|
|
819
|
+
//#endregion
|
|
820
|
+
//#region src/api-model/models/get-featured-offer-expected-price-batch-response.d.ts
|
|
1186
821
|
/**
|
|
1187
822
|
* The response schema for the `getFeaturedOfferExpectedPriceBatch` operation.
|
|
1188
823
|
*/
|
|
1189
824
|
interface GetFeaturedOfferExpectedPriceBatchResponse {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
825
|
+
/**
|
|
826
|
+
* A batched list of FOEP responses.
|
|
827
|
+
*/
|
|
828
|
+
'responses'?: Array<FeaturedOfferExpectedPriceResponse>;
|
|
1194
829
|
}
|
|
1195
|
-
|
|
830
|
+
//#endregion
|
|
831
|
+
//#region src/api-model/models/model-error.d.ts
|
|
1196
832
|
/**
|
|
1197
833
|
* Selling Partner API for Pricing
|
|
1198
834
|
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
|
|
@@ -1208,118 +844,121 @@ interface GetFeaturedOfferExpectedPriceBatchResponse {
|
|
|
1208
844
|
* Error response returned when the request is unsuccessful.
|
|
1209
845
|
*/
|
|
1210
846
|
interface ModelError {
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
}
|
|
1224
|
-
|
|
847
|
+
/**
|
|
848
|
+
* An error code that identifies the type of error that occurred.
|
|
849
|
+
*/
|
|
850
|
+
'code': string;
|
|
851
|
+
/**
|
|
852
|
+
* A message that describes the error condition.
|
|
853
|
+
*/
|
|
854
|
+
'message': string;
|
|
855
|
+
/**
|
|
856
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
857
|
+
*/
|
|
858
|
+
'details'?: string;
|
|
859
|
+
}
|
|
860
|
+
//#endregion
|
|
861
|
+
//#region src/api-model/api/product-pricing-api.d.ts
|
|
1225
862
|
/**
|
|
1226
863
|
* ProductPricingApi - axios parameter creator
|
|
1227
864
|
*/
|
|
1228
865
|
declare const ProductPricingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
866
|
+
/**
|
|
867
|
+
* Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
868
|
+
* @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
getCompetitiveSummary: (requests: CompetitiveSummaryBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
873
|
+
/**
|
|
874
|
+
* Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
875
|
+
* @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of `getFeaturedOfferExpectedPrice` requests.
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @throws {RequiredError}
|
|
878
|
+
*/
|
|
879
|
+
getFeaturedOfferExpectedPriceBatch: (getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1243
880
|
};
|
|
1244
881
|
/**
|
|
1245
882
|
* ProductPricingApi - functional programming interface
|
|
1246
883
|
*/
|
|
1247
884
|
declare const ProductPricingApiFp: (configuration?: Configuration) => {
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
885
|
+
/**
|
|
886
|
+
* Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
887
|
+
* @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
getCompetitiveSummary(requests: CompetitiveSummaryBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompetitiveSummaryBatchResponse>>;
|
|
892
|
+
/**
|
|
893
|
+
* Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
894
|
+
* @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of `getFeaturedOfferExpectedPrice` requests.
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
*/
|
|
898
|
+
getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse>>;
|
|
1262
899
|
};
|
|
1263
900
|
/**
|
|
1264
901
|
* ProductPricingApi - factory interface
|
|
1265
902
|
*/
|
|
1266
903
|
declare const ProductPricingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
904
|
+
/**
|
|
905
|
+
* Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
906
|
+
* @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<CompetitiveSummaryBatchResponse>;
|
|
911
|
+
/**
|
|
912
|
+
* Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
913
|
+
* @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse>;
|
|
1281
918
|
};
|
|
1282
919
|
/**
|
|
1283
920
|
* Request parameters for getCompetitiveSummary operation in ProductPricingApi.
|
|
1284
921
|
*/
|
|
1285
922
|
interface ProductPricingApiGetCompetitiveSummaryRequest {
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
923
|
+
/**
|
|
924
|
+
* The batch of `getCompetitiveSummary` requests.
|
|
925
|
+
*/
|
|
926
|
+
readonly requests: CompetitiveSummaryBatchRequest;
|
|
1290
927
|
}
|
|
1291
928
|
/**
|
|
1292
929
|
* Request parameters for getFeaturedOfferExpectedPriceBatch operation in ProductPricingApi.
|
|
1293
930
|
*/
|
|
1294
931
|
interface ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
932
|
+
/**
|
|
933
|
+
* The batch of `getFeaturedOfferExpectedPrice` requests.
|
|
934
|
+
*/
|
|
935
|
+
readonly getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest;
|
|
1299
936
|
}
|
|
1300
937
|
/**
|
|
1301
938
|
* ProductPricingApi - object-oriented interface
|
|
1302
939
|
*/
|
|
1303
940
|
declare class ProductPricingApi extends BaseAPI {
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
}
|
|
1319
|
-
|
|
941
|
+
/**
|
|
942
|
+
* Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
943
|
+
* @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompetitiveSummaryBatchResponse, any, {}>>;
|
|
948
|
+
/**
|
|
949
|
+
* Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
|
|
950
|
+
* @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
*/
|
|
954
|
+
getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeaturedOfferExpectedPriceBatchResponse, any, {}>>;
|
|
955
|
+
}
|
|
956
|
+
//#endregion
|
|
957
|
+
//#region src/client.d.ts
|
|
1320
958
|
declare const clientRateLimits: RateLimit[];
|
|
1321
959
|
declare class ProductPricingApiClient extends ProductPricingApi {
|
|
1322
|
-
|
|
960
|
+
constructor(configuration: ClientConfiguration);
|
|
1323
961
|
}
|
|
1324
|
-
|
|
1325
|
-
export {
|
|
962
|
+
//#endregion
|
|
963
|
+
export { BatchRequest, BatchResponse, CompetitiveSummaryBatchRequest, CompetitiveSummaryBatchResponse, CompetitiveSummaryIncludedData, CompetitiveSummaryRequest, CompetitiveSummaryResponse, CompetitiveSummaryResponseBody, Condition, Errors, FeaturedBuyingOption, FeaturedBuyingOptionBuyingOptionTypeEnum, FeaturedOffer, FeaturedOfferExpectedPrice, FeaturedOfferExpectedPriceRequest, FeaturedOfferExpectedPriceRequestParams, FeaturedOfferExpectedPriceResponse, FeaturedOfferExpectedPriceResponseAllOf, FeaturedOfferExpectedPriceResponseBody, FeaturedOfferExpectedPriceResult, FeaturedOfferSegment, FeaturedOfferSegmentCustomerMembershipEnum, FulfillmentType, GetFeaturedOfferExpectedPriceBatchRequest, GetFeaturedOfferExpectedPriceBatchResponse, HttpMethod, HttpStatusLine, Item, LowestPricedOffer, LowestPricedOffersInput, LowestPricedOffersInputOfferTypeEnum, ModelError, MoneyType, Offer, OfferIdentifier, OfferSubConditionEnum, Points, PostalCode, Price, PrimeDetails, PrimeDetailsEligibilityEnum, ProductPricingApi, ProductPricingApiAxiosParamCreator, ProductPricingApiClient, ProductPricingApiFactory, ProductPricingApiFp, ProductPricingApiGetCompetitiveSummaryRequest, ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, ReferencePrice, SampleLocation, Segment, SegmentDetails, SegmentedFeaturedOffer, SegmentedFeaturedOfferAllOf, ShippingOption, ShippingOptionShippingOptionTypeEnum, SimilarItems, clientRateLimits };
|
|
964
|
+
//# sourceMappingURL=index.d.ts.map
|