@sp-api-sdk/product-pricing-api-v0 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/product-pricing-api.js +4 -4
- package/dist/cjs/api-model/configuration.js +1 -2
- package/dist/cjs/api-model/models/offer-customer-type.js +1 -1
- package/dist/cjs/api-model/models/quantity-discount-type.js +1 -1
- package/dist/es/api-model/api/product-pricing-api.js +4 -4
- package/dist/es/api-model/configuration.js +1 -2
- package/dist/es/api-model/models/offer-customer-type.js +1 -1
- package/dist/es/api-model/models/quantity-discount-type.js +1 -1
- package/dist/types/api-model/api/product-pricing-api.d.ts +6 -6
- package/dist/types/api-model/common.d.ts +1 -1
- package/dist/types/api-model/models/asinidentifier.d.ts +1 -1
- package/dist/types/api-model/models/batch-offers-request-params.d.ts +1 -1
- package/dist/types/api-model/models/batch-offers-response.d.ts +1 -1
- package/dist/types/api-model/models/buy-box-price-type.d.ts +1 -1
- package/dist/types/api-model/models/competitive-price-type.d.ts +1 -1
- package/dist/types/api-model/models/get-offers-result.d.ts +2 -2
- package/dist/types/api-model/models/get-pricing-response.d.ts +1 -1
- package/dist/types/api-model/models/http-response-headers.d.ts +1 -1
- package/dist/types/api-model/models/item-offers-request-params.d.ts +1 -0
- package/dist/types/api-model/models/item-offers-request.d.ts +1 -0
- package/dist/types/api-model/models/item-offers-response.d.ts +1 -0
- package/dist/types/api-model/models/listing-offers-request-params.d.ts +1 -0
- package/dist/types/api-model/models/listing-offers-request.d.ts +1 -0
- package/dist/types/api-model/models/listing-offers-response.d.ts +1 -0
- package/dist/types/api-model/models/lowest-price-type.d.ts +1 -1
- package/dist/types/api-model/models/model-error.d.ts +2 -2
- package/dist/types/api-model/models/money-type.d.ts +1 -1
- package/dist/types/api-model/models/offer-customer-type.d.ts +1 -1
- package/dist/types/api-model/models/offer-detail.d.ts +2 -2
- package/dist/types/api-model/models/offer-type.d.ts +2 -2
- package/dist/types/api-model/models/points.d.ts +1 -1
- package/dist/types/api-model/models/price-type.d.ts +1 -1
- package/dist/types/api-model/models/price.d.ts +1 -1
- package/dist/types/api-model/models/quantity-discount-type.d.ts +1 -1
- package/dist/types/api-model/models/sales-rank-type.d.ts +1 -1
- package/dist/types/api-model/models/seller-skuidentifier.d.ts +1 -1
- package/dist/types/api-model/models/summary.d.ts +4 -4
- package/package.json +4 -4
|
@@ -123,7 +123,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
},
|
|
124
124
|
/**
|
|
125
125
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
126
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
126
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
@@ -196,7 +196,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
196
196
|
},
|
|
197
197
|
/**
|
|
198
198
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
199
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
199
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
@@ -318,7 +318,7 @@ const ProductPricingApiFp = function (configuration) {
|
|
|
318
318
|
},
|
|
319
319
|
/**
|
|
320
320
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
321
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
321
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
323
323
|
* @throws {RequiredError}
|
|
324
324
|
*/
|
|
@@ -345,7 +345,7 @@ const ProductPricingApiFp = function (configuration) {
|
|
|
345
345
|
},
|
|
346
346
|
/**
|
|
347
347
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
348
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
348
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
349
349
|
* @param {*} [options] Override http request option.
|
|
350
350
|
* @throws {RequiredError}
|
|
351
351
|
*/
|
|
@@ -79,11 +79,10 @@ class Configuration {
|
|
|
79
79
|
this.basePath = param.basePath;
|
|
80
80
|
this.serverIndex = param.serverIndex;
|
|
81
81
|
this.baseOptions = {
|
|
82
|
+
...param.baseOptions,
|
|
82
83
|
headers: {
|
|
83
84
|
...param.baseOptions?.headers,
|
|
84
|
-
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
85
85
|
},
|
|
86
|
-
...param.baseOptions
|
|
87
86
|
};
|
|
88
87
|
this.formDataCtor = param.formDataCtor;
|
|
89
88
|
}
|
|
@@ -117,7 +117,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
117
117
|
},
|
|
118
118
|
/**
|
|
119
119
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
120
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
120
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
@@ -190,7 +190,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
},
|
|
191
191
|
/**
|
|
192
192
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
193
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
193
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
@@ -311,7 +311,7 @@ export const ProductPricingApiFp = function (configuration) {
|
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
313
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
314
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
314
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
@@ -338,7 +338,7 @@ export const ProductPricingApiFp = function (configuration) {
|
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
340
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
341
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
341
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
@@ -76,11 +76,10 @@ export class Configuration {
|
|
|
76
76
|
this.basePath = param.basePath;
|
|
77
77
|
this.serverIndex = param.serverIndex;
|
|
78
78
|
this.baseOptions = {
|
|
79
|
+
...param.baseOptions,
|
|
79
80
|
headers: {
|
|
80
81
|
...param.baseOptions?.headers,
|
|
81
|
-
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
82
82
|
},
|
|
83
|
-
...param.baseOptions
|
|
84
83
|
};
|
|
85
84
|
this.formDataCtor = param.formDataCtor;
|
|
86
85
|
}
|
|
@@ -47,7 +47,7 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
47
47
|
getItemOffers: (marketplaceId: string, itemCondition: GetItemOffersItemConditionEnum, asin: string, customerType?: GetItemOffersCustomerTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
50
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
50
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
@@ -64,7 +64,7 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
64
64
|
getListingOffers: (marketplaceId: string, itemCondition: GetListingOffersItemConditionEnum, sellerSKU: string, customerType?: GetListingOffersCustomerTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
65
|
/**
|
|
66
66
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
67
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
67
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
@@ -110,7 +110,7 @@ export declare const ProductPricingApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
getItemOffers(marketplaceId: string, itemCondition: GetItemOffersItemConditionEnum, asin: string, customerType?: GetItemOffersCustomerTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOffersResponse>>;
|
|
111
111
|
/**
|
|
112
112
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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).
|
|
113
|
-
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
113
|
+
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody The request associated with the `getItemOffersBatch` API call.
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
@@ -127,7 +127,7 @@ export declare const ProductPricingApiFp: (configuration?: Configuration) => {
|
|
|
127
127
|
getListingOffers(marketplaceId: string, itemCondition: GetListingOffersItemConditionEnum, sellerSKU: string, customerType?: GetListingOffersCustomerTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOffersResponse>>;
|
|
128
128
|
/**
|
|
129
129
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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).
|
|
130
|
-
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
130
|
+
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody The request associated with the `getListingOffersBatch` API call.
|
|
131
131
|
* @param {*} [options] Override http request option.
|
|
132
132
|
* @throws {RequiredError}
|
|
133
133
|
*/
|
|
@@ -268,7 +268,7 @@ export interface ProductPricingApiGetItemOffersRequest {
|
|
|
268
268
|
*/
|
|
269
269
|
export interface ProductPricingApiGetItemOffersBatchRequest {
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* The request associated with the `getItemOffersBatch` API call.
|
|
272
272
|
* @type {GetItemOffersBatchRequest}
|
|
273
273
|
* @memberof ProductPricingApiGetItemOffersBatch
|
|
274
274
|
*/
|
|
@@ -312,7 +312,7 @@ export interface ProductPricingApiGetListingOffersRequest {
|
|
|
312
312
|
*/
|
|
313
313
|
export interface ProductPricingApiGetListingOffersBatchRequest {
|
|
314
314
|
/**
|
|
315
|
-
*
|
|
315
|
+
* The request associated with the `getListingOffersBatch` API call.
|
|
316
316
|
* @type {GetListingOffersBatchRequest}
|
|
317
317
|
* @memberof ProductPricingApiGetListingOffersBatch
|
|
318
318
|
*/
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { CustomerType } from './customer-type';
|
|
13
13
|
import type { ItemCondition } from './item-condition';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Common request parameters that can be accepted by `ItemOffersRequest` and `ListingOffersRequest`
|
|
16
16
|
* @export
|
|
17
17
|
* @interface BatchOffersRequestParams
|
|
18
18
|
*/
|
|
@@ -13,7 +13,7 @@ import type { GetOffersHttpStatusLine } from './get-offers-http-status-line';
|
|
|
13
13
|
import type { GetOffersResponse } from './get-offers-response';
|
|
14
14
|
import type { HttpResponseHeaders } from './http-response-headers';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Common schema that present in `ItemOffersResponse` and `ListingOffersResponse`
|
|
17
17
|
* @export
|
|
18
18
|
* @interface BatchOffersResponse
|
|
19
19
|
*/
|
|
@@ -14,7 +14,7 @@ import type { OfferCustomerType } from './offer-customer-type';
|
|
|
14
14
|
import type { Points } from './points';
|
|
15
15
|
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Schema for an individual buybox price.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface BuyBoxPriceType
|
|
20
20
|
*/
|
|
@@ -13,7 +13,7 @@ import type { OfferCustomerType } from './offer-customer-type';
|
|
|
13
13
|
import type { PriceType } from './price-type';
|
|
14
14
|
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Schema for competitive pricing information
|
|
17
17
|
* @export
|
|
18
18
|
* @interface CompetitivePriceType
|
|
19
19
|
*/
|
|
@@ -14,7 +14,7 @@ import type { ItemIdentifier } from './item-identifier';
|
|
|
14
14
|
import type { OfferDetail } from './offer-detail';
|
|
15
15
|
import type { Summary } from './summary';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The payload for the getListingOffers and getItemOffers operations.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface GetOffersResult
|
|
20
20
|
*/
|
|
@@ -62,7 +62,7 @@ export interface GetOffersResult {
|
|
|
62
62
|
*/
|
|
63
63
|
'Summary': Summary;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* A list of offer details. The list is the same length as the TotalOfferCount in the Summary or 20, whichever is less.
|
|
66
66
|
* @type {Array<OfferDetail>}
|
|
67
67
|
* @memberof GetOffersResult
|
|
68
68
|
*/
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
|
13
13
|
import type { ItemOffersRequestParamsAllOf } from './item-offers-request-params-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersRequestParams
|
|
16
|
+
* List of request parameters that can be accepted by `ItemOffersRequest`
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ItemOffersRequestParams = BatchOffersRequestParams & ItemOffersRequestParamsAllOf;
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
|
13
13
|
import type { BatchRequest } from './batch-request';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersRequest
|
|
16
|
+
* List of request parameters can be accepted by `ItemOffersRequests` operation
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ItemOffersRequest = BatchOffersRequestParams & BatchRequest;
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersResponse } from './batch-offers-response';
|
|
|
13
13
|
import type { ItemOffersResponseAllOf } from './item-offers-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersResponse
|
|
16
|
+
* Schema for an individual `ItemOffersResponse`
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ItemOffersResponse = BatchOffersResponse & ItemOffersResponseAllOf;
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
|
13
13
|
import type { ListingOffersRequestParamsAllOf } from './listing-offers-request-params-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersRequestParams
|
|
16
|
+
* List of request parameters that can be accepted by `ListingOffersRequest`
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ListingOffersRequestParams = BatchOffersRequestParams & ListingOffersRequestParamsAllOf;
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
|
13
13
|
import type { BatchRequest } from './batch-request';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersRequest
|
|
16
|
+
* List of request parameters that can be accepted by `ListingOffersRequest` operation
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ListingOffersRequest = BatchOffersRequestParams & BatchRequest;
|
|
@@ -13,6 +13,7 @@ import type { BatchOffersResponse } from './batch-offers-response';
|
|
|
13
13
|
import type { ListingOffersResponseAllOf } from './listing-offers-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersResponse
|
|
16
|
+
* Schema for an individual `ListingOffersResponse`
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
18
19
|
export type ListingOffersResponse = BatchOffersResponse & ListingOffersResponseAllOf;
|
|
@@ -14,7 +14,7 @@ import type { OfferCustomerType } from './offer-customer-type';
|
|
|
14
14
|
import type { Points } from './points';
|
|
15
15
|
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Schema for an individual lowest price.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface LowestPriceType
|
|
20
20
|
*/
|
|
@@ -22,13 +22,13 @@ export interface ModelError {
|
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
|
-
* A message that describes the error condition
|
|
25
|
+
* A message that describes the error condition.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ModelError
|
|
28
28
|
*/
|
|
29
29
|
'message': string;
|
|
30
30
|
/**
|
|
31
|
-
* Additional
|
|
31
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ModelError
|
|
34
34
|
*/
|
|
@@ -18,7 +18,7 @@ import type { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
|
18
18
|
import type { SellerFeedbackType } from './seller-feedback-type';
|
|
19
19
|
import type { ShipsFromType } from './ships-from-type';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Schema for an individual offer. Object in `OfferDetailList`.
|
|
22
22
|
* @export
|
|
23
23
|
* @interface OfferDetail
|
|
24
24
|
*/
|
|
@@ -72,7 +72,7 @@ export interface OfferDetail {
|
|
|
72
72
|
*/
|
|
73
73
|
'ListingPrice': MoneyType;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* List of `QuantityDiscountPrice` that contains item\'s pricing information when buy in bulk.
|
|
76
76
|
* @type {Array<QuantityDiscountPriceType>}
|
|
77
77
|
* @memberof OfferDetail
|
|
78
78
|
*/
|
|
@@ -14,7 +14,7 @@ import type { OfferCustomerType } from './offer-customer-type';
|
|
|
14
14
|
import type { PriceType } from './price-type';
|
|
15
15
|
import type { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Schema for an individual offer.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface OfferType
|
|
20
20
|
*/
|
|
@@ -44,7 +44,7 @@ export interface OfferType {
|
|
|
44
44
|
*/
|
|
45
45
|
'businessPrice'?: MoneyType;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* List of `QuantityDiscountPrice` that contains item\'s pricing information when buy in bulk.
|
|
48
48
|
* @type {Array<QuantityDiscountPriceType>}
|
|
49
49
|
* @memberof OfferType
|
|
50
50
|
*/
|
|
@@ -27,19 +27,19 @@ export interface Summary {
|
|
|
27
27
|
*/
|
|
28
28
|
'TotalOfferCount': number;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* A list that contains the total number of offers information for given conditions and fulfillment channels.
|
|
31
31
|
* @type {Array<OfferCountType>}
|
|
32
32
|
* @memberof Summary
|
|
33
33
|
*/
|
|
34
34
|
'NumberOfOffers'?: Array<OfferCountType>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* A list of the lowest prices.
|
|
37
37
|
* @type {Array<LowestPriceType>}
|
|
38
38
|
* @memberof Summary
|
|
39
39
|
*/
|
|
40
40
|
'LowestPrices'?: Array<LowestPriceType>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* A list of the Buy Box prices.
|
|
43
43
|
* @type {Array<BuyBoxPriceType>}
|
|
44
44
|
* @memberof Summary
|
|
45
45
|
*/
|
|
@@ -69,7 +69,7 @@ export interface Summary {
|
|
|
69
69
|
*/
|
|
70
70
|
'SalesRankings'?: Array<SalesRankType>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.
|
|
73
73
|
* @type {Array<OfferCountType>}
|
|
74
74
|
* @memberof Summary
|
|
75
75
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/product-pricing-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.",
|
|
5
|
-
"version": "3.0
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.11",
|
|
22
|
+
"axios": "^1.8.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"product pricing api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b5799742765e819f70161d2ac1905d8e570de8c0"
|
|
44
44
|
}
|