@sp-api-sdk/orders-api-v0 5.4.0 → 5.5.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 +63 -4
- package/dist/cjs/api-model/models/export-info.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-instructions.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-location.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-plan-constraint-type.js +23 -0
- package/dist/cjs/api-model/models/fulfillment-plan-item.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-plan-shipping-constraints.js +15 -0
- package/dist/cjs/api-model/models/fulfillment-plan.js +27 -0
- package/dist/cjs/api-model/models/get-order-fulfillment-instructions-response.js +15 -0
- package/dist/cjs/api-model/models/index.js +9 -0
- package/dist/cjs/api-model/models/shipping-instructions.js +15 -0
- package/dist/cjs/client.js +7 -0
- package/dist/es/api-model/api/orders-api.js +63 -4
- package/dist/es/api-model/models/export-info.js +14 -0
- package/dist/es/api-model/models/fulfillment-instructions.js +14 -0
- package/dist/es/api-model/models/fulfillment-location.js +14 -0
- package/dist/es/api-model/models/fulfillment-plan-constraint-type.js +20 -0
- package/dist/es/api-model/models/fulfillment-plan-item.js +14 -0
- package/dist/es/api-model/models/fulfillment-plan-shipping-constraints.js +14 -0
- package/dist/es/api-model/models/fulfillment-plan.js +24 -0
- package/dist/es/api-model/models/get-order-fulfillment-instructions-response.js +14 -0
- package/dist/es/api-model/models/index.js +9 -0
- package/dist/es/api-model/models/shipping-instructions.js +14 -0
- package/dist/es/client.js +7 -0
- package/dist/types/api-model/api/orders-api.d.ts +44 -6
- package/dist/types/api-model/models/export-info.d.ts +22 -0
- package/dist/types/api-model/models/fulfillment-instructions.d.ts +25 -0
- package/dist/types/api-model/models/fulfillment-location.d.ts +20 -0
- package/dist/types/api-model/models/fulfillment-plan-constraint-type.d.ts +19 -0
- package/dist/types/api-model/models/fulfillment-plan-item.d.ts +22 -0
- package/dist/types/api-model/models/fulfillment-plan-shipping-constraints.d.ts +19 -0
- package/dist/types/api-model/models/fulfillment-plan.d.ts +58 -0
- package/dist/types/api-model/models/get-order-fulfillment-instructions-response.d.ts +22 -0
- package/dist/types/api-model/models/index.d.ts +9 -0
- package/dist/types/api-model/models/order-item.d.ts +2 -0
- package/dist/types/api-model/models/shipping-instructions.d.ts +26 -0
- package/package.json +4 -4
|
@@ -149,6 +149,35 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
options: localVarRequestOptions,
|
|
150
150
|
};
|
|
151
151
|
},
|
|
152
|
+
/**
|
|
153
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
154
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
getOrderFulfillmentInstructions: async (orderId, options = {}) => {
|
|
159
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('getOrderFulfillmentInstructions', 'orderId', orderId);
|
|
161
|
+
const localVarPath = `/orders/v0/orders/{orderId}/fulfillmentInstructions`
|
|
162
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
163
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
|
+
let baseOptions;
|
|
166
|
+
if (configuration) {
|
|
167
|
+
baseOptions = configuration.baseOptions;
|
|
168
|
+
}
|
|
169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
170
|
+
const localVarHeaderParameter = {};
|
|
171
|
+
const localVarQueryParameter = {};
|
|
172
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
173
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
176
|
+
return {
|
|
177
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
152
181
|
/**
|
|
153
182
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
154
183
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -263,8 +292,8 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
263
292
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
264
293
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
265
294
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
266
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
267
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
295
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
296
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
268
297
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
269
298
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
270
299
|
* @param {*} [options] Override http request option.
|
|
@@ -481,6 +510,18 @@ const OrdersApiFp = function (configuration) {
|
|
|
481
510
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersApi.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
|
|
482
511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
483
512
|
},
|
|
513
|
+
/**
|
|
514
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
515
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
async getOrderFulfillmentInstructions(orderId, options) {
|
|
520
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderFulfillmentInstructions(orderId, options);
|
|
521
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
522
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['OrdersApi.getOrderFulfillmentInstructions']?.[localVarOperationServerIndex]?.url;
|
|
523
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
524
|
+
},
|
|
484
525
|
/**
|
|
485
526
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
486
527
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -538,8 +579,8 @@ const OrdersApiFp = function (configuration) {
|
|
|
538
579
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
539
580
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
540
581
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
541
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
542
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
582
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
583
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
543
584
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
544
585
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
545
586
|
* @param {*} [options] Override http request option.
|
|
@@ -622,6 +663,15 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
622
663
|
getOrderBuyerInfo(requestParameters, options) {
|
|
623
664
|
return localVarFp.getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
624
665
|
},
|
|
666
|
+
/**
|
|
667
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
668
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
getOrderFulfillmentInstructions(requestParameters, options) {
|
|
673
|
+
return localVarFp.getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
674
|
+
},
|
|
625
675
|
/**
|
|
626
676
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
627
677
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -719,6 +769,15 @@ class OrdersApi extends base_1.BaseAPI {
|
|
|
719
769
|
getOrderBuyerInfo(requestParameters, options) {
|
|
720
770
|
return (0, exports.OrdersApiFp)(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
721
771
|
}
|
|
772
|
+
/**
|
|
773
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
getOrderFulfillmentInstructions(requestParameters, options) {
|
|
779
|
+
return (0, exports.OrdersApiFp)(this.configuration).getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
780
|
+
}
|
|
722
781
|
/**
|
|
723
782
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
724
783
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FulfillmentPlanConstraintType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Details the importance of the constraint present on the item.
|
|
19
|
+
*/
|
|
20
|
+
exports.FulfillmentPlanConstraintType = {
|
|
21
|
+
Mandatory: 'MANDATORY',
|
|
22
|
+
Recommended: 'RECOMMENDED'
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FulfillmentPlanFulfillmentPlanStatusEnum = exports.FulfillmentPlanFulfillmentTypeEnum = void 0;
|
|
17
|
+
exports.FulfillmentPlanFulfillmentTypeEnum = {
|
|
18
|
+
InstorePickup: 'INSTORE_PICKUP',
|
|
19
|
+
Service: 'SERVICE',
|
|
20
|
+
Ship: 'SHIP'
|
|
21
|
+
};
|
|
22
|
+
exports.FulfillmentPlanFulfillmentPlanStatusEnum = {
|
|
23
|
+
Active: 'ACTIVE',
|
|
24
|
+
Aborted: 'ABORTED',
|
|
25
|
+
Completed: 'COMPLETED',
|
|
26
|
+
PartiallyFulfilled: 'PARTIALLY_FULFILLED'
|
|
27
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -34,9 +34,17 @@ __exportStar(require("./delivery-preferences"), exports);
|
|
|
34
34
|
__exportStar(require("./easy-ship-shipment-status"), exports);
|
|
35
35
|
__exportStar(require("./electronic-invoice-status"), exports);
|
|
36
36
|
__exportStar(require("./exception-dates"), exports);
|
|
37
|
+
__exportStar(require("./export-info"), exports);
|
|
37
38
|
__exportStar(require("./fulfillment-instruction"), exports);
|
|
39
|
+
__exportStar(require("./fulfillment-instructions"), exports);
|
|
40
|
+
__exportStar(require("./fulfillment-location"), exports);
|
|
41
|
+
__exportStar(require("./fulfillment-plan"), exports);
|
|
42
|
+
__exportStar(require("./fulfillment-plan-constraint-type"), exports);
|
|
43
|
+
__exportStar(require("./fulfillment-plan-item"), exports);
|
|
44
|
+
__exportStar(require("./fulfillment-plan-shipping-constraints"), exports);
|
|
38
45
|
__exportStar(require("./get-order-address-response"), exports);
|
|
39
46
|
__exportStar(require("./get-order-buyer-info-response"), exports);
|
|
47
|
+
__exportStar(require("./get-order-fulfillment-instructions-response"), exports);
|
|
40
48
|
__exportStar(require("./get-order-items-buyer-info-response"), exports);
|
|
41
49
|
__exportStar(require("./get-order-items-response"), exports);
|
|
42
50
|
__exportStar(require("./get-order-regulated-info-response"), exports);
|
|
@@ -72,6 +80,7 @@ __exportStar(require("./regulated-order-verification-status"), exports);
|
|
|
72
80
|
__exportStar(require("./rejection-reason"), exports);
|
|
73
81
|
__exportStar(require("./shipment-status"), exports);
|
|
74
82
|
__exportStar(require("./shipping-constraints"), exports);
|
|
83
|
+
__exportStar(require("./shipping-instructions"), exports);
|
|
75
84
|
__exportStar(require("./substitution-option"), exports);
|
|
76
85
|
__exportStar(require("./substitution-preferences"), exports);
|
|
77
86
|
__exportStar(require("./tax-classification"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/cjs/client.js
CHANGED
|
@@ -32,6 +32,13 @@ exports.clientRateLimits = [
|
|
|
32
32
|
rate: 0.5,
|
|
33
33
|
burst: 30,
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
method: 'get',
|
|
37
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
38
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/fulfillmentInstructions$'),
|
|
39
|
+
rate: 0.5,
|
|
40
|
+
burst: 30,
|
|
41
|
+
},
|
|
35
42
|
{
|
|
36
43
|
method: 'get',
|
|
37
44
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -143,6 +143,35 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
options: localVarRequestOptions,
|
|
144
144
|
};
|
|
145
145
|
},
|
|
146
|
+
/**
|
|
147
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
148
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getOrderFulfillmentInstructions: async (orderId, options = {}) => {
|
|
153
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
154
|
+
assertParamExists('getOrderFulfillmentInstructions', 'orderId', orderId);
|
|
155
|
+
const localVarPath = `/orders/v0/orders/{orderId}/fulfillmentInstructions`
|
|
156
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
if (configuration) {
|
|
161
|
+
baseOptions = configuration.baseOptions;
|
|
162
|
+
}
|
|
163
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
164
|
+
const localVarHeaderParameter = {};
|
|
165
|
+
const localVarQueryParameter = {};
|
|
166
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
170
|
+
return {
|
|
171
|
+
url: toPathString(localVarUrlObj),
|
|
172
|
+
options: localVarRequestOptions,
|
|
173
|
+
};
|
|
174
|
+
},
|
|
146
175
|
/**
|
|
147
176
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
148
177
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -257,8 +286,8 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
257
286
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
258
287
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
259
288
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
260
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
261
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
289
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
290
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
262
291
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
263
292
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
264
293
|
* @param {*} [options] Override http request option.
|
|
@@ -474,6 +503,18 @@ export const OrdersApiFp = function (configuration) {
|
|
|
474
503
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
|
|
475
504
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
476
505
|
},
|
|
506
|
+
/**
|
|
507
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
508
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
async getOrderFulfillmentInstructions(orderId, options) {
|
|
513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderFulfillmentInstructions(orderId, options);
|
|
514
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
515
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderFulfillmentInstructions']?.[localVarOperationServerIndex]?.url;
|
|
516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
517
|
+
},
|
|
477
518
|
/**
|
|
478
519
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
479
520
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -531,8 +572,8 @@ export const OrdersApiFp = function (configuration) {
|
|
|
531
572
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
532
573
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
533
574
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
534
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
535
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
575
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
576
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
536
577
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
537
578
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
538
579
|
* @param {*} [options] Override http request option.
|
|
@@ -614,6 +655,15 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
614
655
|
getOrderBuyerInfo(requestParameters, options) {
|
|
615
656
|
return localVarFp.getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
616
657
|
},
|
|
658
|
+
/**
|
|
659
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
660
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
*/
|
|
664
|
+
getOrderFulfillmentInstructions(requestParameters, options) {
|
|
665
|
+
return localVarFp.getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(axios, basePath));
|
|
666
|
+
},
|
|
617
667
|
/**
|
|
618
668
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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
669
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -710,6 +760,15 @@ export class OrdersApi extends BaseAPI {
|
|
|
710
760
|
getOrderBuyerInfo(requestParameters, options) {
|
|
711
761
|
return OrdersApiFp(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
712
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
765
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
getOrderFulfillmentInstructions(requestParameters, options) {
|
|
770
|
+
return OrdersApiFp(this.configuration).getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
|
|
771
|
+
}
|
|
713
772
|
/**
|
|
714
773
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
715
774
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Details the importance of the constraint present on the item.
|
|
16
|
+
*/
|
|
17
|
+
export const FulfillmentPlanConstraintType = {
|
|
18
|
+
Mandatory: 'MANDATORY',
|
|
19
|
+
Recommended: 'RECOMMENDED'
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const FulfillmentPlanFulfillmentTypeEnum = {
|
|
15
|
+
InstorePickup: 'INSTORE_PICKUP',
|
|
16
|
+
Service: 'SERVICE',
|
|
17
|
+
Ship: 'SHIP'
|
|
18
|
+
};
|
|
19
|
+
export const FulfillmentPlanFulfillmentPlanStatusEnum = {
|
|
20
|
+
Active: 'ACTIVE',
|
|
21
|
+
Aborted: 'ABORTED',
|
|
22
|
+
Completed: 'COMPLETED',
|
|
23
|
+
PartiallyFulfilled: 'PARTIALLY_FULFILLED'
|
|
24
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -18,9 +18,17 @@ export * from './delivery-preferences';
|
|
|
18
18
|
export * from './easy-ship-shipment-status';
|
|
19
19
|
export * from './electronic-invoice-status';
|
|
20
20
|
export * from './exception-dates';
|
|
21
|
+
export * from './export-info';
|
|
21
22
|
export * from './fulfillment-instruction';
|
|
23
|
+
export * from './fulfillment-instructions';
|
|
24
|
+
export * from './fulfillment-location';
|
|
25
|
+
export * from './fulfillment-plan';
|
|
26
|
+
export * from './fulfillment-plan-constraint-type';
|
|
27
|
+
export * from './fulfillment-plan-item';
|
|
28
|
+
export * from './fulfillment-plan-shipping-constraints';
|
|
22
29
|
export * from './get-order-address-response';
|
|
23
30
|
export * from './get-order-buyer-info-response';
|
|
31
|
+
export * from './get-order-fulfillment-instructions-response';
|
|
24
32
|
export * from './get-order-items-buyer-info-response';
|
|
25
33
|
export * from './get-order-items-response';
|
|
26
34
|
export * from './get-order-regulated-info-response';
|
|
@@ -56,6 +64,7 @@ export * from './regulated-order-verification-status';
|
|
|
56
64
|
export * from './rejection-reason';
|
|
57
65
|
export * from './shipment-status';
|
|
58
66
|
export * from './shipping-constraints';
|
|
67
|
+
export * from './shipping-instructions';
|
|
59
68
|
export * from './substitution-option';
|
|
60
69
|
export * from './substitution-preferences';
|
|
61
70
|
export * from './tax-classification';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Orders
|
|
5
|
+
* 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).
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
package/dist/es/client.js
CHANGED
|
@@ -29,6 +29,13 @@ export const clientRateLimits = [
|
|
|
29
29
|
rate: 0.5,
|
|
30
30
|
burst: 30,
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
method: 'get',
|
|
34
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
35
|
+
urlRegex: new RegExp('^/orders/v0/orders/[^/]*/fulfillmentInstructions$'),
|
|
36
|
+
rate: 0.5,
|
|
37
|
+
burst: 30,
|
|
38
|
+
},
|
|
32
39
|
{
|
|
33
40
|
method: 'get',
|
|
34
41
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -16,6 +16,7 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
16
16
|
import type { ConfirmShipmentRequest } from '../models';
|
|
17
17
|
import type { GetOrderAddressResponse } from '../models';
|
|
18
18
|
import type { GetOrderBuyerInfoResponse } from '../models';
|
|
19
|
+
import type { GetOrderFulfillmentInstructionsResponse } from '../models';
|
|
19
20
|
import type { GetOrderItemsBuyerInfoResponse } from '../models';
|
|
20
21
|
import type { GetOrderItemsResponse } from '../models';
|
|
21
22
|
import type { GetOrderRegulatedInfoResponse } from '../models';
|
|
@@ -56,6 +57,13 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
56
57
|
* @throws {RequiredError}
|
|
57
58
|
*/
|
|
58
59
|
getOrderBuyerInfo: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
62
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
getOrderFulfillmentInstructions: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
67
|
/**
|
|
60
68
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
61
69
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -98,8 +106,8 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
98
106
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
99
107
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
100
108
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
101
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
102
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
109
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
110
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
103
111
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
104
112
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
105
113
|
* @param {*} [options] Override http request option.
|
|
@@ -156,6 +164,13 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
156
164
|
* @throws {RequiredError}
|
|
157
165
|
*/
|
|
158
166
|
getOrderBuyerInfo(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderBuyerInfoResponse>>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
169
|
+
* @param {string} orderId The Amazon order identifier in 3-7-7 format.
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
getOrderFulfillmentInstructions(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderFulfillmentInstructionsResponse>>;
|
|
159
174
|
/**
|
|
160
175
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
161
176
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
@@ -198,8 +213,8 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
198
213
|
* @param {string} [actualFulfillmentSupplySourceId] The `sourceId` of the location from where you want the order fulfilled.
|
|
199
214
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
200
215
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
201
|
-
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with
|
|
202
|
-
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with
|
|
216
|
+
* @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
217
|
+
* @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
203
218
|
* @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
204
219
|
* @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
205
220
|
* @param {*} [options] Override http request option.
|
|
@@ -255,6 +270,13 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
255
270
|
* @throws {RequiredError}
|
|
256
271
|
*/
|
|
257
272
|
getOrderBuyerInfo(requestParameters: OrdersApiGetOrderBuyerInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderBuyerInfoResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
275
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
getOrderFulfillmentInstructions(requestParameters: OrdersApiGetOrderFulfillmentInstructionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderFulfillmentInstructionsResponse>;
|
|
258
280
|
/**
|
|
259
281
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
260
282
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -338,6 +360,15 @@ export interface OrdersApiGetOrderBuyerInfoRequest {
|
|
|
338
360
|
*/
|
|
339
361
|
readonly orderId: string;
|
|
340
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* Request parameters for getOrderFulfillmentInstructions operation in OrdersApi.
|
|
365
|
+
*/
|
|
366
|
+
export interface OrdersApiGetOrderFulfillmentInstructionsRequest {
|
|
367
|
+
/**
|
|
368
|
+
* The Amazon order identifier in 3-7-7 format.
|
|
369
|
+
*/
|
|
370
|
+
readonly orderId: string;
|
|
371
|
+
}
|
|
341
372
|
/**
|
|
342
373
|
* Request parameters for getOrderItems operation in OrdersApi.
|
|
343
374
|
*/
|
|
@@ -446,11 +477,11 @@ export interface OrdersApiGetOrdersRequest {
|
|
|
446
477
|
*/
|
|
447
478
|
readonly storeChainStoreId?: string;
|
|
448
479
|
/**
|
|
449
|
-
* Use this date to select orders with
|
|
480
|
+
* Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
450
481
|
*/
|
|
451
482
|
readonly earliestDeliveryDateBefore?: string;
|
|
452
483
|
/**
|
|
453
|
-
* Use this date to select orders with
|
|
484
|
+
* Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
454
485
|
*/
|
|
455
486
|
readonly earliestDeliveryDateAfter?: string;
|
|
456
487
|
/**
|
|
@@ -520,6 +551,13 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
520
551
|
* @throws {RequiredError}
|
|
521
552
|
*/
|
|
522
553
|
getOrderBuyerInfo(requestParameters: OrdersApiGetOrderBuyerInfoRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderBuyerInfoResponse, any, {}>>;
|
|
554
|
+
/**
|
|
555
|
+
* Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
556
|
+
* @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
getOrderFulfillmentInstructions(requestParameters: OrdersApiGetOrderFulfillmentInstructionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderFulfillmentInstructionsResponse, any, {}>>;
|
|
523
561
|
/**
|
|
524
562
|
* 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 contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than 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).
|
|
525
563
|
* @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Money } from './money';
|
|
13
|
+
/**
|
|
14
|
+
* Contains information that is related to the export of an order item.
|
|
15
|
+
*/
|
|
16
|
+
export interface ExportInfo {
|
|
17
|
+
'ExportCharge'?: Money;
|
|
18
|
+
/**
|
|
19
|
+
* Holds the `ExportCharge` collection model that is associated with the specified order item. **Possible values**: `AMAZON_FACILITATED`: Import/export charge is withheld by Amazon and remitted to the customs authority by the carrier on behalf of the buyer/seller.
|
|
20
|
+
*/
|
|
21
|
+
'ExportChargeModel'?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FulfillmentPlan } from './fulfillment-plan';
|
|
13
|
+
/**
|
|
14
|
+
* Contains all fulfillment plans for the order
|
|
15
|
+
*/
|
|
16
|
+
export interface FulfillmentInstructions {
|
|
17
|
+
/**
|
|
18
|
+
* List of all fulfillment plans for the given order id
|
|
19
|
+
*/
|
|
20
|
+
'FulfillmentPlans'?: Array<FulfillmentPlan>;
|
|
21
|
+
/**
|
|
22
|
+
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
23
|
+
*/
|
|
24
|
+
'AmazonOrderId': string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Represents a location from which the plan is to be fulfilled.
|
|
14
|
+
*/
|
|
15
|
+
export interface FulfillmentLocation {
|
|
16
|
+
/**
|
|
17
|
+
* The fulfillment location identifier.
|
|
18
|
+
*/
|
|
19
|
+
'SupplySourceId'?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Details the importance of the constraint present on the item.
|
|
14
|
+
*/
|
|
15
|
+
export declare const FulfillmentPlanConstraintType: {
|
|
16
|
+
readonly Mandatory: "MANDATORY";
|
|
17
|
+
readonly Recommended: "RECOMMENDED";
|
|
18
|
+
};
|
|
19
|
+
export type FulfillmentPlanConstraintType = typeof FulfillmentPlanConstraintType[keyof typeof FulfillmentPlanConstraintType];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Measurement } from './measurement';
|
|
13
|
+
/**
|
|
14
|
+
* The order items associated with this fulfillment plan.
|
|
15
|
+
*/
|
|
16
|
+
export interface FulfillmentPlanItem {
|
|
17
|
+
/**
|
|
18
|
+
* An Amazon-defined associated order item\'s order item identifier.
|
|
19
|
+
*/
|
|
20
|
+
'OrderItemId': string;
|
|
21
|
+
'Measurement': Measurement;
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FulfillmentPlanConstraintType } from './fulfillment-plan-constraint-type';
|
|
13
|
+
/**
|
|
14
|
+
* Delivery constraints applicable to this order.
|
|
15
|
+
*/
|
|
16
|
+
export interface FulfillmentPlanShippingConstraints {
|
|
17
|
+
'PalletDelivery'?: FulfillmentPlanConstraintType;
|
|
18
|
+
'SignatureConfirmation'?: FulfillmentPlanConstraintType;
|
|
19
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FulfillmentLocation } from './fulfillment-location';
|
|
13
|
+
import type { FulfillmentPlanItem } from './fulfillment-plan-item';
|
|
14
|
+
import type { ShippingInstructions } from './shipping-instructions';
|
|
15
|
+
/**
|
|
16
|
+
* A collection of order items that are to be fulfilled from the same location with the same shipping, pickup, and service instructions.
|
|
17
|
+
*/
|
|
18
|
+
export interface FulfillmentPlan {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for a fulfillment plan.
|
|
21
|
+
*/
|
|
22
|
+
'FulfillmentPlanId': string;
|
|
23
|
+
/**
|
|
24
|
+
* Time when the fulfillment plan was created in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
25
|
+
*/
|
|
26
|
+
'CreationDate': string;
|
|
27
|
+
/**
|
|
28
|
+
* Type of fulfillment
|
|
29
|
+
*/
|
|
30
|
+
'FulfillmentType': FulfillmentPlanFulfillmentTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* The fulfillment plan status.
|
|
33
|
+
*/
|
|
34
|
+
'FulfillmentPlanStatus': FulfillmentPlanFulfillmentPlanStatusEnum;
|
|
35
|
+
/**
|
|
36
|
+
* The time when the fulfillment plan\'s status was last updated in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
37
|
+
*/
|
|
38
|
+
'LastStatusUpdateDate': string;
|
|
39
|
+
'FulfillmentLocation'?: FulfillmentLocation;
|
|
40
|
+
'ShippingInstructions'?: ShippingInstructions;
|
|
41
|
+
/**
|
|
42
|
+
* The details of the order items that are included in the fulfillment plan.
|
|
43
|
+
*/
|
|
44
|
+
'FulfillmentPlanItems': Array<FulfillmentPlanItem>;
|
|
45
|
+
}
|
|
46
|
+
export declare const FulfillmentPlanFulfillmentTypeEnum: {
|
|
47
|
+
readonly InstorePickup: "INSTORE_PICKUP";
|
|
48
|
+
readonly Service: "SERVICE";
|
|
49
|
+
readonly Ship: "SHIP";
|
|
50
|
+
};
|
|
51
|
+
export type FulfillmentPlanFulfillmentTypeEnum = typeof FulfillmentPlanFulfillmentTypeEnum[keyof typeof FulfillmentPlanFulfillmentTypeEnum];
|
|
52
|
+
export declare const FulfillmentPlanFulfillmentPlanStatusEnum: {
|
|
53
|
+
readonly Active: "ACTIVE";
|
|
54
|
+
readonly Aborted: "ABORTED";
|
|
55
|
+
readonly Completed: "COMPLETED";
|
|
56
|
+
readonly PartiallyFulfilled: "PARTIALLY_FULFILLED";
|
|
57
|
+
};
|
|
58
|
+
export type FulfillmentPlanFulfillmentPlanStatusEnum = typeof FulfillmentPlanFulfillmentPlanStatusEnum[keyof typeof FulfillmentPlanFulfillmentPlanStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FulfillmentInstructions } from './fulfillment-instructions';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the `getOrderFulfillmentInstructions` operation.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetOrderFulfillmentInstructionsResponse {
|
|
17
|
+
'payload'?: FulfillmentInstructions;
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
*/
|
|
21
|
+
'errors'?: Array<Error>;
|
|
22
|
+
}
|
|
@@ -18,9 +18,17 @@ export * from './delivery-preferences';
|
|
|
18
18
|
export * from './easy-ship-shipment-status';
|
|
19
19
|
export * from './electronic-invoice-status';
|
|
20
20
|
export * from './exception-dates';
|
|
21
|
+
export * from './export-info';
|
|
21
22
|
export * from './fulfillment-instruction';
|
|
23
|
+
export * from './fulfillment-instructions';
|
|
24
|
+
export * from './fulfillment-location';
|
|
25
|
+
export * from './fulfillment-plan';
|
|
26
|
+
export * from './fulfillment-plan-constraint-type';
|
|
27
|
+
export * from './fulfillment-plan-item';
|
|
28
|
+
export * from './fulfillment-plan-shipping-constraints';
|
|
22
29
|
export * from './get-order-address-response';
|
|
23
30
|
export * from './get-order-buyer-info-response';
|
|
31
|
+
export * from './get-order-fulfillment-instructions-response';
|
|
24
32
|
export * from './get-order-items-buyer-info-response';
|
|
25
33
|
export * from './get-order-items-response';
|
|
26
34
|
export * from './get-order-regulated-info-response';
|
|
@@ -56,6 +64,7 @@ export * from './regulated-order-verification-status';
|
|
|
56
64
|
export * from './rejection-reason';
|
|
57
65
|
export * from './shipment-status';
|
|
58
66
|
export * from './shipping-constraints';
|
|
67
|
+
export * from './shipping-instructions';
|
|
59
68
|
export * from './substitution-option';
|
|
60
69
|
export * from './substitution-preferences';
|
|
61
70
|
export * from './tax-classification';
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { AmazonPrograms } from './amazon-programs';
|
|
13
13
|
import type { AssociatedItem } from './associated-item';
|
|
14
14
|
import type { BuyerRequestedCancel } from './buyer-requested-cancel';
|
|
15
|
+
import type { ExportInfo } from './export-info';
|
|
15
16
|
import type { ItemBuyerInfo } from './item-buyer-info';
|
|
16
17
|
import type { Measurement } from './measurement';
|
|
17
18
|
import type { Money } from './money';
|
|
@@ -127,6 +128,7 @@ export interface OrderItem {
|
|
|
127
128
|
'Measurement'?: Measurement;
|
|
128
129
|
'ShippingConstraints'?: ShippingConstraints;
|
|
129
130
|
'AmazonPrograms'?: AmazonPrograms;
|
|
131
|
+
'ExportInfo'?: ExportInfo;
|
|
130
132
|
}
|
|
131
133
|
export declare const OrderItemDeemedResellerCategoryEnum: {
|
|
132
134
|
readonly Ioss: "IOSS";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FulfillmentPlanShippingConstraints } from './fulfillment-plan-shipping-constraints';
|
|
13
|
+
/**
|
|
14
|
+
* The shipping-related information of a delivery.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShippingInstructions {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the carrier that delivers the package.
|
|
19
|
+
*/
|
|
20
|
+
'CarrierCode'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The ship method that is used for the order.
|
|
23
|
+
*/
|
|
24
|
+
'ShippingMethod'?: string;
|
|
25
|
+
'ShippingConstraints'?: FulfillmentPlanShippingConstraints;
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/orders-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "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).",
|
|
5
|
-
"version": "5.
|
|
5
|
+
"version": "5.5.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.13.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.27",
|
|
22
|
+
"axios": "^1.13.4"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"orders api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "9719d5934bed9715406acc691a8334148345a588"
|
|
44
44
|
}
|