@sp-api-sdk/fulfillment-outbound-api-2020-07-01 3.1.1 → 4.0.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/{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
|
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* FulfillmentOutboundApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* 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).
|
|
@@ -486,11 +486,11 @@ export const FbaOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* FulfillmentOutboundApi - functional programming interface
|
|
490
490
|
* @export
|
|
491
491
|
*/
|
|
492
|
-
export const
|
|
493
|
-
const localVarAxiosParamCreator =
|
|
492
|
+
export const FulfillmentOutboundApiFp = function (configuration) {
|
|
493
|
+
const localVarAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator(configuration);
|
|
494
494
|
return {
|
|
495
495
|
/**
|
|
496
496
|
* 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).
|
|
@@ -501,7 +501,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
501
501
|
async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
|
|
502
502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
|
|
503
503
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
504
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
504
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.cancelFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
505
505
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
506
506
|
},
|
|
507
507
|
/**
|
|
@@ -513,7 +513,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
513
513
|
async createFulfillmentOrder(body, options) {
|
|
514
514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
|
|
515
515
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
516
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
516
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
517
517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
518
|
},
|
|
519
519
|
/**
|
|
@@ -526,7 +526,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
526
526
|
async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
|
|
527
527
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
|
|
528
528
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
529
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
529
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
530
530
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
531
531
|
},
|
|
532
532
|
/**
|
|
@@ -538,7 +538,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
538
538
|
async deliveryOffers(body, options) {
|
|
539
539
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
|
|
540
540
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
541
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
541
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.deliveryOffers']?.[localVarOperationServerIndex]?.url;
|
|
542
542
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
543
543
|
},
|
|
544
544
|
/**
|
|
@@ -553,7 +553,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
553
553
|
async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
|
|
554
554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
|
|
555
555
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
556
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
556
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getFeatureInventory']?.[localVarOperationServerIndex]?.url;
|
|
557
557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
558
558
|
},
|
|
559
559
|
/**
|
|
@@ -567,7 +567,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
567
567
|
async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
|
|
568
568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
|
|
569
569
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
570
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
570
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getFeatureSKU']?.[localVarOperationServerIndex]?.url;
|
|
571
571
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
572
572
|
},
|
|
573
573
|
/**
|
|
@@ -579,7 +579,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
579
579
|
async getFeatures(marketplaceId, options) {
|
|
580
580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
|
|
581
581
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
582
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
582
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getFeatures']?.[localVarOperationServerIndex]?.url;
|
|
583
583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
584
584
|
},
|
|
585
585
|
/**
|
|
@@ -591,7 +591,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
591
591
|
async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
|
|
592
592
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
|
|
593
593
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
594
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
594
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
595
595
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
596
596
|
},
|
|
597
597
|
/**
|
|
@@ -603,7 +603,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
603
603
|
async getFulfillmentPreview(body, options) {
|
|
604
604
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
|
|
605
605
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
606
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
606
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getFulfillmentPreview']?.[localVarOperationServerIndex]?.url;
|
|
607
607
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
608
608
|
},
|
|
609
609
|
/**
|
|
@@ -615,7 +615,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
615
615
|
async getPackageTrackingDetails(packageNumber, options) {
|
|
616
616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
|
|
617
617
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
618
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
618
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
|
|
619
619
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
620
|
},
|
|
621
621
|
/**
|
|
@@ -628,7 +628,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
628
628
|
async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
|
|
629
629
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
|
|
630
630
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
631
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
631
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.listAllFulfillmentOrders']?.[localVarOperationServerIndex]?.url;
|
|
632
632
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
633
633
|
},
|
|
634
634
|
/**
|
|
@@ -643,7 +643,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
643
643
|
async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
|
|
644
644
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
|
|
645
645
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
646
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
646
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.listReturnReasonCodes']?.[localVarOperationServerIndex]?.url;
|
|
647
647
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
648
|
},
|
|
649
649
|
/**
|
|
@@ -656,7 +656,7 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
656
656
|
async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
|
|
657
657
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
|
|
658
658
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
659
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
659
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate']?.[localVarOperationServerIndex]?.url;
|
|
660
660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
661
661
|
},
|
|
662
662
|
/**
|
|
@@ -669,21 +669,21 @@ export const FbaOutboundApiFp = function (configuration) {
|
|
|
669
669
|
async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
|
|
670
670
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
|
|
671
671
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
672
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
672
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.updateFulfillmentOrder']?.[localVarOperationServerIndex]?.url;
|
|
673
673
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
674
674
|
},
|
|
675
675
|
};
|
|
676
676
|
};
|
|
677
677
|
/**
|
|
678
|
-
*
|
|
678
|
+
* FulfillmentOutboundApi - factory interface
|
|
679
679
|
* @export
|
|
680
680
|
*/
|
|
681
|
-
export const
|
|
682
|
-
const localVarFp =
|
|
681
|
+
export const FulfillmentOutboundApiFactory = function (configuration, basePath, axios) {
|
|
682
|
+
const localVarFp = FulfillmentOutboundApiFp(configuration);
|
|
683
683
|
return {
|
|
684
684
|
/**
|
|
685
685
|
* 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).
|
|
686
|
-
* @param {
|
|
686
|
+
* @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
|
|
687
687
|
* @param {*} [options] Override http request option.
|
|
688
688
|
* @throws {RequiredError}
|
|
689
689
|
*/
|
|
@@ -692,7 +692,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
692
692
|
},
|
|
693
693
|
/**
|
|
694
694
|
* 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)
|
|
695
|
-
* @param {
|
|
695
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
696
696
|
* @param {*} [options] Override http request option.
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
*/
|
|
@@ -701,7 +701,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
701
701
|
},
|
|
702
702
|
/**
|
|
703
703
|
* 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).
|
|
704
|
-
* @param {
|
|
704
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
|
|
705
705
|
* @param {*} [options] Override http request option.
|
|
706
706
|
* @throws {RequiredError}
|
|
707
707
|
*/
|
|
@@ -710,7 +710,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
710
710
|
},
|
|
711
711
|
/**
|
|
712
712
|
* 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).
|
|
713
|
-
* @param {
|
|
713
|
+
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
714
714
|
* @param {*} [options] Override http request option.
|
|
715
715
|
* @throws {RequiredError}
|
|
716
716
|
*/
|
|
@@ -719,7 +719,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
719
719
|
},
|
|
720
720
|
/**
|
|
721
721
|
* 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)..
|
|
722
|
-
* @param {
|
|
722
|
+
* @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
|
|
723
723
|
* @param {*} [options] Override http request option.
|
|
724
724
|
* @throws {RequiredError}
|
|
725
725
|
*/
|
|
@@ -728,7 +728,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
728
728
|
},
|
|
729
729
|
/**
|
|
730
730
|
* 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).
|
|
731
|
-
* @param {
|
|
731
|
+
* @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
|
|
732
732
|
* @param {*} [options] Override http request option.
|
|
733
733
|
* @throws {RequiredError}
|
|
734
734
|
*/
|
|
@@ -737,7 +737,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
737
737
|
},
|
|
738
738
|
/**
|
|
739
739
|
* 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).
|
|
740
|
-
* @param {
|
|
740
|
+
* @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
|
|
741
741
|
* @param {*} [options] Override http request option.
|
|
742
742
|
* @throws {RequiredError}
|
|
743
743
|
*/
|
|
@@ -746,7 +746,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
746
746
|
},
|
|
747
747
|
/**
|
|
748
748
|
* 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).
|
|
749
|
-
* @param {
|
|
749
|
+
* @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
|
|
750
750
|
* @param {*} [options] Override http request option.
|
|
751
751
|
* @throws {RequiredError}
|
|
752
752
|
*/
|
|
@@ -755,7 +755,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
755
755
|
},
|
|
756
756
|
/**
|
|
757
757
|
* 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).
|
|
758
|
-
* @param {
|
|
758
|
+
* @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
|
|
759
759
|
* @param {*} [options] Override http request option.
|
|
760
760
|
* @throws {RequiredError}
|
|
761
761
|
*/
|
|
@@ -764,7 +764,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
764
764
|
},
|
|
765
765
|
/**
|
|
766
766
|
* 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).
|
|
767
|
-
* @param {
|
|
767
|
+
* @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
|
|
768
768
|
* @param {*} [options] Override http request option.
|
|
769
769
|
* @throws {RequiredError}
|
|
770
770
|
*/
|
|
@@ -773,7 +773,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
773
773
|
},
|
|
774
774
|
/**
|
|
775
775
|
* 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)
|
|
776
|
-
* @param {
|
|
776
|
+
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
777
777
|
* @param {*} [options] Override http request option.
|
|
778
778
|
* @throws {RequiredError}
|
|
779
779
|
*/
|
|
@@ -782,7 +782,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
782
782
|
},
|
|
783
783
|
/**
|
|
784
784
|
* 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).
|
|
785
|
-
* @param {
|
|
785
|
+
* @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
|
|
786
786
|
* @param {*} [options] Override http request option.
|
|
787
787
|
* @throws {RequiredError}
|
|
788
788
|
*/
|
|
@@ -791,7 +791,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
791
791
|
},
|
|
792
792
|
/**
|
|
793
793
|
* 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.
|
|
794
|
-
* @param {
|
|
794
|
+
* @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
|
|
795
795
|
* @param {*} [options] Override http request option.
|
|
796
796
|
* @throws {RequiredError}
|
|
797
797
|
*/
|
|
@@ -800,7 +800,7 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
800
800
|
},
|
|
801
801
|
/**
|
|
802
802
|
* 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).
|
|
803
|
-
* @param {
|
|
803
|
+
* @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
804
804
|
* @param {*} [options] Override http request option.
|
|
805
805
|
* @throws {RequiredError}
|
|
806
806
|
*/
|
|
@@ -810,150 +810,150 @@ export const FbaOutboundApiFactory = function (configuration, basePath, axios) {
|
|
|
810
810
|
};
|
|
811
811
|
};
|
|
812
812
|
/**
|
|
813
|
-
*
|
|
813
|
+
* FulfillmentOutboundApi - object-oriented interface
|
|
814
814
|
* @export
|
|
815
|
-
* @class
|
|
815
|
+
* @class FulfillmentOutboundApi
|
|
816
816
|
* @extends {BaseAPI}
|
|
817
817
|
*/
|
|
818
|
-
export class
|
|
818
|
+
export class FulfillmentOutboundApi extends BaseAPI {
|
|
819
819
|
/**
|
|
820
820
|
* 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).
|
|
821
|
-
* @param {
|
|
821
|
+
* @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
|
|
822
822
|
* @param {*} [options] Override http request option.
|
|
823
823
|
* @throws {RequiredError}
|
|
824
|
-
* @memberof
|
|
824
|
+
* @memberof FulfillmentOutboundApi
|
|
825
825
|
*/
|
|
826
826
|
cancelFulfillmentOrder(requestParameters, options) {
|
|
827
|
-
return
|
|
827
|
+
return FulfillmentOutboundApiFp(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
828
828
|
}
|
|
829
829
|
/**
|
|
830
830
|
* 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)
|
|
831
|
-
* @param {
|
|
831
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
832
832
|
* @param {*} [options] Override http request option.
|
|
833
833
|
* @throws {RequiredError}
|
|
834
|
-
* @memberof
|
|
834
|
+
* @memberof FulfillmentOutboundApi
|
|
835
835
|
*/
|
|
836
836
|
createFulfillmentOrder(requestParameters, options) {
|
|
837
|
-
return
|
|
837
|
+
return FulfillmentOutboundApiFp(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
838
838
|
}
|
|
839
839
|
/**
|
|
840
840
|
* 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).
|
|
841
|
-
* @param {
|
|
841
|
+
* @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
|
|
842
842
|
* @param {*} [options] Override http request option.
|
|
843
843
|
* @throws {RequiredError}
|
|
844
|
-
* @memberof
|
|
844
|
+
* @memberof FulfillmentOutboundApi
|
|
845
845
|
*/
|
|
846
846
|
createFulfillmentReturn(requestParameters, options) {
|
|
847
|
-
return
|
|
847
|
+
return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
850
|
* 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).
|
|
851
|
-
* @param {
|
|
851
|
+
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
852
852
|
* @param {*} [options] Override http request option.
|
|
853
853
|
* @throws {RequiredError}
|
|
854
|
-
* @memberof
|
|
854
|
+
* @memberof FulfillmentOutboundApi
|
|
855
855
|
*/
|
|
856
856
|
deliveryOffers(requestParameters, options) {
|
|
857
|
-
return
|
|
857
|
+
return FulfillmentOutboundApiFp(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
858
858
|
}
|
|
859
859
|
/**
|
|
860
860
|
* 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)..
|
|
861
|
-
* @param {
|
|
861
|
+
* @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
|
|
862
862
|
* @param {*} [options] Override http request option.
|
|
863
863
|
* @throws {RequiredError}
|
|
864
|
-
* @memberof
|
|
864
|
+
* @memberof FulfillmentOutboundApi
|
|
865
865
|
*/
|
|
866
866
|
getFeatureInventory(requestParameters, options) {
|
|
867
|
-
return
|
|
867
|
+
return FulfillmentOutboundApiFp(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
|
|
868
868
|
}
|
|
869
869
|
/**
|
|
870
870
|
* 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).
|
|
871
|
-
* @param {
|
|
871
|
+
* @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
|
|
872
872
|
* @param {*} [options] Override http request option.
|
|
873
873
|
* @throws {RequiredError}
|
|
874
|
-
* @memberof
|
|
874
|
+
* @memberof FulfillmentOutboundApi
|
|
875
875
|
*/
|
|
876
876
|
getFeatureSKU(requestParameters, options) {
|
|
877
|
-
return
|
|
877
|
+
return FulfillmentOutboundApiFp(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
|
|
878
878
|
}
|
|
879
879
|
/**
|
|
880
880
|
* 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).
|
|
881
|
-
* @param {
|
|
881
|
+
* @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
|
|
882
882
|
* @param {*} [options] Override http request option.
|
|
883
883
|
* @throws {RequiredError}
|
|
884
|
-
* @memberof
|
|
884
|
+
* @memberof FulfillmentOutboundApi
|
|
885
885
|
*/
|
|
886
886
|
getFeatures(requestParameters, options) {
|
|
887
|
-
return
|
|
887
|
+
return FulfillmentOutboundApiFp(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
|
|
888
888
|
}
|
|
889
889
|
/**
|
|
890
890
|
* 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).
|
|
891
|
-
* @param {
|
|
891
|
+
* @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
|
|
892
892
|
* @param {*} [options] Override http request option.
|
|
893
893
|
* @throws {RequiredError}
|
|
894
|
-
* @memberof
|
|
894
|
+
* @memberof FulfillmentOutboundApi
|
|
895
895
|
*/
|
|
896
896
|
getFulfillmentOrder(requestParameters, options) {
|
|
897
|
-
return
|
|
897
|
+
return FulfillmentOutboundApiFp(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
900
900
|
* 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).
|
|
901
|
-
* @param {
|
|
901
|
+
* @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
|
|
902
902
|
* @param {*} [options] Override http request option.
|
|
903
903
|
* @throws {RequiredError}
|
|
904
|
-
* @memberof
|
|
904
|
+
* @memberof FulfillmentOutboundApi
|
|
905
905
|
*/
|
|
906
906
|
getFulfillmentPreview(requestParameters, options) {
|
|
907
|
-
return
|
|
907
|
+
return FulfillmentOutboundApiFp(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
908
908
|
}
|
|
909
909
|
/**
|
|
910
910
|
* 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).
|
|
911
|
-
* @param {
|
|
911
|
+
* @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
|
|
912
912
|
* @param {*} [options] Override http request option.
|
|
913
913
|
* @throws {RequiredError}
|
|
914
|
-
* @memberof
|
|
914
|
+
* @memberof FulfillmentOutboundApi
|
|
915
915
|
*/
|
|
916
916
|
getPackageTrackingDetails(requestParameters, options) {
|
|
917
|
-
return
|
|
917
|
+
return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
|
|
918
918
|
}
|
|
919
919
|
/**
|
|
920
920
|
* 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)
|
|
921
|
-
* @param {
|
|
921
|
+
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
922
922
|
* @param {*} [options] Override http request option.
|
|
923
923
|
* @throws {RequiredError}
|
|
924
|
-
* @memberof
|
|
924
|
+
* @memberof FulfillmentOutboundApi
|
|
925
925
|
*/
|
|
926
926
|
listAllFulfillmentOrders(requestParameters = {}, options) {
|
|
927
|
-
return
|
|
927
|
+
return FulfillmentOutboundApiFp(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
928
928
|
}
|
|
929
929
|
/**
|
|
930
930
|
* 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).
|
|
931
|
-
* @param {
|
|
931
|
+
* @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
|
|
932
932
|
* @param {*} [options] Override http request option.
|
|
933
933
|
* @throws {RequiredError}
|
|
934
|
-
* @memberof
|
|
934
|
+
* @memberof FulfillmentOutboundApi
|
|
935
935
|
*/
|
|
936
936
|
listReturnReasonCodes(requestParameters, options) {
|
|
937
|
-
return
|
|
937
|
+
return FulfillmentOutboundApiFp(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
938
938
|
}
|
|
939
939
|
/**
|
|
940
940
|
* 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.
|
|
941
|
-
* @param {
|
|
941
|
+
* @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
|
|
942
942
|
* @param {*} [options] Override http request option.
|
|
943
943
|
* @throws {RequiredError}
|
|
944
|
-
* @memberof
|
|
944
|
+
* @memberof FulfillmentOutboundApi
|
|
945
945
|
*/
|
|
946
946
|
submitFulfillmentOrderStatusUpdate(requestParameters, options) {
|
|
947
|
-
return
|
|
947
|
+
return FulfillmentOutboundApiFp(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
948
948
|
}
|
|
949
949
|
/**
|
|
950
950
|
* 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).
|
|
951
|
-
* @param {
|
|
951
|
+
* @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
952
952
|
* @param {*} [options] Override http request option.
|
|
953
953
|
* @throws {RequiredError}
|
|
954
|
-
* @memberof
|
|
954
|
+
* @memberof FulfillmentOutboundApi
|
|
955
955
|
*/
|
|
956
956
|
updateFulfillmentOrder(requestParameters, options) {
|
|
957
|
-
return
|
|
957
|
+
return FulfillmentOutboundApiFp(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
958
958
|
}
|
|
959
959
|
}
|
package/dist/es/api-model/api.js
CHANGED
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, FulfillmentOutboundApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'post',
|
|
@@ -93,7 +93,7 @@ export const clientRateLimits = [
|
|
|
93
93
|
burst: 30,
|
|
94
94
|
},
|
|
95
95
|
];
|
|
96
|
-
export class FulfillmentOutboundApiClient extends
|
|
96
|
+
export class FulfillmentOutboundApiClient extends FulfillmentOutboundApi {
|
|
97
97
|
constructor(configuration) {
|
|
98
98
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
99
99
|
super(new Configuration(), endpoint, axios);
|