@sp-api-sdk/product-fees-api-v0
Advanced tools
Comparing version 0.2.1 to 1.0.0
@@ -229,4 +229,3 @@ import globalAxios from 'axios'; | ||
* Returns the estimated fees for the item indicated by the specified Asin in the marketplace specified in the request body. You can call getMyFeesEstimateForASIN for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each product fees request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForASINRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -236,9 +235,8 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForASIN(asin, body, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForASIN(asin, body, options).then((request) => request(this.axios, this.basePath)); | ||
getMyFeesEstimateForASIN(requestParameters, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForASIN(requestParameters.asin, requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. You can call getMyFeesEstimateForSKU for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each fees estimate request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} sellerSKU Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForSKURequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -248,4 +246,4 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForSKU(sellerSKU, body, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForSKU(sellerSKU, body, options).then((request) => request(this.axios, this.basePath)); | ||
getMyFeesEstimateForSKU(requestParameters, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForSKU(requestParameters.sellerSKU, requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -252,0 +250,0 @@ } |
@@ -237,4 +237,3 @@ 'use strict'; | ||
* Returns the estimated fees for the item indicated by the specified Asin in the marketplace specified in the request body. You can call getMyFeesEstimateForASIN for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each product fees request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForASINRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -244,9 +243,8 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForASIN(asin, body, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForASIN(asin, body, options).then((request) => request(this.axios, this.basePath)); | ||
getMyFeesEstimateForASIN(requestParameters, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForASIN(requestParameters.asin, requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. You can call getMyFeesEstimateForSKU for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each fees estimate request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} sellerSKU Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForSKURequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -256,4 +254,4 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForSKU(sellerSKU, body, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForSKU(sellerSKU, body, options).then((request) => request(this.axios, this.basePath)); | ||
getMyFeesEstimateForSKU(requestParameters, options) { | ||
return FeesApiFp(this.configuration).getMyFeesEstimateForSKU(requestParameters.sellerSKU, requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -260,0 +258,0 @@ } |
@@ -484,2 +484,40 @@ /** | ||
/** | ||
* Request parameters for getMyFeesEstimateForASIN operation in FeesApi. | ||
* @export | ||
* @interface FeesApiGetMyFeesEstimateForASINRequest | ||
*/ | ||
export interface FeesApiGetMyFeesEstimateForASINRequest { | ||
/** | ||
* The Amazon Standard Identification Number (ASIN) of the item. | ||
* @type {string} | ||
* @memberof FeesApiGetMyFeesEstimateForASIN | ||
*/ | ||
readonly asin: string; | ||
/** | ||
* | ||
* @type {GetMyFeesEstimateRequest} | ||
* @memberof FeesApiGetMyFeesEstimateForASIN | ||
*/ | ||
readonly body: GetMyFeesEstimateRequest; | ||
} | ||
/** | ||
* Request parameters for getMyFeesEstimateForSKU operation in FeesApi. | ||
* @export | ||
* @interface FeesApiGetMyFeesEstimateForSKURequest | ||
*/ | ||
export interface FeesApiGetMyFeesEstimateForSKURequest { | ||
/** | ||
* Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit. | ||
* @type {string} | ||
* @memberof FeesApiGetMyFeesEstimateForSKU | ||
*/ | ||
readonly sellerSKU: string; | ||
/** | ||
* | ||
* @type {GetMyFeesEstimateRequest} | ||
* @memberof FeesApiGetMyFeesEstimateForSKU | ||
*/ | ||
readonly body: GetMyFeesEstimateRequest; | ||
} | ||
/** | ||
* FeesApi - object-oriented interface | ||
@@ -493,4 +531,3 @@ * @export | ||
* Returns the estimated fees for the item indicated by the specified Asin in the marketplace specified in the request body. You can call getMyFeesEstimateForASIN for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each product fees request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForASINRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -500,7 +537,6 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForASIN(asin: string, body: GetMyFeesEstimateRequest, options?: any): Promise<import("axios").AxiosResponse<GetMyFeesEstimateResponse>>; | ||
getMyFeesEstimateForASIN(requestParameters: FeesApiGetMyFeesEstimateForASINRequest, options?: any): Promise<import("axios").AxiosResponse<GetMyFeesEstimateResponse>>; | ||
/** | ||
* Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. You can call getMyFeesEstimateForSKU for an item on behalf of a seller before the seller sets the item\'s price. They can then take estimated fees into account. With each fees estimate request, you must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {string} sellerSKU Used to identify an item in the given marketplace. SellerSKU is qualified by the seller\'s SellerId, which is included with every operation that you submit. | ||
* @param {GetMyFeesEstimateRequest} body | ||
* @param {FeesApiGetMyFeesEstimateForSKURequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -510,3 +546,3 @@ * @throws {RequiredError} | ||
*/ | ||
getMyFeesEstimateForSKU(sellerSKU: string, body: GetMyFeesEstimateRequest, options?: any): Promise<import("axios").AxiosResponse<GetMyFeesEstimateResponse>>; | ||
getMyFeesEstimateForSKU(requestParameters: FeesApiGetMyFeesEstimateForSKURequest, options?: any): Promise<import("axios").AxiosResponse<GetMyFeesEstimateResponse>>; | ||
} |
@@ -5,3 +5,3 @@ { | ||
"description": "The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
@@ -47,3 +47,3 @@ "module": "dist/index.es.js", | ||
"homepage": "https://github.com/bizon/selling-partner-api-sdk/tree/master/clients/product-fees-api-v0", | ||
"gitHead": "be777a70e0faca3ab2d3176b59d2dab16bb61f73" | ||
"gitHead": "2d5e1bd5ed0c947b314776b0cc9a5a3316c92f43" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
68920
1437
0