@sp-api-sdk/sellers-api-v1 2.3.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -7
- package/dist/cjs/api-model/api/sellers-api.js +10 -10
- package/dist/cjs/api-model/api.js +2 -2
- package/dist/cjs/api-model/base.js +2 -2
- package/dist/cjs/api-model/common.js +2 -2
- package/dist/cjs/api-model/configuration.js +2 -2
- package/dist/cjs/api-model/index.js +2 -2
- package/dist/cjs/api-model/models/account.js +7 -3
- package/dist/cjs/api-model/models/address.js +2 -2
- package/dist/cjs/api-model/models/business.js +2 -2
- package/dist/cjs/api-model/models/get-account-response.js +2 -2
- package/dist/cjs/api-model/models/get-marketplace-participations-response.js +2 -2
- package/dist/cjs/api-model/models/index.js +0 -1
- package/dist/cjs/api-model/models/marketplace-participation.js +2 -2
- package/dist/cjs/api-model/models/marketplace.js +2 -2
- package/dist/cjs/api-model/models/model-error.js +2 -2
- package/dist/cjs/api-model/models/participation.js +2 -2
- package/dist/cjs/api-model/models/primary-contact.js +2 -2
- package/dist/es/api-model/api/sellers-api.js +10 -10
- package/dist/es/api-model/api.js +2 -2
- package/dist/es/api-model/base.js +2 -2
- package/dist/es/api-model/common.js +2 -2
- package/dist/es/api-model/configuration.js +2 -2
- package/dist/es/api-model/index.js +2 -2
- package/dist/es/api-model/models/account.js +6 -2
- package/dist/es/api-model/models/address.js +2 -2
- package/dist/es/api-model/models/business.js +2 -2
- package/dist/es/api-model/models/get-account-response.js +2 -2
- package/dist/es/api-model/models/get-marketplace-participations-response.js +2 -2
- package/dist/es/api-model/models/index.js +0 -1
- package/dist/es/api-model/models/marketplace-participation.js +2 -2
- package/dist/es/api-model/models/marketplace.js +2 -2
- package/dist/es/api-model/models/model-error.js +2 -2
- package/dist/es/api-model/models/participation.js +2 -2
- package/dist/es/api-model/models/primary-contact.js +2 -2
- package/dist/types/api-model/api/sellers-api.d.ts +10 -10
- package/dist/types/api-model/api.d.ts +2 -2
- package/dist/types/api-model/base.d.ts +2 -2
- package/dist/types/api-model/common.d.ts +2 -2
- package/dist/types/api-model/configuration.d.ts +2 -2
- package/dist/types/api-model/index.d.ts +2 -2
- package/dist/types/api-model/models/account.d.ts +17 -6
- package/dist/types/api-model/models/address.d.ts +2 -2
- package/dist/types/api-model/models/business.d.ts +3 -3
- package/dist/types/api-model/models/get-account-response.d.ts +2 -2
- package/dist/types/api-model/models/get-marketplace-participations-response.d.ts +2 -2
- package/dist/types/api-model/models/index.d.ts +0 -1
- package/dist/types/api-model/models/marketplace-participation.d.ts +8 -2
- package/dist/types/api-model/models/marketplace.d.ts +4 -4
- package/dist/types/api-model/models/model-error.d.ts +3 -3
- package/dist/types/api-model/models/participation.d.ts +5 -5
- package/dist/types/api-model/models/primary-contact.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cjs/api-model/models/marketplace-level-attributes.js +0 -24
- package/dist/es/api-model/models/marketplace-level-attributes.js +0 -21
- package/dist/types/api-model/models/marketplace-level-attributes.d.ts +0 -53
package/README.md
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
# `sellers-api-v1`
|
|
2
2
|
|
|
3
|
-
The
|
|
4
|
-
|
|
5
|
-
- The marketplaces a seller can list in
|
|
6
|
-
- The default language and currency of a marketplace
|
|
7
|
-
- Whether the seller has suspended listings
|
|
8
|
-
|
|
9
|
-
Refer to the [Sellers API reference](https://developer-docs.amazon.com/sp-api/docs/sellers-api-v1-reference) for details about this API's operations, data types, and schemas.
|
|
3
|
+
The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
10
4
|
|
|
11
5
|
[](https://www.npmjs.com/package/@sp-api-sdk/sellers-api-v1)
|
|
12
6
|
[](https://github.com/xojs/xo)
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -30,7 +30,7 @@ const base_1 = require("../base");
|
|
|
30
30
|
const SellersApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
33
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
@@ -54,7 +54,7 @@ const SellersApiAxiosParamCreator = function (configuration) {
|
|
|
54
54
|
};
|
|
55
55
|
},
|
|
56
56
|
/**
|
|
57
|
-
* Returns a list of marketplaces
|
|
57
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
@@ -88,7 +88,7 @@ const SellersApiFp = function (configuration) {
|
|
|
88
88
|
const localVarAxiosParamCreator = (0, exports.SellersApiAxiosParamCreator)(configuration);
|
|
89
89
|
return {
|
|
90
90
|
/**
|
|
91
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
91
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
@@ -99,7 +99,7 @@ const SellersApiFp = function (configuration) {
|
|
|
99
99
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
100
100
|
},
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of marketplaces
|
|
102
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
104
104
|
* @throws {RequiredError}
|
|
105
105
|
*/
|
|
@@ -120,7 +120,7 @@ const SellersApiFactory = function (configuration, basePath, axios) {
|
|
|
120
120
|
const localVarFp = (0, exports.SellersApiFp)(configuration);
|
|
121
121
|
return {
|
|
122
122
|
/**
|
|
123
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
123
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
@@ -128,7 +128,7 @@ const SellersApiFactory = function (configuration, basePath, axios) {
|
|
|
128
128
|
return localVarFp.getAccount(options).then((request) => request(axios, basePath));
|
|
129
129
|
},
|
|
130
130
|
/**
|
|
131
|
-
* Returns a list of marketplaces
|
|
131
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
@@ -146,7 +146,7 @@ exports.SellersApiFactory = SellersApiFactory;
|
|
|
146
146
|
*/
|
|
147
147
|
class SellersApi extends base_1.BaseAPI {
|
|
148
148
|
/**
|
|
149
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
149
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
* @memberof SellersApi
|
|
@@ -155,7 +155,7 @@ class SellersApi extends base_1.BaseAPI {
|
|
|
155
155
|
return (0, exports.SellersApiFp)(this.configuration).getAccount(options).then((request) => request(this.axios, this.basePath));
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* Returns a list of marketplaces
|
|
158
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
* @memberof SellersApi
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AccountBusinessTypeEnum = void 0;
|
|
16
|
+
exports.AccountSellingPlanEnum = exports.AccountBusinessTypeEnum = void 0;
|
|
17
17
|
exports.AccountBusinessTypeEnum = {
|
|
18
18
|
Charity: 'CHARITY',
|
|
19
19
|
Craftsman: 'CRAFTSMAN',
|
|
@@ -24,3 +24,7 @@ exports.AccountBusinessTypeEnum = {
|
|
|
24
24
|
StateOwned: 'STATE_OWNED',
|
|
25
25
|
Individual: 'INDIVIDUAL'
|
|
26
26
|
};
|
|
27
|
+
exports.AccountSellingPlanEnum = {
|
|
28
|
+
Professional: 'PROFESSIONAL',
|
|
29
|
+
Individual: 'INDIVIDUAL'
|
|
30
|
+
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -20,7 +20,6 @@ __exportStar(require("./business"), exports);
|
|
|
20
20
|
__exportStar(require("./get-account-response"), exports);
|
|
21
21
|
__exportStar(require("./get-marketplace-participations-response"), exports);
|
|
22
22
|
__exportStar(require("./marketplace"), exports);
|
|
23
|
-
__exportStar(require("./marketplace-level-attributes"), exports);
|
|
24
23
|
__exportStar(require("./marketplace-participation"), exports);
|
|
25
24
|
__exportStar(require("./model-error"), exports);
|
|
26
25
|
__exportStar(require("./participation"), exports);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The
|
|
5
|
+
* The Selling Partner API for Sellers
|
|
6
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -24,7 +24,7 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
24
24
|
export const SellersApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
27
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
30
30
|
*/
|
|
@@ -48,7 +48,7 @@ export const SellersApiAxiosParamCreator = function (configuration) {
|
|
|
48
48
|
};
|
|
49
49
|
},
|
|
50
50
|
/**
|
|
51
|
-
* Returns a list of marketplaces
|
|
51
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
@@ -81,7 +81,7 @@ export const SellersApiFp = function (configuration) {
|
|
|
81
81
|
const localVarAxiosParamCreator = SellersApiAxiosParamCreator(configuration);
|
|
82
82
|
return {
|
|
83
83
|
/**
|
|
84
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
84
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
@@ -92,7 +92,7 @@ export const SellersApiFp = function (configuration) {
|
|
|
92
92
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
93
93
|
},
|
|
94
94
|
/**
|
|
95
|
-
* Returns a list of marketplaces
|
|
95
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
@@ -112,7 +112,7 @@ export const SellersApiFactory = function (configuration, basePath, axios) {
|
|
|
112
112
|
const localVarFp = SellersApiFp(configuration);
|
|
113
113
|
return {
|
|
114
114
|
/**
|
|
115
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
115
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
@@ -120,7 +120,7 @@ export const SellersApiFactory = function (configuration, basePath, axios) {
|
|
|
120
120
|
return localVarFp.getAccount(options).then((request) => request(axios, basePath));
|
|
121
121
|
},
|
|
122
122
|
/**
|
|
123
|
-
* Returns a list of marketplaces
|
|
123
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
@@ -137,7 +137,7 @@ export const SellersApiFactory = function (configuration, basePath, axios) {
|
|
|
137
137
|
*/
|
|
138
138
|
export class SellersApi extends BaseAPI {
|
|
139
139
|
/**
|
|
140
|
-
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The
|
|
140
|
+
* Returns information about a seller account and its marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @memberof SellersApi
|
|
@@ -146,7 +146,7 @@ export class SellersApi extends BaseAPI {
|
|
|
146
146
|
return SellersApiFp(this.configuration).getAccount(options).then((request) => request(this.axios, this.basePath));
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Returns a list of marketplaces
|
|
149
|
+
* Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller\'s participation in those marketplaces. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.016 | 15 | 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).
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
* @memberof SellersApi
|
package/dist/es/api-model/api.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -21,3 +21,7 @@ export const AccountBusinessTypeEnum = {
|
|
|
21
21
|
StateOwned: 'STATE_OWNED',
|
|
22
22
|
Individual: 'INDIVIDUAL'
|
|
23
23
|
};
|
|
24
|
+
export const AccountSellingPlanEnum = {
|
|
25
|
+
Professional: 'PROFESSIONAL',
|
|
26
|
+
Individual: 'INDIVIDUAL'
|
|
27
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Sellers
|
|
5
|
-
* The
|
|
4
|
+
* The Selling Partner API for Sellers
|
|
5
|
+
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|