@sp-api-sdk/orders-api-v0 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/{orders-api.js → orders-v0-api.js} +67 -107
- package/dist/cjs/api-model/api.js +2 -2
- package/dist/cjs/api-model/base.js +1 -1
- package/dist/cjs/api-model/common.js +1 -1
- package/dist/cjs/api-model/configuration.js +2 -3
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/address-extended-fields.js +1 -1
- package/dist/cjs/api-model/models/address.js +1 -1
- package/dist/cjs/api-model/models/amazon-programs.js +1 -1
- package/dist/cjs/api-model/models/associated-item.js +1 -1
- package/dist/cjs/api-model/models/association-type.js +1 -1
- package/dist/cjs/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/cjs/api-model/models/business-hours.js +1 -1
- package/dist/cjs/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/cjs/api-model/models/buyer-info.js +1 -1
- package/dist/cjs/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/cjs/api-model/models/buyer-tax-info.js +1 -1
- package/dist/cjs/api-model/models/buyer-tax-information.js +1 -1
- package/dist/cjs/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/cjs/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/cjs/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/cjs/api-model/models/constraint-type.js +1 -1
- package/dist/cjs/api-model/models/delivery-preferences.js +1 -1
- package/dist/cjs/api-model/models/easy-ship-shipment-status.js +1 -1
- package/dist/cjs/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/cjs/api-model/models/exception-dates.js +1 -1
- package/dist/cjs/api-model/models/export-info.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/cjs/api-model/models/get-order-address-response.js +1 -1
- package/dist/cjs/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/cjs/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/cjs/api-model/models/get-order-items-response.js +1 -1
- package/dist/cjs/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/cjs/api-model/models/get-order-response.js +1 -1
- package/dist/cjs/api-model/models/get-orders-response.js +1 -1
- package/dist/cjs/api-model/models/index.js +1 -0
- package/dist/cjs/api-model/models/item-buyer-info.js +1 -1
- package/dist/cjs/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/cjs/api-model/models/measurement.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/cjs/api-model/models/money.js +1 -1
- package/dist/cjs/api-model/models/open-interval.js +1 -1
- package/dist/cjs/api-model/models/open-time-interval.js +1 -1
- package/dist/cjs/api-model/models/order-address.js +1 -1
- package/dist/cjs/api-model/models/order-buyer-info.js +1 -1
- package/dist/cjs/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/cjs/api-model/models/order-item.js +1 -1
- package/dist/cjs/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/cjs/api-model/models/order-items-inner.js +1 -1
- package/dist/cjs/api-model/models/order-items-list.js +1 -1
- package/dist/cjs/api-model/models/order-regulated-info.js +1 -1
- package/dist/cjs/api-model/models/order.js +1 -1
- package/dist/cjs/api-model/models/orders-list.js +1 -1
- package/dist/cjs/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/cjs/api-model/models/package-detail.js +1 -1
- package/dist/cjs/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/cjs/api-model/models/points-granted-detail.js +1 -1
- package/dist/cjs/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/cjs/api-model/models/prescription-detail.js +1 -1
- package/dist/cjs/api-model/models/product-info-detail.js +1 -1
- package/dist/cjs/api-model/models/regulated-information-field.js +1 -1
- package/dist/cjs/api-model/models/regulated-information.js +1 -1
- package/dist/cjs/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/cjs/api-model/models/rejection-reason.js +1 -1
- package/dist/cjs/api-model/models/shipment-status.js +1 -1
- package/dist/cjs/api-model/models/shipping-constraints.js +1 -1
- package/dist/cjs/api-model/models/substitution-option.js +1 -1
- package/dist/cjs/api-model/models/substitution-preferences.js +1 -1
- package/dist/cjs/api-model/models/tax-classification.js +1 -1
- package/dist/cjs/api-model/models/tax-collection.js +1 -1
- package/dist/cjs/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/cjs/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/cjs/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/cjs/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/cjs/api-model/models/update-verification-status-request.js +1 -1
- package/dist/cjs/api-model/models/valid-verification-detail.js +1 -1
- package/dist/cjs/api-model/models/verification-details.js +1 -1
- package/dist/cjs/api-model/models/verification-status.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{orders-api.js → orders-v0-api.js} +62 -102
- package/dist/es/api-model/api.js +2 -2
- package/dist/es/api-model/base.js +1 -1
- package/dist/es/api-model/common.js +1 -1
- package/dist/es/api-model/configuration.js +2 -3
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/address-extended-fields.js +1 -1
- package/dist/es/api-model/models/address.js +1 -1
- package/dist/es/api-model/models/amazon-programs.js +1 -1
- package/dist/es/api-model/models/associated-item.js +1 -1
- package/dist/es/api-model/models/association-type.js +1 -1
- package/dist/es/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/es/api-model/models/business-hours.js +1 -1
- package/dist/es/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/es/api-model/models/buyer-info.js +1 -1
- package/dist/es/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/es/api-model/models/buyer-tax-info.js +1 -1
- package/dist/es/api-model/models/buyer-tax-information.js +1 -1
- package/dist/es/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/es/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/es/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/es/api-model/models/constraint-type.js +1 -1
- package/dist/es/api-model/models/delivery-preferences.js +1 -1
- package/dist/es/api-model/models/easy-ship-shipment-status.js +1 -1
- package/dist/es/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/es/api-model/models/exception-dates.js +1 -1
- package/dist/es/api-model/models/export-info.js +14 -0
- package/dist/es/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/es/api-model/models/get-order-address-response.js +1 -1
- package/dist/es/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/es/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/es/api-model/models/get-order-items-response.js +1 -1
- package/dist/es/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/es/api-model/models/get-order-response.js +1 -1
- package/dist/es/api-model/models/get-orders-response.js +1 -1
- package/dist/es/api-model/models/index.js +1 -0
- package/dist/es/api-model/models/item-buyer-info.js +1 -1
- package/dist/es/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/es/api-model/models/measurement.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/models/money.js +1 -1
- package/dist/es/api-model/models/open-interval.js +1 -1
- package/dist/es/api-model/models/open-time-interval.js +1 -1
- package/dist/es/api-model/models/order-address.js +1 -1
- package/dist/es/api-model/models/order-buyer-info.js +1 -1
- package/dist/es/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/es/api-model/models/order-item.js +1 -1
- package/dist/es/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/es/api-model/models/order-items-inner.js +1 -1
- package/dist/es/api-model/models/order-items-list.js +1 -1
- package/dist/es/api-model/models/order-regulated-info.js +1 -1
- package/dist/es/api-model/models/order.js +1 -1
- package/dist/es/api-model/models/orders-list.js +1 -1
- package/dist/es/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/es/api-model/models/package-detail.js +1 -1
- package/dist/es/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/es/api-model/models/points-granted-detail.js +1 -1
- package/dist/es/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/es/api-model/models/prescription-detail.js +1 -1
- package/dist/es/api-model/models/product-info-detail.js +1 -1
- package/dist/es/api-model/models/regulated-information-field.js +1 -1
- package/dist/es/api-model/models/regulated-information.js +1 -1
- package/dist/es/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/es/api-model/models/rejection-reason.js +1 -1
- package/dist/es/api-model/models/shipment-status.js +1 -1
- package/dist/es/api-model/models/shipping-constraints.js +1 -1
- package/dist/es/api-model/models/substitution-option.js +1 -1
- package/dist/es/api-model/models/substitution-preferences.js +1 -1
- package/dist/es/api-model/models/tax-classification.js +1 -1
- package/dist/es/api-model/models/tax-collection.js +1 -1
- package/dist/es/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/es/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/es/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/es/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/es/api-model/models/update-verification-status-request.js +1 -1
- package/dist/es/api-model/models/valid-verification-detail.js +1 -1
- package/dist/es/api-model/models/verification-details.js +1 -1
- package/dist/es/api-model/models/verification-status.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{orders-api.d.ts → orders-v0-api.d.ts} +126 -166
- package/dist/types/api-model/api.d.ts +2 -2
- package/dist/types/api-model/base.d.ts +1 -1
- package/dist/types/api-model/common.d.ts +2 -2
- package/dist/types/api-model/configuration.d.ts +1 -1
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/address-extended-fields.d.ts +1 -1
- package/dist/types/api-model/models/address.d.ts +1 -1
- package/dist/types/api-model/models/amazon-programs.d.ts +1 -1
- package/dist/types/api-model/models/associated-item.d.ts +1 -1
- package/dist/types/api-model/models/association-type.d.ts +1 -1
- package/dist/types/api-model/models/automated-shipping-settings.d.ts +1 -1
- package/dist/types/api-model/models/business-hours.d.ts +1 -1
- package/dist/types/api-model/models/buyer-customized-info-detail.d.ts +1 -1
- package/dist/types/api-model/models/buyer-info.d.ts +1 -1
- package/dist/types/api-model/models/buyer-requested-cancel.d.ts +1 -1
- package/dist/types/api-model/models/buyer-tax-info.d.ts +1 -1
- package/dist/types/api-model/models/buyer-tax-information.d.ts +1 -1
- package/dist/types/api-model/models/confirm-shipment-error-response.d.ts +1 -1
- package/dist/types/api-model/models/confirm-shipment-order-item.d.ts +1 -1
- package/dist/types/api-model/models/confirm-shipment-request.d.ts +1 -1
- package/dist/types/api-model/models/constraint-type.d.ts +1 -1
- package/dist/types/api-model/models/delivery-preferences.d.ts +1 -1
- package/dist/types/api-model/models/easy-ship-shipment-status.d.ts +1 -1
- package/dist/types/api-model/models/electronic-invoice-status.d.ts +1 -1
- package/dist/types/api-model/models/exception-dates.d.ts +1 -1
- package/dist/types/api-model/models/export-info.d.ts +31 -0
- package/dist/types/api-model/models/fulfillment-instruction.d.ts +1 -1
- package/dist/types/api-model/models/get-order-address-response.d.ts +1 -1
- package/dist/types/api-model/models/get-order-buyer-info-response.d.ts +1 -1
- package/dist/types/api-model/models/get-order-items-buyer-info-response.d.ts +1 -1
- package/dist/types/api-model/models/get-order-items-response.d.ts +1 -1
- package/dist/types/api-model/models/get-order-regulated-info-response.d.ts +1 -1
- package/dist/types/api-model/models/get-order-response.d.ts +1 -1
- package/dist/types/api-model/models/get-orders-response.d.ts +1 -1
- package/dist/types/api-model/models/index.d.ts +1 -0
- package/dist/types/api-model/models/item-buyer-info.d.ts +1 -1
- package/dist/types/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/api-model/models/measurement.d.ts +1 -1
- package/dist/types/api-model/models/model-error.d.ts +1 -1
- package/dist/types/api-model/models/money.d.ts +1 -1
- package/dist/types/api-model/models/open-interval.d.ts +1 -1
- package/dist/types/api-model/models/open-time-interval.d.ts +1 -1
- package/dist/types/api-model/models/order-address.d.ts +1 -1
- package/dist/types/api-model/models/order-buyer-info.d.ts +1 -1
- package/dist/types/api-model/models/order-item-buyer-info.d.ts +1 -1
- package/dist/types/api-model/models/order-item.d.ts +8 -1
- package/dist/types/api-model/models/order-items-buyer-info-list.d.ts +1 -1
- package/dist/types/api-model/models/order-items-inner.d.ts +1 -1
- package/dist/types/api-model/models/order-items-list.d.ts +1 -1
- package/dist/types/api-model/models/order-regulated-info.d.ts +1 -1
- package/dist/types/api-model/models/order.d.ts +1 -1
- package/dist/types/api-model/models/orders-list.d.ts +1 -1
- package/dist/types/api-model/models/other-delivery-attributes.d.ts +1 -1
- package/dist/types/api-model/models/package-detail.d.ts +1 -1
- package/dist/types/api-model/models/payment-execution-detail-item.d.ts +1 -1
- package/dist/types/api-model/models/points-granted-detail.d.ts +1 -1
- package/dist/types/api-model/models/preferred-delivery-time.d.ts +1 -1
- package/dist/types/api-model/models/prescription-detail.d.ts +1 -1
- package/dist/types/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/api-model/models/regulated-information-field.d.ts +1 -1
- package/dist/types/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/api-model/models/regulated-order-verification-status.d.ts +1 -1
- package/dist/types/api-model/models/rejection-reason.d.ts +1 -1
- package/dist/types/api-model/models/shipment-status.d.ts +1 -1
- package/dist/types/api-model/models/shipping-constraints.d.ts +1 -1
- package/dist/types/api-model/models/substitution-option.d.ts +1 -1
- package/dist/types/api-model/models/substitution-preferences.d.ts +1 -1
- package/dist/types/api-model/models/tax-classification.d.ts +1 -1
- package/dist/types/api-model/models/tax-collection.d.ts +1 -1
- package/dist/types/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/api-model/models/update-shipment-status-request.d.ts +1 -1
- package/dist/types/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/api-model/models/update-verification-status-request-body.d.ts +1 -1
- package/dist/types/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/api-model/models/valid-verification-detail.d.ts +1 -1
- package/dist/types/api-model/models/verification-details.d.ts +1 -1
- package/dist/types/api-model/models/verification-status.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Orders
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
6
|
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.OrdersV0Api = exports.OrdersV0ApiFactory = exports.OrdersV0ApiFp = exports.OrdersV0ApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,14 +24,13 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* OrdersV0Api - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
|
-
* @summary confirmShipment
|
|
35
34
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
36
35
|
* @param {ConfirmShipmentRequest} payload Request body of `confirmShipment`.
|
|
37
36
|
* @param {*} [options] Override http request option.
|
|
@@ -65,7 +64,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
65
64
|
},
|
|
66
65
|
/**
|
|
67
66
|
* Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
68
|
-
* @summary getOrder
|
|
69
67
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
70
68
|
* @param {*} [options] Override http request option.
|
|
71
69
|
* @throws {RequiredError}
|
|
@@ -94,7 +92,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
94
92
|
},
|
|
95
93
|
/**
|
|
96
94
|
* Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
97
|
-
* @summary getOrderAddress
|
|
98
95
|
* @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
|
|
99
96
|
* @param {*} [options] Override http request option.
|
|
100
97
|
* @throws {RequiredError}
|
|
@@ -123,7 +120,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
123
120
|
},
|
|
124
121
|
/**
|
|
125
122
|
* Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
126
|
-
* @summary getOrderBuyerInfo
|
|
127
123
|
* @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
|
|
128
124
|
* @param {*} [options] Override http request option.
|
|
129
125
|
* @throws {RequiredError}
|
|
@@ -152,7 +148,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
152
148
|
},
|
|
153
149
|
/**
|
|
154
150
|
* Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
155
|
-
* @summary getOrderItems
|
|
156
151
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
157
152
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
158
153
|
* @param {*} [options] Override http request option.
|
|
@@ -185,7 +180,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
185
180
|
},
|
|
186
181
|
/**
|
|
187
182
|
* Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
188
|
-
* @summary getOrderItemsBuyerInfo
|
|
189
183
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
190
184
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
191
185
|
* @param {*} [options] Override http request option.
|
|
@@ -218,7 +212,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
218
212
|
},
|
|
219
213
|
/**
|
|
220
214
|
* Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
221
|
-
* @summary getOrderRegulatedInfo
|
|
222
215
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
223
216
|
* @param {*} [options] Override http request option.
|
|
224
217
|
* @throws {RequiredError}
|
|
@@ -247,7 +240,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
247
240
|
},
|
|
248
241
|
/**
|
|
249
242
|
* Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
|
|
250
|
-
* @summary getOrders
|
|
251
243
|
* @param {Array<string>} marketplaceIds A list of `MarketplaceId` values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of `marketplaceId` values.
|
|
252
244
|
* @param {string} [createdAfter] Use this date to select orders created after (or at) a specified time. Only orders placed after the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: Either the `CreatedAfter` parameter or the `LastUpdatedAfter` parameter is required. Both cannot be empty. `LastUpdatedAfter` and `LastUpdatedBefore` cannot be set when `CreatedAfter` is set.
|
|
253
245
|
* @param {string} [createdBefore] Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: `CreatedBefore` is optional when `CreatedAfter` is set. If specified, `CreatedBefore` must be equal to or after the `CreatedAfter` date and at least two minutes before current time.
|
|
@@ -362,7 +354,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
362
354
|
},
|
|
363
355
|
/**
|
|
364
356
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
365
|
-
* @summary updateShipmentStatus
|
|
366
357
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
367
358
|
* @param {UpdateShipmentStatusRequest} payload The request body for the `updateShipmentStatus` operation.
|
|
368
359
|
* @param {*} [options] Override http request option.
|
|
@@ -396,7 +387,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
396
387
|
},
|
|
397
388
|
/**
|
|
398
389
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
399
|
-
* @summary updateVerificationStatus
|
|
400
390
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
401
391
|
* @param {UpdateVerificationStatusRequest} payload The request body for the `updateVerificationStatus` operation.
|
|
402
392
|
* @param {*} [options] Override http request option.
|
|
@@ -430,17 +420,16 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
430
420
|
},
|
|
431
421
|
};
|
|
432
422
|
};
|
|
433
|
-
exports.
|
|
423
|
+
exports.OrdersV0ApiAxiosParamCreator = OrdersV0ApiAxiosParamCreator;
|
|
434
424
|
/**
|
|
435
|
-
*
|
|
425
|
+
* OrdersV0Api - functional programming interface
|
|
436
426
|
* @export
|
|
437
427
|
*/
|
|
438
|
-
const
|
|
439
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
428
|
+
const OrdersV0ApiFp = function (configuration) {
|
|
429
|
+
const localVarAxiosParamCreator = (0, exports.OrdersV0ApiAxiosParamCreator)(configuration);
|
|
440
430
|
return {
|
|
441
431
|
/**
|
|
442
432
|
* Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
443
|
-
* @summary confirmShipment
|
|
444
433
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
445
434
|
* @param {ConfirmShipmentRequest} payload Request body of `confirmShipment`.
|
|
446
435
|
* @param {*} [options] Override http request option.
|
|
@@ -449,12 +438,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
449
438
|
async confirmShipment(orderId, payload, options) {
|
|
450
439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmShipment(orderId, payload, options);
|
|
451
440
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
452
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
441
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.confirmShipment']?.[localVarOperationServerIndex]?.url;
|
|
453
442
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
454
443
|
},
|
|
455
444
|
/**
|
|
456
445
|
* Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
457
|
-
* @summary getOrder
|
|
458
446
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
459
447
|
* @param {*} [options] Override http request option.
|
|
460
448
|
* @throws {RequiredError}
|
|
@@ -462,12 +450,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
462
450
|
async getOrder(orderId, options) {
|
|
463
451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(orderId, options);
|
|
464
452
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
465
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
453
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrder']?.[localVarOperationServerIndex]?.url;
|
|
466
454
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
467
455
|
},
|
|
468
456
|
/**
|
|
469
457
|
* Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
470
|
-
* @summary getOrderAddress
|
|
471
458
|
* @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
|
|
472
459
|
* @param {*} [options] Override http request option.
|
|
473
460
|
* @throws {RequiredError}
|
|
@@ -475,12 +462,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
475
462
|
async getOrderAddress(orderId, options) {
|
|
476
463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderAddress(orderId, options);
|
|
477
464
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
478
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
465
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrderAddress']?.[localVarOperationServerIndex]?.url;
|
|
479
466
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
480
467
|
},
|
|
481
468
|
/**
|
|
482
469
|
* Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
483
|
-
* @summary getOrderBuyerInfo
|
|
484
470
|
* @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
|
|
485
471
|
* @param {*} [options] Override http request option.
|
|
486
472
|
* @throws {RequiredError}
|
|
@@ -488,12 +474,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
488
474
|
async getOrderBuyerInfo(orderId, options) {
|
|
489
475
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderBuyerInfo(orderId, options);
|
|
490
476
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
491
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
477
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
|
|
492
478
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
493
479
|
},
|
|
494
480
|
/**
|
|
495
481
|
* Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
496
|
-
* @summary getOrderItems
|
|
497
482
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
498
483
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
499
484
|
* @param {*} [options] Override http request option.
|
|
@@ -502,12 +487,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
502
487
|
async getOrderItems(orderId, nextToken, options) {
|
|
503
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItems(orderId, nextToken, options);
|
|
504
489
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
505
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
490
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrderItems']?.[localVarOperationServerIndex]?.url;
|
|
506
491
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
507
492
|
},
|
|
508
493
|
/**
|
|
509
494
|
* Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
510
|
-
* @summary getOrderItemsBuyerInfo
|
|
511
495
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
512
496
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
513
497
|
* @param {*} [options] Override http request option.
|
|
@@ -516,12 +500,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
516
500
|
async getOrderItemsBuyerInfo(orderId, nextToken, options) {
|
|
517
501
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItemsBuyerInfo(orderId, nextToken, options);
|
|
518
502
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
519
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
503
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrderItemsBuyerInfo']?.[localVarOperationServerIndex]?.url;
|
|
520
504
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
505
|
},
|
|
522
506
|
/**
|
|
523
507
|
* Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
524
|
-
* @summary getOrderRegulatedInfo
|
|
525
508
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
526
509
|
* @param {*} [options] Override http request option.
|
|
527
510
|
* @throws {RequiredError}
|
|
@@ -529,12 +512,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
529
512
|
async getOrderRegulatedInfo(orderId, options) {
|
|
530
513
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderRegulatedInfo(orderId, options);
|
|
531
514
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
532
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
515
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrderRegulatedInfo']?.[localVarOperationServerIndex]?.url;
|
|
533
516
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
534
517
|
},
|
|
535
518
|
/**
|
|
536
519
|
* Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
|
|
537
|
-
* @summary getOrders
|
|
538
520
|
* @param {Array<string>} marketplaceIds A list of `MarketplaceId` values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of `marketplaceId` values.
|
|
539
521
|
* @param {string} [createdAfter] Use this date to select orders created after (or at) a specified time. Only orders placed after the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: Either the `CreatedAfter` parameter or the `LastUpdatedAfter` parameter is required. Both cannot be empty. `LastUpdatedAfter` and `LastUpdatedBefore` cannot be set when `CreatedAfter` is set.
|
|
540
522
|
* @param {string} [createdBefore] Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: `CreatedBefore` is optional when `CreatedAfter` is set. If specified, `CreatedBefore` must be equal to or after the `CreatedAfter` date and at least two minutes before current time.
|
|
@@ -563,12 +545,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
563
545
|
async getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options) {
|
|
564
546
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options);
|
|
565
547
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
566
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
548
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.getOrders']?.[localVarOperationServerIndex]?.url;
|
|
567
549
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
550
|
},
|
|
569
551
|
/**
|
|
570
552
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
571
|
-
* @summary updateShipmentStatus
|
|
572
553
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
573
554
|
* @param {UpdateShipmentStatusRequest} payload The request body for the `updateShipmentStatus` operation.
|
|
574
555
|
* @param {*} [options] Override http request option.
|
|
@@ -577,12 +558,11 @@ const OrdersApiFp = function (configuration) {
|
|
|
577
558
|
async updateShipmentStatus(orderId, payload, options) {
|
|
578
559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentStatus(orderId, payload, options);
|
|
579
560
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
580
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
561
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.updateShipmentStatus']?.[localVarOperationServerIndex]?.url;
|
|
581
562
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
582
563
|
},
|
|
583
564
|
/**
|
|
584
565
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
585
|
-
* @summary updateVerificationStatus
|
|
586
566
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
587
567
|
* @param {UpdateVerificationStatusRequest} payload The request body for the `updateVerificationStatus` operation.
|
|
588
568
|
* @param {*} [options] Override http request option.
|
|
@@ -591,23 +571,22 @@ const OrdersApiFp = function (configuration) {
|
|
|
591
571
|
async updateVerificationStatus(orderId, payload, options) {
|
|
592
572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateVerificationStatus(orderId, payload, options);
|
|
593
573
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
594
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
574
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersV0Api.updateVerificationStatus']?.[localVarOperationServerIndex]?.url;
|
|
595
575
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
596
576
|
},
|
|
597
577
|
};
|
|
598
578
|
};
|
|
599
|
-
exports.
|
|
579
|
+
exports.OrdersV0ApiFp = OrdersV0ApiFp;
|
|
600
580
|
/**
|
|
601
|
-
*
|
|
581
|
+
* OrdersV0Api - factory interface
|
|
602
582
|
* @export
|
|
603
583
|
*/
|
|
604
|
-
const
|
|
605
|
-
const localVarFp = (0, exports.
|
|
584
|
+
const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
585
|
+
const localVarFp = (0, exports.OrdersV0ApiFp)(configuration);
|
|
606
586
|
return {
|
|
607
587
|
/**
|
|
608
588
|
* Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
609
|
-
* @
|
|
610
|
-
* @param {OrdersApiConfirmShipmentRequest} requestParameters Request parameters.
|
|
589
|
+
* @param {OrdersV0ApiConfirmShipmentRequest} requestParameters Request parameters.
|
|
611
590
|
* @param {*} [options] Override http request option.
|
|
612
591
|
* @throws {RequiredError}
|
|
613
592
|
*/
|
|
@@ -616,8 +595,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
616
595
|
},
|
|
617
596
|
/**
|
|
618
597
|
* Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
619
|
-
* @
|
|
620
|
-
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
598
|
+
* @param {OrdersV0ApiGetOrderRequest} requestParameters Request parameters.
|
|
621
599
|
* @param {*} [options] Override http request option.
|
|
622
600
|
* @throws {RequiredError}
|
|
623
601
|
*/
|
|
@@ -626,8 +604,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
626
604
|
},
|
|
627
605
|
/**
|
|
628
606
|
* Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
629
|
-
* @
|
|
630
|
-
* @param {OrdersApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
607
|
+
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
631
608
|
* @param {*} [options] Override http request option.
|
|
632
609
|
* @throws {RequiredError}
|
|
633
610
|
*/
|
|
@@ -636,8 +613,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
636
613
|
},
|
|
637
614
|
/**
|
|
638
615
|
* Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
639
|
-
* @
|
|
640
|
-
* @param {OrdersApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
616
|
+
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
641
617
|
* @param {*} [options] Override http request option.
|
|
642
618
|
* @throws {RequiredError}
|
|
643
619
|
*/
|
|
@@ -646,8 +622,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
646
622
|
},
|
|
647
623
|
/**
|
|
648
624
|
* Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
649
|
-
* @
|
|
650
|
-
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
625
|
+
* @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
651
626
|
* @param {*} [options] Override http request option.
|
|
652
627
|
* @throws {RequiredError}
|
|
653
628
|
*/
|
|
@@ -656,8 +631,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
656
631
|
},
|
|
657
632
|
/**
|
|
658
633
|
* Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
659
|
-
* @
|
|
660
|
-
* @param {OrdersApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
634
|
+
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
661
635
|
* @param {*} [options] Override http request option.
|
|
662
636
|
* @throws {RequiredError}
|
|
663
637
|
*/
|
|
@@ -666,8 +640,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
666
640
|
},
|
|
667
641
|
/**
|
|
668
642
|
* Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
669
|
-
* @
|
|
670
|
-
* @param {OrdersApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
643
|
+
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
671
644
|
* @param {*} [options] Override http request option.
|
|
672
645
|
* @throws {RequiredError}
|
|
673
646
|
*/
|
|
@@ -676,8 +649,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
676
649
|
},
|
|
677
650
|
/**
|
|
678
651
|
* Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
|
|
679
|
-
* @
|
|
680
|
-
* @param {OrdersApiGetOrdersRequest} requestParameters Request parameters.
|
|
652
|
+
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
681
653
|
* @param {*} [options] Override http request option.
|
|
682
654
|
* @throws {RequiredError}
|
|
683
655
|
*/
|
|
@@ -686,8 +658,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
686
658
|
},
|
|
687
659
|
/**
|
|
688
660
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
689
|
-
* @
|
|
690
|
-
* @param {OrdersApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
661
|
+
* @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
691
662
|
* @param {*} [options] Override http request option.
|
|
692
663
|
* @throws {RequiredError}
|
|
693
664
|
*/
|
|
@@ -696,8 +667,7 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
696
667
|
},
|
|
697
668
|
/**
|
|
698
669
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
699
|
-
* @
|
|
700
|
-
* @param {OrdersApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
670
|
+
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
701
671
|
* @param {*} [options] Override http request option.
|
|
702
672
|
* @throws {RequiredError}
|
|
703
673
|
*/
|
|
@@ -706,123 +676,113 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
706
676
|
},
|
|
707
677
|
};
|
|
708
678
|
};
|
|
709
|
-
exports.
|
|
679
|
+
exports.OrdersV0ApiFactory = OrdersV0ApiFactory;
|
|
710
680
|
/**
|
|
711
|
-
*
|
|
681
|
+
* OrdersV0Api - object-oriented interface
|
|
712
682
|
* @export
|
|
713
|
-
* @class
|
|
683
|
+
* @class OrdersV0Api
|
|
714
684
|
* @extends {BaseAPI}
|
|
715
685
|
*/
|
|
716
|
-
class
|
|
686
|
+
class OrdersV0Api extends base_1.BaseAPI {
|
|
717
687
|
/**
|
|
718
688
|
* Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
719
|
-
* @
|
|
720
|
-
* @param {OrdersApiConfirmShipmentRequest} requestParameters Request parameters.
|
|
689
|
+
* @param {OrdersV0ApiConfirmShipmentRequest} requestParameters Request parameters.
|
|
721
690
|
* @param {*} [options] Override http request option.
|
|
722
691
|
* @throws {RequiredError}
|
|
723
|
-
* @memberof
|
|
692
|
+
* @memberof OrdersV0Api
|
|
724
693
|
*/
|
|
725
694
|
confirmShipment(requestParameters, options) {
|
|
726
|
-
return (0, exports.
|
|
695
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).confirmShipment(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
727
696
|
}
|
|
728
697
|
/**
|
|
729
698
|
* Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
730
|
-
* @
|
|
731
|
-
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
699
|
+
* @param {OrdersV0ApiGetOrderRequest} requestParameters Request parameters.
|
|
732
700
|
* @param {*} [options] Override http request option.
|
|
733
701
|
* @throws {RequiredError}
|
|
734
|
-
* @memberof
|
|
702
|
+
* @memberof OrdersV0Api
|
|
735
703
|
*/
|
|
736
704
|
getOrder(requestParameters, options) {
|
|
737
|
-
return (0, exports.
|
|
705
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
738
706
|
}
|
|
739
707
|
/**
|
|
740
708
|
* Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
741
|
-
* @
|
|
742
|
-
* @param {OrdersApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
709
|
+
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
743
710
|
* @param {*} [options] Override http request option.
|
|
744
711
|
* @throws {RequiredError}
|
|
745
|
-
* @memberof
|
|
712
|
+
* @memberof OrdersV0Api
|
|
746
713
|
*/
|
|
747
714
|
getOrderAddress(requestParameters, options) {
|
|
748
|
-
return (0, exports.
|
|
715
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
749
716
|
}
|
|
750
717
|
/**
|
|
751
718
|
* Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
752
|
-
* @
|
|
753
|
-
* @param {OrdersApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
719
|
+
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
754
720
|
* @param {*} [options] Override http request option.
|
|
755
721
|
* @throws {RequiredError}
|
|
756
|
-
* @memberof
|
|
722
|
+
* @memberof OrdersV0Api
|
|
757
723
|
*/
|
|
758
724
|
getOrderBuyerInfo(requestParameters, options) {
|
|
759
|
-
return (0, exports.
|
|
725
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
760
726
|
}
|
|
761
727
|
/**
|
|
762
728
|
* Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
763
|
-
* @
|
|
764
|
-
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
729
|
+
* @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
765
730
|
* @param {*} [options] Override http request option.
|
|
766
731
|
* @throws {RequiredError}
|
|
767
|
-
* @memberof
|
|
732
|
+
* @memberof OrdersV0Api
|
|
768
733
|
*/
|
|
769
734
|
getOrderItems(requestParameters, options) {
|
|
770
|
-
return (0, exports.
|
|
735
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
771
736
|
}
|
|
772
737
|
/**
|
|
773
738
|
* Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
774
|
-
* @
|
|
775
|
-
* @param {OrdersApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
739
|
+
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
776
740
|
* @param {*} [options] Override http request option.
|
|
777
741
|
* @throws {RequiredError}
|
|
778
|
-
* @memberof
|
|
742
|
+
* @memberof OrdersV0Api
|
|
779
743
|
*/
|
|
780
744
|
getOrderItemsBuyerInfo(requestParameters, options) {
|
|
781
|
-
return (0, exports.
|
|
745
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
782
746
|
}
|
|
783
747
|
/**
|
|
784
748
|
* Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
785
|
-
* @
|
|
786
|
-
* @param {OrdersApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
749
|
+
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
787
750
|
* @param {*} [options] Override http request option.
|
|
788
751
|
* @throws {RequiredError}
|
|
789
|
-
* @memberof
|
|
752
|
+
* @memberof OrdersV0Api
|
|
790
753
|
*/
|
|
791
754
|
getOrderRegulatedInfo(requestParameters, options) {
|
|
792
|
-
return (0, exports.
|
|
755
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
793
756
|
}
|
|
794
757
|
/**
|
|
795
758
|
* Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
|
|
796
|
-
* @
|
|
797
|
-
* @param {OrdersApiGetOrdersRequest} requestParameters Request parameters.
|
|
759
|
+
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
798
760
|
* @param {*} [options] Override http request option.
|
|
799
761
|
* @throws {RequiredError}
|
|
800
|
-
* @memberof
|
|
762
|
+
* @memberof OrdersV0Api
|
|
801
763
|
*/
|
|
802
764
|
getOrders(requestParameters, options) {
|
|
803
|
-
return (0, exports.
|
|
765
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, requestParameters.earliestDeliveryDateBefore, requestParameters.earliestDeliveryDateAfter, requestParameters.latestDeliveryDateBefore, requestParameters.latestDeliveryDateAfter, options).then((request) => request(this.axios, this.basePath));
|
|
804
766
|
}
|
|
805
767
|
/**
|
|
806
768
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
807
|
-
* @
|
|
808
|
-
* @param {OrdersApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
769
|
+
* @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
809
770
|
* @param {*} [options] Override http request option.
|
|
810
771
|
* @throws {RequiredError}
|
|
811
|
-
* @memberof
|
|
772
|
+
* @memberof OrdersV0Api
|
|
812
773
|
*/
|
|
813
774
|
updateShipmentStatus(requestParameters, options) {
|
|
814
|
-
return (0, exports.
|
|
775
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
815
776
|
}
|
|
816
777
|
/**
|
|
817
778
|
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
818
|
-
* @
|
|
819
|
-
* @param {OrdersApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
779
|
+
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
820
780
|
* @param {*} [options] Override http request option.
|
|
821
781
|
* @throws {RequiredError}
|
|
822
|
-
* @memberof
|
|
782
|
+
* @memberof OrdersV0Api
|
|
823
783
|
*/
|
|
824
784
|
updateVerificationStatus(requestParameters, options) {
|
|
825
|
-
return (0, exports.
|
|
785
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).updateVerificationStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
826
786
|
}
|
|
827
787
|
}
|
|
828
|
-
exports.
|
|
788
|
+
exports.OrdersV0Api = OrdersV0Api;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Orders
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
6
|
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/orders-api"), exports);
|
|
30
|
+
__exportStar(require("./api/orders-v0-api"), exports);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Orders
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
6
|
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Orders
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
6
|
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|