@sp-api-sdk/orders-api-v0 1.9.2 → 1.11.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 +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/src/api-model/api/orders-v0-api.js +140 -19
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/index.js +3 -3
- package/dist/cjs/src/api-model/models/buyer-requested-cancel.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-regulated-info-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +43 -33
- package/dist/cjs/src/api-model/models/order-regulated-info.js +15 -0
- package/dist/cjs/src/api-model/models/regulated-information-field.js +25 -0
- package/dist/cjs/src/api-model/models/regulated-information.js +15 -0
- package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +28 -0
- package/dist/cjs/src/api-model/models/rejection-reason.js +15 -0
- package/dist/cjs/src/api-model/models/update-verification-status-error-response.js +15 -0
- package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +25 -0
- package/dist/cjs/src/api-model/models/update-verification-status-request.js +15 -0
- package/dist/cjs/src/client.js +12 -0
- package/dist/es/src/api-model/api/orders-v0-api.js +139 -18
- package/dist/es/src/api-model/models/buyer-requested-cancel.js +14 -0
- package/dist/es/src/api-model/models/get-order-regulated-info-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +10 -0
- package/dist/es/src/api-model/models/order-regulated-info.js +14 -0
- package/dist/es/src/api-model/models/regulated-information-field.js +22 -0
- package/dist/es/src/api-model/models/regulated-information.js +14 -0
- package/dist/es/src/api-model/models/regulated-order-verification-status.js +25 -0
- package/dist/es/src/api-model/models/rejection-reason.js +14 -0
- package/dist/es/src/api-model/models/update-verification-status-error-response.js +14 -0
- package/dist/es/src/api-model/models/update-verification-status-request-body.js +22 -0
- package/dist/es/src/api-model/models/update-verification-status-request.js +14 -0
- package/dist/es/src/client.js +12 -0
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +115 -20
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +30 -0
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +10 -0
- package/dist/types/src/api-model/models/order-item.d.ts +7 -0
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +44 -0
- package/dist/types/src/api-model/models/order.d.ts +13 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +50 -0
- package/dist/types/src/api-model/models/regulated-information.d.ts +25 -0
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +66 -0
- package/dist/types/src/api-model/models/rejection-reason.d.ts +30 -0
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +24 -0
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +44 -0
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +25 -0
- package/package.json +5 -5
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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.RegulatedOrderVerificationStatusStatusEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var RegulatedOrderVerificationStatusStatusEnum;
|
|
22
|
+
(function (RegulatedOrderVerificationStatusStatusEnum) {
|
|
23
|
+
RegulatedOrderVerificationStatusStatusEnum["Pending"] = "Pending";
|
|
24
|
+
RegulatedOrderVerificationStatusStatusEnum["Approved"] = "Approved";
|
|
25
|
+
RegulatedOrderVerificationStatusStatusEnum["Rejected"] = "Rejected";
|
|
26
|
+
RegulatedOrderVerificationStatusStatusEnum["Expired"] = "Expired";
|
|
27
|
+
RegulatedOrderVerificationStatusStatusEnum["Cancelled"] = "Cancelled";
|
|
28
|
+
})(RegulatedOrderVerificationStatusStatusEnum = exports.RegulatedOrderVerificationStatusStatusEnum || (exports.RegulatedOrderVerificationStatusStatusEnum = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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.UpdateVerificationStatusRequestBodyStatusEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var UpdateVerificationStatusRequestBodyStatusEnum;
|
|
22
|
+
(function (UpdateVerificationStatusRequestBodyStatusEnum) {
|
|
23
|
+
UpdateVerificationStatusRequestBodyStatusEnum["Approved"] = "Approved";
|
|
24
|
+
UpdateVerificationStatusRequestBodyStatusEnum["Rejected"] = "Rejected";
|
|
25
|
+
})(UpdateVerificationStatusRequestBodyStatusEnum = exports.UpdateVerificationStatusRequestBodyStatusEnum || (exports.UpdateVerificationStatusRequestBodyStatusEnum = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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 });
|
package/dist/cjs/src/client.js
CHANGED
|
@@ -42,6 +42,18 @@ exports.clientRateLimits = [
|
|
|
42
42
|
rate: 0.0055,
|
|
43
43
|
burst: 20,
|
|
44
44
|
},
|
|
45
|
+
{
|
|
46
|
+
method: 'get',
|
|
47
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/regulatedInfo$'),
|
|
48
|
+
rate: 0.0055,
|
|
49
|
+
burst: 20,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
method: 'patch',
|
|
53
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/regulatedInfo$'),
|
|
54
|
+
rate: 0.0055,
|
|
55
|
+
burst: 20,
|
|
56
|
+
},
|
|
45
57
|
];
|
|
46
58
|
class OrdersApiClient extends api_model_1.OrdersV0Api {
|
|
47
59
|
constructor(parameters) {
|
|
@@ -52,7 +52,7 @@ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
52
52
|
};
|
|
53
53
|
},
|
|
54
54
|
/**
|
|
55
|
-
* Returns the shipping address for the specified order. **
|
|
55
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
56
56
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
@@ -80,7 +80,7 @@ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
/**
|
|
83
|
-
* Returns buyer information for the specified order. **
|
|
83
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
84
84
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
@@ -140,7 +140,7 @@ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
};
|
|
141
141
|
},
|
|
142
142
|
/**
|
|
143
|
-
* Returns buyer information for the order items in the specified order. **
|
|
143
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
144
144
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
145
145
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
@@ -171,15 +171,43 @@ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
171
171
|
options: localVarRequestOptions,
|
|
172
172
|
};
|
|
173
173
|
},
|
|
174
|
+
/**
|
|
175
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
176
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
getOrderRegulatedInfo: async (orderId, options = {}) => {
|
|
181
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
182
|
+
assertParamExists('getOrderRegulatedInfo', 'orderId', orderId);
|
|
183
|
+
const localVarPath = `/orders/v0/orders/{orderId}/regulatedInfo`
|
|
184
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
185
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
186
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
187
|
+
let baseOptions;
|
|
188
|
+
if (configuration) {
|
|
189
|
+
baseOptions = configuration.baseOptions;
|
|
190
|
+
}
|
|
191
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
192
|
+
const localVarHeaderParameter = {};
|
|
193
|
+
const localVarQueryParameter = {};
|
|
194
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
197
|
+
return {
|
|
198
|
+
url: toPathString(localVarUrlObj),
|
|
199
|
+
options: localVarRequestOptions,
|
|
200
|
+
};
|
|
201
|
+
},
|
|
174
202
|
/**
|
|
175
203
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
176
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
204
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
177
205
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
178
206
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
179
207
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
180
208
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
181
209
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
182
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
210
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
183
211
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
184
212
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
185
213
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -298,6 +326,39 @@ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
298
326
|
options: localVarRequestOptions,
|
|
299
327
|
};
|
|
300
328
|
},
|
|
329
|
+
/**
|
|
330
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
331
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
332
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
333
|
+
* @param {*} [options] Override http request option.
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
*/
|
|
336
|
+
updateVerificationStatus: async (orderId, payload, options = {}) => {
|
|
337
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
338
|
+
assertParamExists('updateVerificationStatus', 'orderId', orderId);
|
|
339
|
+
// verify required parameter 'payload' is not null or undefined
|
|
340
|
+
assertParamExists('updateVerificationStatus', 'payload', payload);
|
|
341
|
+
const localVarPath = `/orders/v0/orders/{orderId}/regulatedInfo`
|
|
342
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
343
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
345
|
+
let baseOptions;
|
|
346
|
+
if (configuration) {
|
|
347
|
+
baseOptions = configuration.baseOptions;
|
|
348
|
+
}
|
|
349
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
350
|
+
const localVarHeaderParameter = {};
|
|
351
|
+
const localVarQueryParameter = {};
|
|
352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
|
354
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
356
|
+
localVarRequestOptions.data = serializeDataIfNeeded(payload, localVarRequestOptions, configuration);
|
|
357
|
+
return {
|
|
358
|
+
url: toPathString(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
};
|
|
361
|
+
},
|
|
301
362
|
};
|
|
302
363
|
};
|
|
303
364
|
/**
|
|
@@ -318,7 +379,7 @@ export const OrdersV0ApiFp = function (configuration) {
|
|
|
318
379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
319
380
|
},
|
|
320
381
|
/**
|
|
321
|
-
* Returns the shipping address for the specified order. **
|
|
382
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
322
383
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
323
384
|
* @param {*} [options] Override http request option.
|
|
324
385
|
* @throws {RequiredError}
|
|
@@ -328,7 +389,7 @@ export const OrdersV0ApiFp = function (configuration) {
|
|
|
328
389
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
329
390
|
},
|
|
330
391
|
/**
|
|
331
|
-
* Returns buyer information for the specified order. **
|
|
392
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
332
393
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
333
394
|
* @param {*} [options] Override http request option.
|
|
334
395
|
* @throws {RequiredError}
|
|
@@ -349,7 +410,7 @@ export const OrdersV0ApiFp = function (configuration) {
|
|
|
349
410
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
411
|
},
|
|
351
412
|
/**
|
|
352
|
-
* Returns buyer information for the order items in the specified order. **
|
|
413
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
353
414
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
354
415
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
355
416
|
* @param {*} [options] Override http request option.
|
|
@@ -359,15 +420,25 @@ export const OrdersV0ApiFp = function (configuration) {
|
|
|
359
420
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItemsBuyerInfo(orderId, nextToken, options);
|
|
360
421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
361
422
|
},
|
|
423
|
+
/**
|
|
424
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
425
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
async getOrderRegulatedInfo(orderId, options) {
|
|
430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderRegulatedInfo(orderId, options);
|
|
431
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
432
|
+
},
|
|
362
433
|
/**
|
|
363
434
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
364
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
435
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
365
436
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
366
437
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
367
438
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
368
439
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
369
440
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
370
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
441
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
371
442
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
372
443
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
373
444
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -396,6 +467,17 @@ export const OrdersV0ApiFp = function (configuration) {
|
|
|
396
467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentStatus(orderId, payload, options);
|
|
397
468
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
398
469
|
},
|
|
470
|
+
/**
|
|
471
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
472
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
473
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
async updateVerificationStatus(orderId, payload, options) {
|
|
478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateVerificationStatus(orderId, payload, options);
|
|
479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
480
|
+
},
|
|
399
481
|
};
|
|
400
482
|
};
|
|
401
483
|
/**
|
|
@@ -415,7 +497,7 @@ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
415
497
|
return localVarFp.getOrder(orderId, options).then((request) => request(axios, basePath));
|
|
416
498
|
},
|
|
417
499
|
/**
|
|
418
|
-
* Returns the shipping address for the specified order. **
|
|
500
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
419
501
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
420
502
|
* @param {*} [options] Override http request option.
|
|
421
503
|
* @throws {RequiredError}
|
|
@@ -424,7 +506,7 @@ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
424
506
|
return localVarFp.getOrderAddress(orderId, options).then((request) => request(axios, basePath));
|
|
425
507
|
},
|
|
426
508
|
/**
|
|
427
|
-
* Returns buyer information for the specified order. **
|
|
509
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
428
510
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
429
511
|
* @param {*} [options] Override http request option.
|
|
430
512
|
* @throws {RequiredError}
|
|
@@ -443,7 +525,7 @@ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
443
525
|
return localVarFp.getOrderItems(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
444
526
|
},
|
|
445
527
|
/**
|
|
446
|
-
* Returns buyer information for the order items in the specified order. **
|
|
528
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
447
529
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
448
530
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
449
531
|
* @param {*} [options] Override http request option.
|
|
@@ -452,15 +534,24 @@ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
452
534
|
getOrderItemsBuyerInfo(orderId, nextToken, options) {
|
|
453
535
|
return localVarFp.getOrderItemsBuyerInfo(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
454
536
|
},
|
|
537
|
+
/**
|
|
538
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
539
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
getOrderRegulatedInfo(orderId, options) {
|
|
544
|
+
return localVarFp.getOrderRegulatedInfo(orderId, options).then((request) => request(axios, basePath));
|
|
545
|
+
},
|
|
455
546
|
/**
|
|
456
547
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
457
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://
|
|
548
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. See the [Selling Partner API Developer Guide](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
458
549
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
459
550
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
460
551
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
461
552
|
* @param {string} [lastUpdatedBefore] A date used for selecting orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
462
553
|
* @param {Array<string>} [orderStatuses] A list of OrderStatus values used to filter the results. Possible values: PendingAvailability (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.); Pending (The order has been placed but payment has not been authorized); Unshipped (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped); PartiallyShipped (One or more, but not all, items in the order have been shipped); Shipped (All items in the order have been shipped); InvoiceUnconfirmed (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.); Canceled (The order has been canceled); and Unfulfillable (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.).
|
|
463
|
-
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values:
|
|
554
|
+
* @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. Possible values: AFN (Fulfillment by Amazon); MFN (Fulfilled by the seller).
|
|
464
555
|
* @param {Array<string>} [paymentMethods] A list of payment method values. Used to select orders paid using the specified payment methods. Possible values: COD (Cash on delivery); CVS (Convenience store payment); Other (Any payment method other than COD or CVS).
|
|
465
556
|
* @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
|
|
466
557
|
* @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If SellerOrderId is specified, then FulfillmentChannels, OrderStatuses, PaymentMethod, LastUpdatedAfter, LastUpdatedBefore, and BuyerEmail cannot be specified.
|
|
@@ -487,6 +578,16 @@ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
487
578
|
updateShipmentStatus(orderId, payload, options) {
|
|
488
579
|
return localVarFp.updateShipmentStatus(orderId, payload, options).then((request) => request(axios, basePath));
|
|
489
580
|
},
|
|
581
|
+
/**
|
|
582
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
583
|
+
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
584
|
+
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
updateVerificationStatus(orderId, payload, options) {
|
|
589
|
+
return localVarFp.updateVerificationStatus(orderId, payload, options).then((request) => request(axios, basePath));
|
|
590
|
+
},
|
|
490
591
|
};
|
|
491
592
|
};
|
|
492
593
|
/**
|
|
@@ -507,7 +608,7 @@ export class OrdersV0Api extends BaseAPI {
|
|
|
507
608
|
return OrdersV0ApiFp(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
508
609
|
}
|
|
509
610
|
/**
|
|
510
|
-
* Returns the shipping address for the specified order. **
|
|
611
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
511
612
|
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
512
613
|
* @param {*} [options] Override http request option.
|
|
513
614
|
* @throws {RequiredError}
|
|
@@ -517,7 +618,7 @@ export class OrdersV0Api extends BaseAPI {
|
|
|
517
618
|
return OrdersV0ApiFp(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
518
619
|
}
|
|
519
620
|
/**
|
|
520
|
-
* Returns buyer information for the specified order. **
|
|
621
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
521
622
|
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
522
623
|
* @param {*} [options] Override http request option.
|
|
523
624
|
* @throws {RequiredError}
|
|
@@ -537,7 +638,7 @@ export class OrdersV0Api extends BaseAPI {
|
|
|
537
638
|
return OrdersV0ApiFp(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
538
639
|
}
|
|
539
640
|
/**
|
|
540
|
-
* Returns buyer information for the order items in the specified order. **
|
|
641
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
541
642
|
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
542
643
|
* @param {*} [options] Override http request option.
|
|
543
644
|
* @throws {RequiredError}
|
|
@@ -546,6 +647,16 @@ export class OrdersV0Api extends BaseAPI {
|
|
|
546
647
|
getOrderItemsBuyerInfo(requestParameters, options) {
|
|
547
648
|
return OrdersV0ApiFp(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
548
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
652
|
+
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
653
|
+
* @param {*} [options] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
* @memberof OrdersV0Api
|
|
656
|
+
*/
|
|
657
|
+
getOrderRegulatedInfo(requestParameters, options) {
|
|
658
|
+
return OrdersV0ApiFp(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
659
|
+
}
|
|
549
660
|
/**
|
|
550
661
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
551
662
|
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
@@ -566,4 +677,14 @@ export class OrdersV0Api extends BaseAPI {
|
|
|
566
677
|
updateShipmentStatus(requestParameters, options) {
|
|
567
678
|
return OrdersV0ApiFp(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
568
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0055 | 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.
|
|
682
|
+
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
683
|
+
* @param {*} [options] Override http request option.
|
|
684
|
+
* @throws {RequiredError}
|
|
685
|
+
* @memberof OrdersV0Api
|
|
686
|
+
*/
|
|
687
|
+
updateVerificationStatus(requestParameters, options) {
|
|
688
|
+
return OrdersV0ApiFp(this.configuration).updateVerificationStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
689
|
+
}
|
|
569
690
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -2,6 +2,7 @@ export * from './address';
|
|
|
2
2
|
export * from './automated-shipping-settings';
|
|
3
3
|
export * from './buyer-customized-info-detail';
|
|
4
4
|
export * from './buyer-info';
|
|
5
|
+
export * from './buyer-requested-cancel';
|
|
5
6
|
export * from './buyer-tax-info';
|
|
6
7
|
export * from './buyer-tax-information';
|
|
7
8
|
export * from './fulfillment-instruction';
|
|
@@ -9,6 +10,7 @@ export * from './get-order-address-response';
|
|
|
9
10
|
export * from './get-order-buyer-info-response';
|
|
10
11
|
export * from './get-order-items-buyer-info-response';
|
|
11
12
|
export * from './get-order-items-response';
|
|
13
|
+
export * from './get-order-regulated-info-response';
|
|
12
14
|
export * from './get-order-response';
|
|
13
15
|
export * from './get-orders-response';
|
|
14
16
|
export * from './item-buyer-info';
|
|
@@ -22,12 +24,20 @@ export * from './order-item';
|
|
|
22
24
|
export * from './order-item-buyer-info';
|
|
23
25
|
export * from './order-items-buyer-info-list';
|
|
24
26
|
export * from './order-items-list';
|
|
27
|
+
export * from './order-regulated-info';
|
|
25
28
|
export * from './orders-list';
|
|
26
29
|
export * from './payment-execution-detail-item';
|
|
27
30
|
export * from './points-granted-detail';
|
|
28
31
|
export * from './product-info-detail';
|
|
32
|
+
export * from './regulated-information';
|
|
33
|
+
export * from './regulated-information-field';
|
|
34
|
+
export * from './regulated-order-verification-status';
|
|
35
|
+
export * from './rejection-reason';
|
|
29
36
|
export * from './shipment-status';
|
|
30
37
|
export * from './tax-classification';
|
|
31
38
|
export * from './tax-collection';
|
|
32
39
|
export * from './update-shipment-status-error-response';
|
|
33
40
|
export * from './update-shipment-status-request';
|
|
41
|
+
export * from './update-verification-status-error-response';
|
|
42
|
+
export * from './update-verification-status-request';
|
|
43
|
+
export * from './update-verification-status-request-body';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
export var RegulatedInformationFieldFieldTypeEnum;
|
|
19
|
+
(function (RegulatedInformationFieldFieldTypeEnum) {
|
|
20
|
+
RegulatedInformationFieldFieldTypeEnum["Text"] = "Text";
|
|
21
|
+
RegulatedInformationFieldFieldTypeEnum["FileAttachment"] = "FileAttachment";
|
|
22
|
+
})(RegulatedInformationFieldFieldTypeEnum || (RegulatedInformationFieldFieldTypeEnum = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|