@sp-api-sdk/orders-api-v0 1.12.2 → 1.13.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/dist/cjs/src/api-model/api/orders-v0-api.js +45 -45
- package/dist/cjs/src/api-model/models/address.js +4 -9
- package/dist/cjs/src/api-model/models/index.js +1 -0
- package/dist/cjs/src/api-model/models/order-item.js +4 -9
- package/dist/cjs/src/api-model/models/order.js +30 -55
- package/dist/cjs/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +0 -13
- package/dist/cjs/src/api-model/models/shipment-status.js +5 -6
- package/dist/cjs/src/api-model/models/tax-collection.js +6 -16
- package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +0 -10
- package/dist/cjs/src/api-model/models/verification-status.js +28 -0
- package/dist/cjs/src/client.js +19 -12
- package/dist/es/src/api-model/api/orders-v0-api.js +45 -45
- package/dist/es/src/api-model/models/address.js +4 -9
- package/dist/es/src/api-model/models/index.js +1 -0
- package/dist/es/src/api-model/models/order-item.js +4 -9
- package/dist/es/src/api-model/models/order.js +30 -55
- package/dist/es/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/es/src/api-model/models/regulated-order-verification-status.js +1 -12
- package/dist/es/src/api-model/models/shipment-status.js +5 -6
- package/dist/es/src/api-model/models/tax-collection.js +6 -16
- package/dist/es/src/api-model/models/update-verification-status-request-body.js +1 -9
- package/dist/es/src/api-model/models/verification-status.js +25 -0
- package/dist/es/src/client.js +19 -12
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +64 -64
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- package/dist/types/src/api-model/models/address.d.ts +18 -21
- package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-info.d.ts +5 -5
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +4 -4
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-orders-response.d.ts +2 -2
- package/dist/types/src/api-model/models/index.d.ts +1 -0
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +5 -5
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/money.d.ts +2 -2
- package/dist/types/src/api-model/models/order-address.d.ts +2 -2
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item.d.ts +39 -42
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-items-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +4 -4
- package/dist/types/src/api-model/models/order.d.ts +86 -95
- package/dist/types/src/api-model/models/orders-list.d.ts +4 -4
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +2 -2
- package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +9 -12
- package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +9 -19
- package/dist/types/src/api-model/models/rejection-reason.d.ts +2 -2
- package/dist/types/src/api-model/models/shipment-status.d.ts +6 -5
- package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
- package/dist/types/src/api-model/models/tax-collection.d.ts +10 -16
- package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +3 -3
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +6 -13
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/verification-status.d.ts +24 -0
- package/package.json +5 -5
|
@@ -28,7 +28,7 @@ const base_1 = require("../base");
|
|
|
28
28
|
const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
29
29
|
return {
|
|
30
30
|
/**
|
|
31
|
-
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
31
|
+
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
32
32
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
33
33
|
* @param {*} [options] Override http request option.
|
|
34
34
|
* @throws {RequiredError}
|
|
@@ -47,7 +47,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
48
48
|
const localVarHeaderParameter = {};
|
|
49
49
|
const localVarQueryParameter = {};
|
|
50
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
50
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
51
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
53
53
|
return {
|
|
@@ -56,7 +56,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
56
56
|
};
|
|
57
57
|
},
|
|
58
58
|
/**
|
|
59
|
-
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
59
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
60
60
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
@@ -75,7 +75,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
76
76
|
const localVarHeaderParameter = {};
|
|
77
77
|
const localVarQueryParameter = {};
|
|
78
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
78
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
79
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
80
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
81
81
|
return {
|
|
@@ -84,7 +84,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
},
|
|
86
86
|
/**
|
|
87
|
-
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
87
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
88
88
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
@@ -103,7 +103,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
104
104
|
const localVarHeaderParameter = {};
|
|
105
105
|
const localVarQueryParameter = {};
|
|
106
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
108
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
109
|
return {
|
|
@@ -112,7 +112,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
};
|
|
113
113
|
},
|
|
114
114
|
/**
|
|
115
|
-
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
115
|
+
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
116
116
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
117
117
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
118
118
|
* @param {*} [options] Override http request option.
|
|
@@ -135,7 +135,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
if (nextToken !== undefined) {
|
|
136
136
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
137
137
|
}
|
|
138
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
138
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
139
139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
140
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
141
141
|
return {
|
|
@@ -144,7 +144,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
};
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
|
-
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
147
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
148
148
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
149
149
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
@@ -167,7 +167,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
167
167
|
if (nextToken !== undefined) {
|
|
168
168
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
169
169
|
}
|
|
170
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
171
171
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
172
172
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
173
173
|
return {
|
|
@@ -176,7 +176,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
|
-
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
179
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
180
180
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
181
181
|
* @param {*} [options] Override http request option.
|
|
182
182
|
* @throws {RequiredError}
|
|
@@ -195,7 +195,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
196
196
|
const localVarHeaderParameter = {};
|
|
197
197
|
const localVarQueryParameter = {};
|
|
198
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
199
199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
200
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
201
201
|
return {
|
|
@@ -204,7 +204,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
204
204
|
};
|
|
205
205
|
},
|
|
206
206
|
/**
|
|
207
|
-
* 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.
|
|
207
|
+
* 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.0167 | 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.
|
|
208
208
|
* @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.
|
|
209
209
|
* @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.
|
|
210
210
|
* @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.
|
|
@@ -289,7 +289,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
289
289
|
if (storeChainStoreId !== undefined) {
|
|
290
290
|
localVarQueryParameter['StoreChainStoreId'] = storeChainStoreId;
|
|
291
291
|
}
|
|
292
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
292
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
293
293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
294
294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
295
295
|
return {
|
|
@@ -298,7 +298,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
298
298
|
};
|
|
299
299
|
},
|
|
300
300
|
/**
|
|
301
|
-
* Update the shipment status.
|
|
301
|
+
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
302
302
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
303
303
|
* @param {UpdateShipmentStatusRequest} payload Request to update the shipment status.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -321,7 +321,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
const localVarHeaderParameter = {};
|
|
322
322
|
const localVarQueryParameter = {};
|
|
323
323
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
324
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
324
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
325
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
326
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
327
327
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(payload, localVarRequestOptions, configuration);
|
|
@@ -331,7 +331,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
331
331
|
};
|
|
332
332
|
},
|
|
333
333
|
/**
|
|
334
|
-
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
334
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
335
335
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
336
336
|
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
337
337
|
* @param {*} [options] Override http request option.
|
|
@@ -354,7 +354,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
354
354
|
const localVarHeaderParameter = {};
|
|
355
355
|
const localVarQueryParameter = {};
|
|
356
356
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
358
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
359
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
360
360
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(payload, localVarRequestOptions, configuration);
|
|
@@ -374,7 +374,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
374
374
|
const localVarAxiosParamCreator = (0, exports.OrdersV0ApiAxiosParamCreator)(configuration);
|
|
375
375
|
return {
|
|
376
376
|
/**
|
|
377
|
-
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
377
|
+
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
378
378
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
@@ -384,7 +384,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
384
384
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
385
385
|
},
|
|
386
386
|
/**
|
|
387
|
-
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
387
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
388
388
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
@@ -394,7 +394,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
394
394
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
|
-
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
397
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
398
398
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
400
400
|
* @throws {RequiredError}
|
|
@@ -404,7 +404,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
404
404
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
405
405
|
},
|
|
406
406
|
/**
|
|
407
|
-
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
407
|
+
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
408
408
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
409
409
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
@@ -415,7 +415,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
415
415
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
|
-
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
418
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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
419
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
420
420
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
421
421
|
* @param {*} [options] Override http request option.
|
|
@@ -426,7 +426,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
426
426
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
427
427
|
},
|
|
428
428
|
/**
|
|
429
|
-
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
429
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
430
430
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
431
431
|
* @param {*} [options] Override http request option.
|
|
432
432
|
* @throws {RequiredError}
|
|
@@ -436,7 +436,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
436
436
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
437
437
|
},
|
|
438
438
|
/**
|
|
439
|
-
* 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.
|
|
439
|
+
* 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.0167 | 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.
|
|
440
440
|
* @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.
|
|
441
441
|
* @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.
|
|
442
442
|
* @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.
|
|
@@ -462,7 +462,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
462
462
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
|
-
* Update the shipment status.
|
|
465
|
+
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
466
466
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
467
467
|
* @param {UpdateShipmentStatusRequest} payload Request to update the shipment status.
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
@@ -473,7 +473,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
473
473
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
474
474
|
},
|
|
475
475
|
/**
|
|
476
|
-
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
476
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
477
477
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
478
478
|
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
479
479
|
* @param {*} [options] Override http request option.
|
|
@@ -494,7 +494,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
494
494
|
const localVarFp = (0, exports.OrdersV0ApiFp)(configuration);
|
|
495
495
|
return {
|
|
496
496
|
/**
|
|
497
|
-
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
497
|
+
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
498
498
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
499
499
|
* @param {*} [options] Override http request option.
|
|
500
500
|
* @throws {RequiredError}
|
|
@@ -503,7 +503,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
503
503
|
return localVarFp.getOrder(orderId, options).then((request) => request(axios, basePath));
|
|
504
504
|
},
|
|
505
505
|
/**
|
|
506
|
-
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
506
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
507
507
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
@@ -512,7 +512,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
512
512
|
return localVarFp.getOrderAddress(orderId, options).then((request) => request(axios, basePath));
|
|
513
513
|
},
|
|
514
514
|
/**
|
|
515
|
-
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
515
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
516
516
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
517
517
|
* @param {*} [options] Override http request option.
|
|
518
518
|
* @throws {RequiredError}
|
|
@@ -521,7 +521,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
521
521
|
return localVarFp.getOrderBuyerInfo(orderId, options).then((request) => request(axios, basePath));
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
|
-
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
524
|
+
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
525
525
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
526
526
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -531,7 +531,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
531
531
|
return localVarFp.getOrderItems(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
532
532
|
},
|
|
533
533
|
/**
|
|
534
|
-
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
534
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
535
535
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
536
536
|
* @param {string} [nextToken] A string token returned in the response of your previous request.
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
@@ -541,7 +541,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
541
541
|
return localVarFp.getOrderItemsBuyerInfo(orderId, nextToken, options).then((request) => request(axios, basePath));
|
|
542
542
|
},
|
|
543
543
|
/**
|
|
544
|
-
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
544
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
545
545
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
547
547
|
* @throws {RequiredError}
|
|
@@ -550,7 +550,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
550
550
|
return localVarFp.getOrderRegulatedInfo(orderId, options).then((request) => request(axios, basePath));
|
|
551
551
|
},
|
|
552
552
|
/**
|
|
553
|
-
* 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.
|
|
553
|
+
* 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.0167 | 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.
|
|
554
554
|
* @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.
|
|
555
555
|
* @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.
|
|
556
556
|
* @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.
|
|
@@ -575,7 +575,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
575
575
|
return localVarFp.getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, options).then((request) => request(axios, basePath));
|
|
576
576
|
},
|
|
577
577
|
/**
|
|
578
|
-
* Update the shipment status.
|
|
578
|
+
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
579
579
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
580
580
|
* @param {UpdateShipmentStatusRequest} payload Request to update the shipment status.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
@@ -585,7 +585,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
585
585
|
return localVarFp.updateShipmentStatus(orderId, payload, options).then((request) => request(axios, basePath));
|
|
586
586
|
},
|
|
587
587
|
/**
|
|
588
|
-
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
588
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
589
589
|
* @param {string} orderId An orderId is an Amazon-defined order identifier, in 3-7-7 format.
|
|
590
590
|
* @param {UpdateVerificationStatusRequest} payload Request to update the verification status of an order containing regulated products.
|
|
591
591
|
* @param {*} [options] Override http request option.
|
|
@@ -605,7 +605,7 @@ exports.OrdersV0ApiFactory = OrdersV0ApiFactory;
|
|
|
605
605
|
*/
|
|
606
606
|
class OrdersV0Api extends base_1.BaseAPI {
|
|
607
607
|
/**
|
|
608
|
-
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
608
|
+
* Returns the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
609
609
|
* @param {OrdersV0ApiGetOrderRequest} requestParameters Request parameters.
|
|
610
610
|
* @param {*} [options] Override http request option.
|
|
611
611
|
* @throws {RequiredError}
|
|
@@ -615,7 +615,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
615
615
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
616
616
|
}
|
|
617
617
|
/**
|
|
618
|
-
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
618
|
+
* Returns the shipping address for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
619
619
|
* @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
|
|
620
620
|
* @param {*} [options] Override http request option.
|
|
621
621
|
* @throws {RequiredError}
|
|
@@ -625,7 +625,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
625
625
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
626
626
|
}
|
|
627
627
|
/**
|
|
628
|
-
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
628
|
+
* Returns buyer information for the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.0167 | 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.
|
|
629
629
|
* @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
|
|
630
630
|
* @param {*} [options] Override http request option.
|
|
631
631
|
* @throws {RequiredError}
|
|
@@ -635,7 +635,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
635
635
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
|
-
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
638
|
+
* Returns detailed order item information for the order indicated by the specified order ID. 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 Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
639
639
|
* @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
640
640
|
* @param {*} [options] Override http request option.
|
|
641
641
|
* @throws {RequiredError}
|
|
@@ -645,7 +645,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
645
645
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
646
646
|
}
|
|
647
647
|
/**
|
|
648
|
-
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
648
|
+
* Returns buyer information for the order items in the specified order. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
649
649
|
* @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
651
651
|
* @throws {RequiredError}
|
|
@@ -655,7 +655,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
655
655
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
656
656
|
}
|
|
657
657
|
/**
|
|
658
|
-
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
658
|
+
* Returns regulated information for the order indicated by the specified order ID. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
659
659
|
* @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
|
|
660
660
|
* @param {*} [options] Override http request option.
|
|
661
661
|
* @throws {RequiredError}
|
|
@@ -665,7 +665,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
665
665
|
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
666
666
|
}
|
|
667
667
|
/**
|
|
668
|
-
* 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.
|
|
668
|
+
* 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.0167 | 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.
|
|
669
669
|
* @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
|
|
670
670
|
* @param {*} [options] Override http request option.
|
|
671
671
|
* @throws {RequiredError}
|
|
@@ -675,7 +675,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
675
675
|
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.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, options).then((request) => request(this.axios, this.basePath));
|
|
676
676
|
}
|
|
677
677
|
/**
|
|
678
|
-
* Update the shipment status.
|
|
678
|
+
* Update the shipment status. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 15 | |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.
|
|
679
679
|
* @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
|
|
680
680
|
* @param {*} [options] Override http request option.
|
|
681
681
|
* @throws {RequiredError}
|
|
@@ -685,7 +685,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
685
685
|
return (0, exports.OrdersV0ApiFp)(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
|
|
686
686
|
}
|
|
687
687
|
/**
|
|
688
|
-
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.
|
|
688
|
+
* Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 0.5 | 30 | |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.
|
|
689
689
|
* @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
|
|
690
690
|
* @param {*} [options] Override http request option.
|
|
691
691
|
* @throws {RequiredError}
|
|
@@ -14,12 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AddressAddressTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var AddressAddressTypeEnum;
|
|
22
|
-
(function (AddressAddressTypeEnum) {
|
|
23
|
-
AddressAddressTypeEnum["Residential"] = "Residential";
|
|
24
|
-
AddressAddressTypeEnum["Commercial"] = "Commercial";
|
|
25
|
-
})(AddressAddressTypeEnum = exports.AddressAddressTypeEnum || (exports.AddressAddressTypeEnum = {}));
|
|
17
|
+
exports.AddressAddressTypeEnum = {
|
|
18
|
+
Residential: 'Residential',
|
|
19
|
+
Commercial: 'Commercial'
|
|
20
|
+
};
|
|
@@ -44,3 +44,4 @@ tslib_1.__exportStar(require("./update-shipment-status-request"), exports);
|
|
|
44
44
|
tslib_1.__exportStar(require("./update-verification-status-error-response"), exports);
|
|
45
45
|
tslib_1.__exportStar(require("./update-verification-status-request"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./update-verification-status-request-body"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./verification-status"), exports);
|
|
@@ -14,12 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrderItemDeemedResellerCategoryEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var OrderItemDeemedResellerCategoryEnum;
|
|
22
|
-
(function (OrderItemDeemedResellerCategoryEnum) {
|
|
23
|
-
OrderItemDeemedResellerCategoryEnum["Ioss"] = "IOSS";
|
|
24
|
-
OrderItemDeemedResellerCategoryEnum["Uoss"] = "UOSS";
|
|
25
|
-
})(OrderItemDeemedResellerCategoryEnum = exports.OrderItemDeemedResellerCategoryEnum || (exports.OrderItemDeemedResellerCategoryEnum = {}));
|
|
17
|
+
exports.OrderItemDeemedResellerCategoryEnum = {
|
|
18
|
+
Ioss: 'IOSS',
|
|
19
|
+
Uoss: 'UOSS'
|
|
20
|
+
};
|
|
@@ -14,58 +14,33 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrderBuyerInvoicePreferenceEnum = exports.OrderOrderTypeEnum = exports.OrderPaymentMethodEnum = exports.OrderFulfillmentChannelEnum = exports.OrderOrderStatusEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
OrderPaymentMethodEnum["Cod"] = "COD";
|
|
48
|
-
OrderPaymentMethodEnum["Cvs"] = "CVS";
|
|
49
|
-
OrderPaymentMethodEnum["Other"] = "Other";
|
|
50
|
-
})(OrderPaymentMethodEnum = exports.OrderPaymentMethodEnum || (exports.OrderPaymentMethodEnum = {}));
|
|
51
|
-
/**
|
|
52
|
-
* @export
|
|
53
|
-
* @enum {string}
|
|
54
|
-
*/
|
|
55
|
-
var OrderOrderTypeEnum;
|
|
56
|
-
(function (OrderOrderTypeEnum) {
|
|
57
|
-
OrderOrderTypeEnum["StandardOrder"] = "StandardOrder";
|
|
58
|
-
OrderOrderTypeEnum["LongLeadTimeOrder"] = "LongLeadTimeOrder";
|
|
59
|
-
OrderOrderTypeEnum["Preorder"] = "Preorder";
|
|
60
|
-
OrderOrderTypeEnum["BackOrder"] = "BackOrder";
|
|
61
|
-
OrderOrderTypeEnum["SourcingOnDemandOrder"] = "SourcingOnDemandOrder";
|
|
62
|
-
})(OrderOrderTypeEnum = exports.OrderOrderTypeEnum || (exports.OrderOrderTypeEnum = {}));
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
* @enum {string}
|
|
66
|
-
*/
|
|
67
|
-
var OrderBuyerInvoicePreferenceEnum;
|
|
68
|
-
(function (OrderBuyerInvoicePreferenceEnum) {
|
|
69
|
-
OrderBuyerInvoicePreferenceEnum["Individual"] = "INDIVIDUAL";
|
|
70
|
-
OrderBuyerInvoicePreferenceEnum["Business"] = "BUSINESS";
|
|
71
|
-
})(OrderBuyerInvoicePreferenceEnum = exports.OrderBuyerInvoicePreferenceEnum || (exports.OrderBuyerInvoicePreferenceEnum = {}));
|
|
17
|
+
exports.OrderOrderStatusEnum = {
|
|
18
|
+
Pending: 'Pending',
|
|
19
|
+
Unshipped: 'Unshipped',
|
|
20
|
+
PartiallyShipped: 'PartiallyShipped',
|
|
21
|
+
Shipped: 'Shipped',
|
|
22
|
+
Canceled: 'Canceled',
|
|
23
|
+
Unfulfillable: 'Unfulfillable',
|
|
24
|
+
InvoiceUnconfirmed: 'InvoiceUnconfirmed',
|
|
25
|
+
PendingAvailability: 'PendingAvailability'
|
|
26
|
+
};
|
|
27
|
+
exports.OrderFulfillmentChannelEnum = {
|
|
28
|
+
Mfn: 'MFN',
|
|
29
|
+
Afn: 'AFN'
|
|
30
|
+
};
|
|
31
|
+
exports.OrderPaymentMethodEnum = {
|
|
32
|
+
Cod: 'COD',
|
|
33
|
+
Cvs: 'CVS',
|
|
34
|
+
Other: 'Other'
|
|
35
|
+
};
|
|
36
|
+
exports.OrderOrderTypeEnum = {
|
|
37
|
+
StandardOrder: 'StandardOrder',
|
|
38
|
+
LongLeadTimeOrder: 'LongLeadTimeOrder',
|
|
39
|
+
Preorder: 'Preorder',
|
|
40
|
+
BackOrder: 'BackOrder',
|
|
41
|
+
SourcingOnDemandOrder: 'SourcingOnDemandOrder'
|
|
42
|
+
};
|
|
43
|
+
exports.OrderBuyerInvoicePreferenceEnum = {
|
|
44
|
+
Individual: 'INDIVIDUAL',
|
|
45
|
+
Business: 'BUSINESS'
|
|
46
|
+
};
|