@sp-api-sdk/fulfillment-outbound-api-2020-07-01 3.1.2 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/{fba-outbound-api.js → fulfillment-outbound-api.js} +86 -86
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{fba-outbound-api.js → fulfillment-outbound-api.js} +81 -81
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{fba-outbound-api.d.ts → fulfillment-outbound-api.d.ts} +147 -147
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.FulfillmentOutboundApi = exports.FulfillmentOutboundApiFactory = exports.FulfillmentOutboundApiFp = exports.FulfillmentOutboundApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,10 +24,10 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* FulfillmentOutboundApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -491,13 +491,13 @@ const FbaOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
491
491
|
},
|
|
492
492
|
};
|
|
493
493
|
};
|
|
494
|
-
exports.
|
|
494
|
+
exports.FulfillmentOutboundApiAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator;
|
|
495
495
|
/**
|
|
496
|
-
*
|
|
496
|
+
* FulfillmentOutboundApi - functional programming interface
|
|
497
497
|
* @export
|
|
498
498
|
*/
|
|
499
|
-
const
|
|
500
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
499
|
+
const FulfillmentOutboundApiFp = function (configuration) {
|
|
500
|
+
const localVarAxiosParamCreator = (0, exports.FulfillmentOutboundApiAxiosParamCreator)(configuration);
|
|
501
501
|
return {
|
|
502
502
|
/**
|
|
503
503
|
* Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -508,7 +508,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
508
508
|
async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
|
|
509
509
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
|
|
510
510
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
511
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
511
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.cancelFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
512
512
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
513
513
|
},
|
|
514
514
|
/**
|
|
@@ -520,7 +520,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
520
520
|
async createFulfillmentOrder(body, options) {
|
|
521
521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
|
|
522
522
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
523
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
523
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
524
524
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
525
525
|
},
|
|
526
526
|
/**
|
|
@@ -533,7 +533,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
533
533
|
async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
|
|
534
534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
|
|
535
535
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
536
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
536
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
537
537
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
538
538
|
},
|
|
539
539
|
/**
|
|
@@ -545,7 +545,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
545
545
|
async deliveryOffers(body, options) {
|
|
546
546
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
|
|
547
547
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
548
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
548
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.deliveryOffers']?.[localVarOperationServerIndex]?.url;
|
|
549
549
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
550
550
|
},
|
|
551
551
|
/**
|
|
@@ -560,7 +560,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
560
560
|
async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
|
|
561
561
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
|
|
562
562
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
563
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
563
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatureInventory']?.[localVarOperationServerIndex]?.url;
|
|
564
564
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
565
565
|
},
|
|
566
566
|
/**
|
|
@@ -574,7 +574,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
574
574
|
async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
|
|
575
575
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
|
|
576
576
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
577
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
577
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatureSKU']?.[localVarOperationServerIndex]?.url;
|
|
578
578
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
579
579
|
},
|
|
580
580
|
/**
|
|
@@ -586,7 +586,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
586
586
|
async getFeatures(marketplaceId, options) {
|
|
587
587
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
|
|
588
588
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
589
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
589
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFeatures']?.[localVarOperationServerIndex]?.url;
|
|
590
590
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
591
591
|
},
|
|
592
592
|
/**
|
|
@@ -598,7 +598,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
598
598
|
async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
|
|
599
599
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
|
|
600
600
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
601
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
601
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
602
602
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
603
603
|
},
|
|
604
604
|
/**
|
|
@@ -610,7 +610,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
610
610
|
async getFulfillmentPreview(body, options) {
|
|
611
611
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
|
|
612
612
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
613
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
613
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getFulfillmentPreview']?.[localVarOperationServerIndex]?.url;
|
|
614
614
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
615
615
|
},
|
|
616
616
|
/**
|
|
@@ -622,7 +622,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
622
622
|
async getPackageTrackingDetails(packageNumber, options) {
|
|
623
623
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
|
|
624
624
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
625
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
625
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
|
|
626
626
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
627
627
|
},
|
|
628
628
|
/**
|
|
@@ -635,7 +635,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
635
635
|
async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
|
|
636
636
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
|
|
637
637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
638
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
638
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.listAllFulfillmentOrders']?.[localVarOperationServerIndex]?.url;
|
|
639
639
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
640
640
|
},
|
|
641
641
|
/**
|
|
@@ -650,7 +650,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
650
650
|
async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
|
|
651
651
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
|
|
652
652
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
653
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
653
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.listReturnReasonCodes']?.[localVarOperationServerIndex]?.url;
|
|
654
654
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
655
655
|
},
|
|
656
656
|
/**
|
|
@@ -663,7 +663,7 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
663
663
|
async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
|
|
664
664
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
|
|
665
665
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
666
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
666
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate']?.[localVarOperationServerIndex]?.url;
|
|
667
667
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
668
668
|
},
|
|
669
669
|
/**
|
|
@@ -676,22 +676,22 @@ const FbaOutboundApiFp = function (configuration) {
|
|
|
676
676
|
async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
|
|
677
677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
|
|
678
678
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
679
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
679
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.updateFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
680
680
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
681
681
|
},
|
|
682
682
|
};
|
|
683
683
|
};
|
|
684
|
-
exports.
|
|
684
|
+
exports.FulfillmentOutboundApiFp = FulfillmentOutboundApiFp;
|
|
685
685
|
/**
|
|
686
|
-
*
|
|
686
|
+
* FulfillmentOutboundApi - factory interface
|
|
687
687
|
* @export
|
|
688
688
|
*/
|
|
689
|
-
const
|
|
690
|
-
const localVarFp = (0, exports.
|
|
689
|
+
const FulfillmentOutboundApiFactory = function (configuration, basePath, axios) {
|
|
690
|
+
const localVarFp = (0, exports.FulfillmentOutboundApiFp)(configuration);
|
|
691
691
|
return {
|
|
692
692
|
/**
|
|
693
693
|
* Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
694
|
-
* @param {
|
|
694
|
+
* @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
|
|
695
695
|
* @param {*} [options] Override http request option.
|
|
696
696
|
* @throws {RequiredError}
|
|
697
697
|
*/
|
|
@@ -700,7 +700,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
700
700
|
},
|
|
701
701
|
/**
|
|
702
702
|
* Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
|
|
703
|
-
* @param {
|
|
703
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
704
704
|
* @param {*} [options] Override http request option.
|
|
705
705
|
* @throws {RequiredError}
|
|
706
706
|
*/
|
|
@@ -709,7 +709,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
709
709
|
},
|
|
710
710
|
/**
|
|
711
711
|
* Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
712
|
-
* @param {
|
|
712
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
|
|
713
713
|
* @param {*} [options] Override http request option.
|
|
714
714
|
* @throws {RequiredError}
|
|
715
715
|
*/
|
|
@@ -718,7 +718,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
718
718
|
},
|
|
719
719
|
/**
|
|
720
720
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
721
|
-
* @param {
|
|
721
|
+
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
722
722
|
* @param {*} [options] Override http request option.
|
|
723
723
|
* @throws {RequiredError}
|
|
724
724
|
*/
|
|
@@ -727,7 +727,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
727
727
|
},
|
|
728
728
|
/**
|
|
729
729
|
* Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)..
|
|
730
|
-
* @param {
|
|
730
|
+
* @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
|
|
731
731
|
* @param {*} [options] Override http request option.
|
|
732
732
|
* @throws {RequiredError}
|
|
733
733
|
*/
|
|
@@ -736,7 +736,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
736
736
|
},
|
|
737
737
|
/**
|
|
738
738
|
* Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
739
|
-
* @param {
|
|
739
|
+
* @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
|
|
740
740
|
* @param {*} [options] Override http request option.
|
|
741
741
|
* @throws {RequiredError}
|
|
742
742
|
*/
|
|
@@ -745,7 +745,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
745
745
|
},
|
|
746
746
|
/**
|
|
747
747
|
* Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
748
|
-
* @param {
|
|
748
|
+
* @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
|
|
749
749
|
* @param {*} [options] Override http request option.
|
|
750
750
|
* @throws {RequiredError}
|
|
751
751
|
*/
|
|
@@ -754,7 +754,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
754
754
|
},
|
|
755
755
|
/**
|
|
756
756
|
* Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
757
|
-
* @param {
|
|
757
|
+
* @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
|
|
758
758
|
* @param {*} [options] Override http request option.
|
|
759
759
|
* @throws {RequiredError}
|
|
760
760
|
*/
|
|
@@ -763,7 +763,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
763
763
|
},
|
|
764
764
|
/**
|
|
765
765
|
* Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
766
|
-
* @param {
|
|
766
|
+
* @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
|
|
767
767
|
* @param {*} [options] Override http request option.
|
|
768
768
|
* @throws {RequiredError}
|
|
769
769
|
*/
|
|
@@ -772,7 +772,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
772
772
|
},
|
|
773
773
|
/**
|
|
774
774
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
775
|
-
* @param {
|
|
775
|
+
* @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
|
|
776
776
|
* @param {*} [options] Override http request option.
|
|
777
777
|
* @throws {RequiredError}
|
|
778
778
|
*/
|
|
@@ -781,7 +781,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
781
781
|
},
|
|
782
782
|
/**
|
|
783
783
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
|
|
784
|
-
* @param {
|
|
784
|
+
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
785
785
|
* @param {*} [options] Override http request option.
|
|
786
786
|
* @throws {RequiredError}
|
|
787
787
|
*/
|
|
@@ -790,7 +790,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
790
790
|
},
|
|
791
791
|
/**
|
|
792
792
|
* Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
793
|
-
* @param {
|
|
793
|
+
* @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
|
|
794
794
|
* @param {*} [options] Override http request option.
|
|
795
795
|
* @throws {RequiredError}
|
|
796
796
|
*/
|
|
@@ -799,7 +799,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
799
799
|
},
|
|
800
800
|
/**
|
|
801
801
|
* Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
|
|
802
|
-
* @param {
|
|
802
|
+
* @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
|
|
803
803
|
* @param {*} [options] Override http request option.
|
|
804
804
|
* @throws {RequiredError}
|
|
805
805
|
*/
|
|
@@ -808,7 +808,7 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
808
808
|
},
|
|
809
809
|
/**
|
|
810
810
|
* Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
811
|
-
* @param {
|
|
811
|
+
* @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
812
812
|
* @param {*} [options] Override http request option.
|
|
813
813
|
* @throws {RequiredError}
|
|
814
814
|
*/
|
|
@@ -817,153 +817,153 @@ const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
817
817
|
},
|
|
818
818
|
};
|
|
819
819
|
};
|
|
820
|
-
exports.
|
|
820
|
+
exports.FulfillmentOutboundApiFactory = FulfillmentOutboundApiFactory;
|
|
821
821
|
/**
|
|
822
|
-
*
|
|
822
|
+
* FulfillmentOutboundApi - object-oriented interface
|
|
823
823
|
* @export
|
|
824
|
-
* @class
|
|
824
|
+
* @class FulfillmentOutboundApi
|
|
825
825
|
* @extends {BaseAPI}
|
|
826
826
|
*/
|
|
827
|
-
class
|
|
827
|
+
class FulfillmentOutboundApi extends base_1.BaseAPI {
|
|
828
828
|
/**
|
|
829
829
|
* Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
830
|
-
* @param {
|
|
830
|
+
* @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
|
|
831
831
|
* @param {*} [options] Override http request option.
|
|
832
832
|
* @throws {RequiredError}
|
|
833
|
-
* @memberof
|
|
833
|
+
* @memberof FulfillmentOutboundApi
|
|
834
834
|
*/
|
|
835
835
|
cancelFulfillmentOrder(requestParameters, options) {
|
|
836
|
-
return (0, exports.
|
|
836
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
837
837
|
}
|
|
838
838
|
/**
|
|
839
839
|
* Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
|
|
840
|
-
* @param {
|
|
840
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
841
841
|
* @param {*} [options] Override http request option.
|
|
842
842
|
* @throws {RequiredError}
|
|
843
|
-
* @memberof
|
|
843
|
+
* @memberof FulfillmentOutboundApi
|
|
844
844
|
*/
|
|
845
845
|
createFulfillmentOrder(requestParameters, options) {
|
|
846
|
-
return (0, exports.
|
|
846
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
849
849
|
* Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
850
|
-
* @param {
|
|
850
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
|
|
851
851
|
* @param {*} [options] Override http request option.
|
|
852
852
|
* @throws {RequiredError}
|
|
853
|
-
* @memberof
|
|
853
|
+
* @memberof FulfillmentOutboundApi
|
|
854
854
|
*/
|
|
855
855
|
createFulfillmentReturn(requestParameters, options) {
|
|
856
|
-
return (0, exports.
|
|
856
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
859
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
860
|
-
* @param {
|
|
860
|
+
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
861
861
|
* @param {*} [options] Override http request option.
|
|
862
862
|
* @throws {RequiredError}
|
|
863
|
-
* @memberof
|
|
863
|
+
* @memberof FulfillmentOutboundApi
|
|
864
864
|
*/
|
|
865
865
|
deliveryOffers(requestParameters, options) {
|
|
866
|
-
return (0, exports.
|
|
866
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
867
867
|
}
|
|
868
868
|
/**
|
|
869
869
|
* Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)..
|
|
870
|
-
* @param {
|
|
870
|
+
* @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
|
|
871
871
|
* @param {*} [options] Override http request option.
|
|
872
872
|
* @throws {RequiredError}
|
|
873
|
-
* @memberof
|
|
873
|
+
* @memberof FulfillmentOutboundApi
|
|
874
874
|
*/
|
|
875
875
|
getFeatureInventory(requestParameters, options) {
|
|
876
|
-
return (0, exports.
|
|
876
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
|
|
877
877
|
}
|
|
878
878
|
/**
|
|
879
879
|
* Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
880
|
-
* @param {
|
|
880
|
+
* @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
|
|
881
881
|
* @param {*} [options] Override http request option.
|
|
882
882
|
* @throws {RequiredError}
|
|
883
|
-
* @memberof
|
|
883
|
+
* @memberof FulfillmentOutboundApi
|
|
884
884
|
*/
|
|
885
885
|
getFeatureSKU(requestParameters, options) {
|
|
886
|
-
return (0, exports.
|
|
886
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
|
|
887
887
|
}
|
|
888
888
|
/**
|
|
889
889
|
* Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
890
|
-
* @param {
|
|
890
|
+
* @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
|
|
891
891
|
* @param {*} [options] Override http request option.
|
|
892
892
|
* @throws {RequiredError}
|
|
893
|
-
* @memberof
|
|
893
|
+
* @memberof FulfillmentOutboundApi
|
|
894
894
|
*/
|
|
895
895
|
getFeatures(requestParameters, options) {
|
|
896
|
-
return (0, exports.
|
|
896
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
|
|
897
897
|
}
|
|
898
898
|
/**
|
|
899
899
|
* Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
900
|
-
* @param {
|
|
900
|
+
* @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
|
|
901
901
|
* @param {*} [options] Override http request option.
|
|
902
902
|
* @throws {RequiredError}
|
|
903
|
-
* @memberof
|
|
903
|
+
* @memberof FulfillmentOutboundApi
|
|
904
904
|
*/
|
|
905
905
|
getFulfillmentOrder(requestParameters, options) {
|
|
906
|
-
return (0, exports.
|
|
906
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
909
909
|
* Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
910
|
-
* @param {
|
|
910
|
+
* @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
|
|
911
911
|
* @param {*} [options] Override http request option.
|
|
912
912
|
* @throws {RequiredError}
|
|
913
|
-
* @memberof
|
|
913
|
+
* @memberof FulfillmentOutboundApi
|
|
914
914
|
*/
|
|
915
915
|
getFulfillmentPreview(requestParameters, options) {
|
|
916
|
-
return (0, exports.
|
|
916
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
917
917
|
}
|
|
918
918
|
/**
|
|
919
919
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
920
|
-
* @param {
|
|
920
|
+
* @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
|
|
921
921
|
* @param {*} [options] Override http request option.
|
|
922
922
|
* @throws {RequiredError}
|
|
923
|
-
* @memberof
|
|
923
|
+
* @memberof FulfillmentOutboundApi
|
|
924
924
|
*/
|
|
925
925
|
getPackageTrackingDetails(requestParameters, options) {
|
|
926
|
-
return (0, exports.
|
|
926
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
|
|
927
927
|
}
|
|
928
928
|
/**
|
|
929
929
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
|
|
930
|
-
* @param {
|
|
930
|
+
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
931
931
|
* @param {*} [options] Override http request option.
|
|
932
932
|
* @throws {RequiredError}
|
|
933
|
-
* @memberof
|
|
933
|
+
* @memberof FulfillmentOutboundApi
|
|
934
934
|
*/
|
|
935
935
|
listAllFulfillmentOrders(requestParameters = {}, options) {
|
|
936
|
-
return (0, exports.
|
|
936
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
937
937
|
}
|
|
938
938
|
/**
|
|
939
939
|
* Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
940
|
-
* @param {
|
|
940
|
+
* @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
|
|
941
941
|
* @param {*} [options] Override http request option.
|
|
942
942
|
* @throws {RequiredError}
|
|
943
|
-
* @memberof
|
|
943
|
+
* @memberof FulfillmentOutboundApi
|
|
944
944
|
*/
|
|
945
945
|
listReturnReasonCodes(requestParameters, options) {
|
|
946
|
-
return (0, exports.
|
|
946
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
947
947
|
}
|
|
948
948
|
/**
|
|
949
949
|
* Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
|
|
950
|
-
* @param {
|
|
950
|
+
* @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
|
|
951
951
|
* @param {*} [options] Override http request option.
|
|
952
952
|
* @throws {RequiredError}
|
|
953
|
-
* @memberof
|
|
953
|
+
* @memberof FulfillmentOutboundApi
|
|
954
954
|
*/
|
|
955
955
|
submitFulfillmentOrderStatusUpdate(requestParameters, options) {
|
|
956
|
-
return (0, exports.
|
|
956
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
957
957
|
}
|
|
958
958
|
/**
|
|
959
959
|
* Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
960
|
-
* @param {
|
|
960
|
+
* @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
961
961
|
* @param {*} [options] Override http request option.
|
|
962
962
|
* @throws {RequiredError}
|
|
963
|
-
* @memberof
|
|
963
|
+
* @memberof FulfillmentOutboundApi
|
|
964
964
|
*/
|
|
965
965
|
updateFulfillmentOrder(requestParameters, options) {
|
|
966
|
-
return (0, exports.
|
|
966
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
exports.
|
|
969
|
+
exports.FulfillmentOutboundApi = FulfillmentOutboundApi;
|
|
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/
|
|
30
|
+
__exportStar(require("./api/fulfillment-outbound-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -96,7 +96,7 @@ exports.clientRateLimits = [
|
|
|
96
96
|
burst: 30,
|
|
97
97
|
},
|
|
98
98
|
];
|
|
99
|
-
class FulfillmentOutboundApiClient extends api_model_1.
|
|
99
|
+
class FulfillmentOutboundApiClient extends api_model_1.FulfillmentOutboundApi {
|
|
100
100
|
constructor(configuration) {
|
|
101
101
|
const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
|
|
102
102
|
super(new api_model_1.Configuration(), endpoint, axios);
|