@sp-api-sdk/sellers-api-v1 2.3.6 → 3.0.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 +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
|
@@ -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
|
*
|
|
@@ -4,7 +4,6 @@ export * from './business';
|
|
|
4
4
|
export * from './get-account-response';
|
|
5
5
|
export * from './get-marketplace-participations-response';
|
|
6
6
|
export * from './marketplace';
|
|
7
|
-
export * from './marketplace-level-attributes';
|
|
8
7
|
export * from './marketplace-participation';
|
|
9
8
|
export * from './model-error';
|
|
10
9
|
export * from './participation';
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -21,13 +21,13 @@ import type { GetMarketplaceParticipationsResponse } from '../models';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const SellersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
* 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
|
|
24
|
+
* 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).
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
28
|
getAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
|
-
* Returns a list of marketplaces
|
|
30
|
+
* 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).
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
@@ -39,13 +39,13 @@ export declare const SellersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
39
39
|
*/
|
|
40
40
|
export declare const SellersApiFp: (configuration?: Configuration) => {
|
|
41
41
|
/**
|
|
42
|
-
* 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
|
|
42
|
+
* 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).
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
46
|
getAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponse>>;
|
|
47
47
|
/**
|
|
48
|
-
* Returns a list of marketplaces
|
|
48
|
+
* 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).
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
@@ -57,13 +57,13 @@ export declare const SellersApiFp: (configuration?: Configuration) => {
|
|
|
57
57
|
*/
|
|
58
58
|
export declare const SellersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
59
59
|
/**
|
|
60
|
-
* 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
|
|
60
|
+
* 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).
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
*/
|
|
64
64
|
getAccount(options?: RawAxiosRequestConfig): AxiosPromise<GetAccountResponse>;
|
|
65
65
|
/**
|
|
66
|
-
* Returns a list of marketplaces
|
|
66
|
+
* 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).
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
@@ -77,14 +77,14 @@ export declare const SellersApiFactory: (configuration?: Configuration, basePath
|
|
|
77
77
|
*/
|
|
78
78
|
export declare class SellersApi extends BaseAPI {
|
|
79
79
|
/**
|
|
80
|
-
* 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
|
|
80
|
+
* 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).
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
* @memberof SellersApi
|
|
84
84
|
*/
|
|
85
85
|
getAccount(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAccountResponse, any>>;
|
|
86
86
|
/**
|
|
87
|
-
* Returns a list of marketplaces
|
|
87
|
+
* 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).
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
* @memberof SellersApi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Business } from './business';
|
|
13
|
-
import type {
|
|
13
|
+
import type { MarketplaceParticipation } from './marketplace-participation';
|
|
14
14
|
import type { PrimaryContact } from './primary-contact';
|
|
15
15
|
/**
|
|
16
16
|
* The response schema for the `getAccount` operation.
|
|
@@ -19,17 +19,23 @@ import type { PrimaryContact } from './primary-contact';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface Account {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Array<
|
|
22
|
+
* List of marketplace participations.
|
|
23
|
+
* @type {Array<MarketplaceParticipation>}
|
|
24
24
|
* @memberof Account
|
|
25
25
|
*/
|
|
26
|
-
'
|
|
26
|
+
'marketplaceParticipationList': Array<MarketplaceParticipation>;
|
|
27
27
|
/**
|
|
28
28
|
* The type of business registered for the seller account.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof Account
|
|
31
31
|
*/
|
|
32
32
|
'businessType': AccountBusinessTypeEnum;
|
|
33
|
+
/**
|
|
34
|
+
* The selling plan details.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Account
|
|
37
|
+
*/
|
|
38
|
+
'sellingPlan': AccountSellingPlanEnum;
|
|
33
39
|
/**
|
|
34
40
|
*
|
|
35
41
|
* @type {Business}
|
|
@@ -54,3 +60,8 @@ export declare const AccountBusinessTypeEnum: {
|
|
|
54
60
|
readonly Individual: "INDIVIDUAL";
|
|
55
61
|
};
|
|
56
62
|
export type AccountBusinessTypeEnum = typeof AccountBusinessTypeEnum[keyof typeof AccountBusinessTypeEnum];
|
|
63
|
+
export declare const AccountSellingPlanEnum: {
|
|
64
|
+
readonly Professional: "PROFESSIONAL";
|
|
65
|
+
readonly Individual: "INDIVIDUAL";
|
|
66
|
+
};
|
|
67
|
+
export type AccountSellingPlanEnum = typeof AccountSellingPlanEnum[keyof typeof AccountSellingPlanEnum];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Address } from './address';
|
|
13
13
|
/**
|
|
14
|
-
* Information about the
|
|
14
|
+
* Information about the Seller\'s business. These fields may be omitted if the Seller is registered as an individual.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface Business
|
|
17
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -4,7 +4,6 @@ export * from './business';
|
|
|
4
4
|
export * from './get-account-response';
|
|
5
5
|
export * from './get-marketplace-participations-response';
|
|
6
6
|
export * from './marketplace';
|
|
7
|
-
export * from './marketplace-level-attributes';
|
|
8
7
|
export * from './marketplace-participation';
|
|
9
8
|
export * from './model-error';
|
|
10
9
|
export * from './participation';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -29,4 +29,10 @@ export interface MarketplaceParticipation {
|
|
|
29
29
|
* @memberof MarketplaceParticipation
|
|
30
30
|
*/
|
|
31
31
|
'participation': Participation;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the seller\'s store as displayed in the marketplace.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof MarketplaceParticipation
|
|
36
|
+
*/
|
|
37
|
+
'storeName': string;
|
|
32
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Detailed information about an Amazon market where a seller can list items for sale and customers can view and purchase items.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface Marketplace
|
|
16
16
|
*/
|
|
@@ -22,7 +22,7 @@ export interface Marketplace {
|
|
|
22
22
|
*/
|
|
23
23
|
'id': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Marketplace name.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Marketplace
|
|
28
28
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -28,7 +28,7 @@ export interface ModelError {
|
|
|
28
28
|
*/
|
|
29
29
|
'message': string;
|
|
30
30
|
/**
|
|
31
|
-
* Additional details that can help
|
|
31
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ModelError
|
|
34
34
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Detailed information that is specific to a seller in a marketplace.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface Participation
|
|
16
16
|
*/
|
|
17
17
|
export interface Participation {
|
|
18
18
|
/**
|
|
19
|
-
* If
|
|
19
|
+
* If true, the seller participates in the marketplace.
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof Participation
|
|
22
22
|
*/
|
|
23
23
|
'isParticipating': boolean;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* If true, the seller has suspended listings.
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof Participation
|
|
28
28
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Selling Partner API for Sellers
|
|
3
|
-
* The
|
|
2
|
+
* The Selling Partner API for Sellers
|
|
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.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sp-api-sdk/sellers-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
|
-
"description": "The Selling Partner API for Sellers
|
|
5
|
-
"version": "
|
|
4
|
+
"description": "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.",
|
|
5
|
+
"version": "3.0.1",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.8",
|
|
22
22
|
"axios": "^1.7.9"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"sellers api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d8ee43e876007f59ecc6c67831cf797343d6d6e3"
|
|
44
44
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Sellers
|
|
6
|
-
* The [Selling Partner API for Sellers](https://developer-docs.amazon.com/sp-api/docs/sellers-api-v1-reference) (Sellers API) provides essential information about seller accounts, such as: - The marketplaces a seller can list in - The default language and currency of a marketplace - Whether the seller has suspended listings 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.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MarketplaceLevelAttributesSellingPlanEnum = exports.MarketplaceLevelAttributesListingStatusEnum = void 0;
|
|
17
|
-
exports.MarketplaceLevelAttributesListingStatusEnum = {
|
|
18
|
-
Active: 'ACTIVE',
|
|
19
|
-
Inactive: 'INACTIVE'
|
|
20
|
-
};
|
|
21
|
-
exports.MarketplaceLevelAttributesSellingPlanEnum = {
|
|
22
|
-
Professional: 'PROFESSIONAL',
|
|
23
|
-
Individual: 'INDIVIDUAL'
|
|
24
|
-
};
|