@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0-rc8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/helper/DefaultRateLimitFetcher.mjs +2 -35
- package/helper/DefaultRateLimitMap.mjs +285 -0
- package/helper/SuperagentRateLimiter.mjs +26 -14
- package/index.js +0 -1
- package/package.json +2 -2
- package/sample-node-app/index.js +27 -13
- package/src/apluscontent_v2020_11_01/ApiClient.js +498 -497
- package/src/apluscontent_v2020_11_01/api/AplusContentApi.js +512 -497
- package/src/apluscontent_v2020_11_01/index.js +197 -198
- package/src/apluscontent_v2020_11_01/model/AplusPaginatedResponse.js +22 -26
- package/src/apluscontent_v2020_11_01/model/AplusResponse.js +16 -19
- package/src/apluscontent_v2020_11_01/model/AsinBadge.js +14 -20
- package/src/apluscontent_v2020_11_01/model/AsinMetadata.js +27 -35
- package/src/apluscontent_v2020_11_01/model/ColorType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/ContentBadge.js +16 -23
- package/src/apluscontent_v2020_11_01/model/ContentDocument.js +30 -37
- package/src/apluscontent_v2020_11_01/model/ContentMetadata.js +31 -38
- package/src/apluscontent_v2020_11_01/model/ContentMetadataRecord.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ContentModule.js +63 -81
- package/src/apluscontent_v2020_11_01/model/ContentModuleType.js +36 -53
- package/src/apluscontent_v2020_11_01/model/ContentRecord.js +22 -27
- package/src/apluscontent_v2020_11_01/model/ContentStatus.js +14 -20
- package/src/apluscontent_v2020_11_01/model/ContentType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/Decorator.js +22 -28
- package/src/apluscontent_v2020_11_01/model/DecoratorType.js +22 -32
- package/src/apluscontent_v2020_11_01/model/Error.js +21 -26
- package/src/apluscontent_v2020_11_01/model/ErrorList.js +17 -20
- package/src/apluscontent_v2020_11_01/model/GetContentDocumentResponse.js +25 -29
- package/src/apluscontent_v2020_11_01/model/ImageComponent.js +24 -29
- package/src/apluscontent_v2020_11_01/model/ImageCropSpecification.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ImageDimensions.js +22 -26
- package/src/apluscontent_v2020_11_01/model/ImageOffsets.js +22 -26
- package/src/apluscontent_v2020_11_01/model/IntegerWithUnits.js +19 -23
- package/src/apluscontent_v2020_11_01/model/ListContentDocumentAsinRelationsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/ParagraphComponent.js +18 -21
- package/src/apluscontent_v2020_11_01/model/PlainTextItem.js +19 -23
- package/src/apluscontent_v2020_11_01/model/PositionType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentApprovalSubmissionResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsRequest.js +16 -19
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentRequest.js +18 -21
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentResponse.js +23 -27
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentSuspendSubmissionResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PublishRecord.js +32 -40
- package/src/apluscontent_v2020_11_01/model/SearchContentDocumentsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/SearchContentPublishRecordsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/StandardCompanyLogoModule.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardComparisonProductBlock.js +28 -36
- package/src/apluscontent_v2020_11_01/model/StandardComparisonTableModule.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardFourImageTextModule.js +25 -32
- package/src/apluscontent_v2020_11_01/model/StandardFourImageTextQuadrantModule.js +30 -36
- package/src/apluscontent_v2020_11_01/model/StandardHeaderImageTextModule.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardHeaderTextListBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageCaptionBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageSidebarModule.js +30 -38
- package/src/apluscontent_v2020_11_01/model/StandardImageTextBlock.js +22 -27
- package/src/apluscontent_v2020_11_01/model/StandardImageTextCaptionBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageTextOverlayModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardMultipleImageTextModule.js +16 -19
- package/src/apluscontent_v2020_11_01/model/StandardProductDescriptionModule.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardSingleImageHighlightsModule.js +29 -37
- package/src/apluscontent_v2020_11_01/model/StandardSingleImageSpecsDetailModule.js +33 -43
- package/src/apluscontent_v2020_11_01/model/StandardSingleSideImageModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardTechSpecsModule.js +22 -27
- package/src/apluscontent_v2020_11_01/model/StandardTextBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardTextListBlock.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardTextModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardTextPairBlock.js +18 -22
- package/src/apluscontent_v2020_11_01/model/StandardThreeImageTextModule.js +23 -29
- package/src/apluscontent_v2020_11_01/model/TextComponent.js +19 -23
- package/src/apluscontent_v2020_11_01/model/TextItem.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ValidateContentDocumentAsinRelationsResponse.js +27 -31
- package/src/appintegrations_v2024_04_01/ApiClient.js +498 -497
- package/src/appintegrations_v2024_04_01/api/AppIntegrationsApi.js +147 -125
- package/src/appintegrations_v2024_04_01/index.js +26 -27
- package/src/appintegrations_v2024_04_01/model/CreateNotificationRequest.js +21 -26
- package/src/appintegrations_v2024_04_01/model/CreateNotificationResponse.js +15 -18
- package/src/appintegrations_v2024_04_01/model/DeleteNotificationsRequest.js +25 -29
- package/src/appintegrations_v2024_04_01/model/Error.js +21 -26
- package/src/appintegrations_v2024_04_01/model/ErrorList.js +17 -20
- package/src/appintegrations_v2024_04_01/model/RecordActionFeedbackRequest.js +20 -23
- package/src/applications_v2023_11_30/ApiClient.js +498 -497
- package/src/applications_v2023_11_30/api/ApplicationsApi.js +62 -38
- package/src/applications_v2023_11_30/index.js +14 -15
- package/src/applications_v2023_11_30/model/Error.js +21 -26
- package/src/applications_v2023_11_30/model/ErrorList.js +17 -20
- package/src/awd_v2024_05_09/ApiClient.js +498 -497
- package/src/awd_v2024_05_09/api/AwdApi.js +462 -448
- package/src/awd_v2024_05_09/index.js +158 -159
- package/src/awd_v2024_05_09/model/Address.js +39 -52
- package/src/awd_v2024_05_09/model/CarrierCode.js +18 -22
- package/src/awd_v2024_05_09/model/CarrierCodeType.js +8 -11
- package/src/awd_v2024_05_09/model/DestinationDetails.js +20 -25
- package/src/awd_v2024_05_09/model/DimensionUnitOfMeasurement.js +10 -14
- package/src/awd_v2024_05_09/model/DistributionPackage.js +28 -33
- package/src/awd_v2024_05_09/model/DistributionPackageContents.js +19 -23
- package/src/awd_v2024_05_09/model/DistributionPackageQuantity.js +21 -25
- package/src/awd_v2024_05_09/model/DistributionPackageType.js +10 -14
- package/src/awd_v2024_05_09/model/Error.js +21 -26
- package/src/awd_v2024_05_09/model/ErrorList.js +17 -20
- package/src/awd_v2024_05_09/model/ExpirationDetails.js +17 -21
- package/src/awd_v2024_05_09/model/InboundEligibility.js +28 -34
- package/src/awd_v2024_05_09/model/InboundEligibilityStatus.js +10 -14
- package/src/awd_v2024_05_09/model/InboundOrder.js +43 -54
- package/src/awd_v2024_05_09/model/InboundOrderCreationData.js +27 -33
- package/src/awd_v2024_05_09/model/InboundOrderReference.js +16 -19
- package/src/awd_v2024_05_09/model/InboundPackages.js +17 -20
- package/src/awd_v2024_05_09/model/InboundPreferences.js +15 -18
- package/src/awd_v2024_05_09/model/InboundShipment.js +60 -78
- package/src/awd_v2024_05_09/model/InboundShipmentStatus.js +20 -29
- package/src/awd_v2024_05_09/model/InboundShipmentSummary.js +30 -38
- package/src/awd_v2024_05_09/model/InboundStatus.js +18 -26
- package/src/awd_v2024_05_09/model/InventoryDetails.js +19 -24
- package/src/awd_v2024_05_09/model/InventoryListing.js +19 -23
- package/src/awd_v2024_05_09/model/InventoryQuantity.js +21 -25
- package/src/awd_v2024_05_09/model/InventorySummary.js +26 -33
- package/src/awd_v2024_05_09/model/InventoryUnitOfMeasurement.js +12 -17
- package/src/awd_v2024_05_09/model/LabelOwner.js +10 -14
- package/src/awd_v2024_05_09/model/LabelStatus.js +14 -20
- package/src/awd_v2024_05_09/model/MeasurementData.js +24 -29
- package/src/awd_v2024_05_09/model/OrderIneligibilityReason.js +19 -23
- package/src/awd_v2024_05_09/model/PackageDimensions.js +27 -33
- package/src/awd_v2024_05_09/model/PackageVolume.js +21 -25
- package/src/awd_v2024_05_09/model/PackageWeight.js +21 -25
- package/src/awd_v2024_05_09/model/PrepCategory.js +34 -50
- package/src/awd_v2024_05_09/model/PrepDetails.js +25 -31
- package/src/awd_v2024_05_09/model/PrepInstruction.js +18 -22
- package/src/awd_v2024_05_09/model/PrepOwner.js +10 -14
- package/src/awd_v2024_05_09/model/ProductAttribute.js +17 -21
- package/src/awd_v2024_05_09/model/ProductQuantity.js +27 -34
- package/src/awd_v2024_05_09/model/ShipmentLabels.js +20 -24
- package/src/awd_v2024_05_09/model/ShipmentListing.js +18 -22
- package/src/awd_v2024_05_09/model/SkuEligibility.js +26 -31
- package/src/awd_v2024_05_09/model/SkuIneligibilityReason.js +19 -23
- package/src/awd_v2024_05_09/model/SkuQuantity.js +23 -28
- package/src/awd_v2024_05_09/model/TrackingDetails.js +19 -23
- package/src/awd_v2024_05_09/model/TransportationDetails.js +17 -20
- package/src/awd_v2024_05_09/model/VolumeUnitOfMeasurement.js +12 -17
- package/src/awd_v2024_05_09/model/WeightUnitOfMeasurement.js +10 -14
- package/src/catalogitems_v2022_04_01/ApiClient.js +498 -497
- package/src/catalogitems_v2022_04_01/api/CatalogApi.js +130 -107
- package/src/catalogitems_v2022_04_01/index.js +95 -96
- package/src/catalogitems_v2022_04_01/model/BrandRefinement.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ClassificationRefinement.js +22 -27
- package/src/catalogitems_v2022_04_01/model/Dimension.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Dimensions.js +22 -28
- package/src/catalogitems_v2022_04_01/model/Error.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ErrorList.js +18 -21
- package/src/catalogitems_v2022_04_01/model/Item.js +45 -58
- package/src/catalogitems_v2022_04_01/model/ItemBrowseClassification.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ItemBrowseClassificationsByMarketplace.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ItemClassificationSalesRank.js +24 -30
- package/src/catalogitems_v2022_04_01/model/ItemContributor.js +21 -25
- package/src/catalogitems_v2022_04_01/model/ItemContributorRole.js +18 -22
- package/src/catalogitems_v2022_04_01/model/ItemDimensionsByMarketplace.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ItemDisplayGroupSalesRank.js +24 -30
- package/src/catalogitems_v2022_04_01/model/ItemIdentifier.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ItemIdentifiersByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemImage.js +47 -53
- package/src/catalogitems_v2022_04_01/model/ItemImagesByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemProductTypeByMarketplace.js +17 -21
- package/src/catalogitems_v2022_04_01/model/ItemRelationship.js +29 -35
- package/src/catalogitems_v2022_04_01/model/ItemRelationshipsByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemSalesRanksByMarketplace.js +22 -27
- package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +30 -36
- package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.js +66 -88
- package/src/catalogitems_v2022_04_01/model/ItemVariationTheme.js +17 -21
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.js +53 -63
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsCategory.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Pagination.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Refinements.js +21 -25
- package/src/datakiosk_v2023_11_15/ApiClient.js +498 -497
- package/src/datakiosk_v2023_11_15/api/QueriesApi.js +222 -202
- package/src/datakiosk_v2023_11_15/index.js +35 -36
- package/src/datakiosk_v2023_11_15/model/CreateQueryResponse.js +16 -19
- package/src/datakiosk_v2023_11_15/model/CreateQuerySpecification.js +18 -22
- package/src/datakiosk_v2023_11_15/model/Error.js +21 -26
- package/src/datakiosk_v2023_11_15/model/ErrorList.js +17 -20
- package/src/datakiosk_v2023_11_15/model/GetDocumentResponse.js +19 -23
- package/src/datakiosk_v2023_11_15/model/GetQueriesResponse.js +20 -24
- package/src/datakiosk_v2023_11_15/model/GetQueriesResponsePagination.js +15 -18
- package/src/datakiosk_v2023_11_15/model/Query.js +48 -59
- package/src/datakiosk_v2023_11_15/model/QueryPagination.js +15 -18
- package/src/easyship_v2022_03_23/ApiClient.js +498 -497
- package/src/easyship_v2022_03_23/api/EasyShipApi.js +220 -200
- package/src/easyship_v2022_03_23/index.js +89 -90
- package/src/easyship_v2022_03_23/model/Code.js +28 -41
- package/src/easyship_v2022_03_23/model/CreateScheduledPackageRequest.js +24 -29
- package/src/easyship_v2022_03_23/model/CreateScheduledPackagesRequest.js +25 -30
- package/src/easyship_v2022_03_23/model/CreateScheduledPackagesResponse.js +21 -26
- package/src/easyship_v2022_03_23/model/Dimensions.js +24 -31
- package/src/easyship_v2022_03_23/model/Error.js +21 -26
- package/src/easyship_v2022_03_23/model/ErrorList.js +17 -20
- package/src/easyship_v2022_03_23/model/HandoverMethod.js +10 -14
- package/src/easyship_v2022_03_23/model/InvoiceData.js +18 -22
- package/src/easyship_v2022_03_23/model/Item.js +17 -21
- package/src/easyship_v2022_03_23/model/LabelFormat.js +10 -14
- package/src/easyship_v2022_03_23/model/ListHandoverSlotsRequest.js +29 -35
- package/src/easyship_v2022_03_23/model/ListHandoverSlotsResponse.js +20 -24
- package/src/easyship_v2022_03_23/model/OrderScheduleDetails.js +20 -24
- package/src/easyship_v2022_03_23/model/Package.js +47 -58
- package/src/easyship_v2022_03_23/model/PackageDetails.js +23 -28
- package/src/easyship_v2022_03_23/model/PackageStatus.js +30 -44
- package/src/easyship_v2022_03_23/model/Packages.js +17 -20
- package/src/easyship_v2022_03_23/model/RejectedOrder.js +19 -23
- package/src/easyship_v2022_03_23/model/ScheduledPackageId.js +18 -22
- package/src/easyship_v2022_03_23/model/TimeSlot.js +23 -29
- package/src/easyship_v2022_03_23/model/TrackingDetails.js +15 -18
- package/src/easyship_v2022_03_23/model/UnitOfLength.js +8 -11
- package/src/easyship_v2022_03_23/model/UnitOfWeight.js +10 -14
- package/src/easyship_v2022_03_23/model/UpdatePackageDetails.js +23 -27
- package/src/easyship_v2022_03_23/model/UpdateScheduledPackagesRequest.js +20 -24
- package/src/easyship_v2022_03_23/model/Weight.js +18 -22
- package/src/fbaeligibility_v1/ApiClient.js +498 -497
- package/src/fbaeligibility_v1/api/FbaInboundApi.js +74 -50
- package/src/fbaeligibility_v1/index.js +17 -18
- package/src/fbaeligibility_v1/model/Error.js +20 -25
- package/src/fbaeligibility_v1/model/GetItemEligibilityPreviewResponse.js +19 -23
- package/src/fbaeligibility_v1/model/ItemEligibilityPreview.js +112 -119
- package/src/fbainventory_v1/ApiClient.js +498 -497
- package/src/fbainventory_v1/api/FbaInventoryApi.js +214 -193
- package/src/fbainventory_v1/index.js +59 -60
- package/src/fbainventory_v1/model/AddInventoryRequest.js +16 -19
- package/src/fbainventory_v1/model/AddInventoryResponse.js +16 -19
- package/src/fbainventory_v1/model/CreateInventoryItemRequest.js +22 -27
- package/src/fbainventory_v1/model/CreateInventoryItemResponse.js +16 -19
- package/src/fbainventory_v1/model/DeleteInventoryItemResponse.js +16 -19
- package/src/fbainventory_v1/model/Error.js +20 -25
- package/src/fbainventory_v1/model/GetInventorySummariesResponse.js +22 -27
- package/src/fbainventory_v1/model/GetInventorySummariesResult.js +22 -26
- package/src/fbainventory_v1/model/Granularity.js +17 -21
- package/src/fbainventory_v1/model/InventoryDetails.js +30 -39
- package/src/fbainventory_v1/model/InventoryItem.js +22 -27
- package/src/fbainventory_v1/model/InventorySummary.js +32 -43
- package/src/fbainventory_v1/model/Pagination.js +15 -18
- package/src/fbainventory_v1/model/ResearchingQuantity.js +18 -22
- package/src/fbainventory_v1/model/ResearchingQuantityEntry.js +27 -31
- package/src/fbainventory_v1/model/ReservedQuantity.js +21 -27
- package/src/fbainventory_v1/model/UnfulfillableQuantity.js +27 -36
- package/src/feeds_v2021_06_30/ApiClient.js +498 -497
- package/src/feeds_v2021_06_30/api/FeedsApi.js +262 -243
- package/src/feeds_v2021_06_30/index.js +35 -36
- package/src/feeds_v2021_06_30/model/CreateFeedDocumentResponse.js +19 -23
- package/src/feeds_v2021_06_30/model/CreateFeedDocumentSpecification.js +16 -19
- package/src/feeds_v2021_06_30/model/CreateFeedResponse.js +16 -19
- package/src/feeds_v2021_06_30/model/CreateFeedSpecification.js +24 -30
- package/src/feeds_v2021_06_30/model/Error.js +21 -26
- package/src/feeds_v2021_06_30/model/ErrorList.js +17 -20
- package/src/feeds_v2021_06_30/model/Feed.js +45 -55
- package/src/feeds_v2021_06_30/model/FeedDocument.js +25 -30
- package/src/feeds_v2021_06_30/model/GetFeedsResponse.js +19 -23
- package/src/finances_v0/ApiClient.js +498 -497
- package/src/finances_v0/api/DefaultApi.js +178 -157
- package/src/finances_v0/index.js +158 -159
- package/src/finances_v0/model/AdhocDisbursementEvent.js +22 -28
- package/src/finances_v0/model/AdjustmentEvent.js +25 -32
- package/src/finances_v0/model/AdjustmentItem.js +30 -40
- package/src/finances_v0/model/AffordabilityExpenseEvent.js +38 -49
- package/src/finances_v0/model/CapacityReservationBillingEvent.js +22 -28
- package/src/finances_v0/model/ChargeComponent.js +18 -22
- package/src/finances_v0/model/ChargeInstrument.js +20 -25
- package/src/finances_v0/model/ChargeRefundEvent.js +22 -28
- package/src/finances_v0/model/ChargeRefundTransaction.js +18 -22
- package/src/finances_v0/model/CouponPaymentEvent.js +32 -42
- package/src/finances_v0/model/Currency.js +17 -21
- package/src/finances_v0/model/DebtRecoveryEvent.js +26 -33
- package/src/finances_v0/model/DebtRecoveryItem.js +22 -28
- package/src/finances_v0/model/DirectPayment.js +18 -22
- package/src/finances_v0/model/Error.js +21 -26
- package/src/finances_v0/model/FBALiquidationEvent.js +22 -28
- package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +28 -37
- package/src/finances_v0/model/FeeComponent.js +18 -22
- package/src/finances_v0/model/FinancialEventGroup.js +36 -49
- package/src/finances_v0/model/FinancialEvents.js +107 -142
- package/src/finances_v0/model/ImagingServicesFeeEvent.js +22 -28
- package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +18 -22
- package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +19 -23
- package/src/finances_v0/model/ListFinancialEventsPayload.js +18 -22
- package/src/finances_v0/model/ListFinancialEventsResponse.js +19 -23
- package/src/finances_v0/model/LoanServicingEvent.js +18 -22
- package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +30 -40
- package/src/finances_v0/model/PayWithAmazonEvent.js +35 -47
- package/src/finances_v0/model/ProductAdsPaymentEvent.js +26 -34
- package/src/finances_v0/model/Promotion.js +20 -25
- package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +26 -34
- package/src/finances_v0/model/RemovalShipmentEvent.js +26 -34
- package/src/finances_v0/model/RemovalShipmentItem.js +30 -40
- package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +28 -37
- package/src/finances_v0/model/RentalTransactionEvent.js +37 -49
- package/src/finances_v0/model/RetrochargeEvent.js +29 -38
- package/src/finances_v0/model/SAFETReimbursementEvent.js +25 -32
- package/src/finances_v0/model/SAFETReimbursementItem.js +20 -25
- package/src/finances_v0/model/SellerDealPaymentEvent.js +30 -40
- package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +28 -36
- package/src/finances_v0/model/ServiceFeeEvent.js +30 -40
- package/src/finances_v0/model/ShipmentEvent.js +45 -61
- package/src/finances_v0/model/ShipmentItem.js +44 -59
- package/src/finances_v0/model/SolutionProviderCreditEvent.js +34 -46
- package/src/finances_v0/model/TDSReimbursementEvent.js +20 -25
- package/src/finances_v0/model/TaxWithheldComponent.js +18 -22
- package/src/finances_v0/model/TaxWithholdingEvent.js +23 -29
- package/src/finances_v0/model/TaxWithholdingPeriod.js +17 -21
- package/src/finances_v0/model/TrialShipmentEvent.js +24 -31
- package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +22 -28
- package/src/fulfillmentinbound_v0/ApiClient.js +498 -497
- package/src/fulfillmentinbound_v0/api/FbaInboundApi.js +313 -294
- package/src/fulfillmentinbound_v0/index.js +101 -102
- package/src/fulfillmentinbound_v0/model/ASINPrepInstructions.js +24 -30
- package/src/fulfillmentinbound_v0/model/Address.js +35 -45
- package/src/fulfillmentinbound_v0/model/AmazonPrepFeesDetails.js +19 -23
- package/src/fulfillmentinbound_v0/model/Amount.js +21 -25
- package/src/fulfillmentinbound_v0/model/BarcodeInstruction.js +12 -17
- package/src/fulfillmentinbound_v0/model/BillOfLadingDownloadURL.js +15 -18
- package/src/fulfillmentinbound_v0/model/BoxContentsFeeDetails.js +20 -25
- package/src/fulfillmentinbound_v0/model/BoxContentsSource.js +14 -20
- package/src/fulfillmentinbound_v0/model/CurrencyCode.js +10 -14
- package/src/fulfillmentinbound_v0/model/Error.js +21 -26
- package/src/fulfillmentinbound_v0/model/ErrorReason.js +10 -14
- package/src/fulfillmentinbound_v0/model/GetBillOfLadingResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetLabelsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResult.js +25 -31
- package/src/fulfillmentinbound_v0/model/GetShipmentItemsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetShipmentItemsResult.js +18 -22
- package/src/fulfillmentinbound_v0/model/GetShipmentsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetShipmentsResult.js +18 -22
- package/src/fulfillmentinbound_v0/model/InboundShipmentInfo.js +41 -53
- package/src/fulfillmentinbound_v0/model/InboundShipmentItem.js +32 -42
- package/src/fulfillmentinbound_v0/model/InvalidASIN.js +18 -22
- package/src/fulfillmentinbound_v0/model/InvalidSKU.js +18 -22
- package/src/fulfillmentinbound_v0/model/LabelDownloadURL.js +15 -18
- package/src/fulfillmentinbound_v0/model/LabelPrepType.js +12 -17
- package/src/fulfillmentinbound_v0/model/PrepDetails.js +23 -27
- package/src/fulfillmentinbound_v0/model/PrepGuidance.js +12 -17
- package/src/fulfillmentinbound_v0/model/PrepInstruction.js +38 -56
- package/src/fulfillmentinbound_v0/model/PrepOwner.js +10 -14
- package/src/fulfillmentinbound_v0/model/SKUPrepInstructions.js +29 -37
- package/src/fulfillmentinbound_v0/model/ShipmentStatus.js +26 -38
- package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +498 -497
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +1900 -1920
- package/src/fulfillmentinbound_v2024_03_20/index.js +428 -429
- package/src/fulfillmentinbound_v2024_03_20/model/Address.js +38 -50
- package/src/fulfillmentinbound_v2024_03_20/model/AddressInput.js +39 -51
- package/src/fulfillmentinbound_v2024_03_20/model/AllOwnersConstraint.js +8 -11
- package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlot.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlotTime.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Box.js +41 -54
- package/src/fulfillmentinbound_v2024_03_20/model/BoxContentInformationSource.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/BoxInput.js +34 -41
- package/src/fulfillmentinbound_v2024_03_20/model/BoxRequirements.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/BoxUpdateInput.js +36 -44
- package/src/fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Carrier.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/CarrierAppointment.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ComplianceDetail.js +22 -28
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ContactInformation.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview.js +29 -35
- package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest.js +34 -43
- package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/Currency.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/CustomPlacementInput.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/Dates.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +28 -35
- package/src/fulfillmentinbound_v2024_03_20/model/Dimensions.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/DocumentDownload.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/Error.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ErrorList.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/FreightInformation.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/InboundOperationStatus.js +28 -34
- package/src/fulfillmentinbound_v2024_03_20/model/InboundPlan.js +45 -57
- package/src/fulfillmentinbound_v2024_03_20/model/InboundPlanSummary.js +36 -45
- package/src/fulfillmentinbound_v2024_03_20/model/Incentive.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/Item.js +36 -46
- package/src/fulfillmentinbound_v2024_03_20/model/ItemInput.js +33 -41
- package/src/fulfillmentinbound_v2024_03_20/model/ItemLabelPageType.js +28 -41
- package/src/fulfillmentinbound_v2024_03_20/model/LabelOwner.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/LabelPrintType.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetail.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetailInput.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetail.js +33 -41
- package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetailInput.js +25 -30
- package/src/fulfillmentinbound_v2024_03_20/model/MskuQuantity.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/OperationProblem.js +24 -30
- package/src/fulfillmentinbound_v2024_03_20/model/OperationStatus.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/OwnerConstraint.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/PackageGroupingInput.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/PackingConfiguration.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/PackingOption.js +39 -49
- package/src/fulfillmentinbound_v2024_03_20/model/PackingOptionSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Pagination.js +15 -18
- package/src/fulfillmentinbound_v2024_03_20/model/Pallet.js +27 -34
- package/src/fulfillmentinbound_v2024_03_20/model/PalletInput.js +25 -31
- package/src/fulfillmentinbound_v2024_03_20/model/PlacementOption.js +31 -39
- package/src/fulfillmentinbound_v2024_03_20/model/PlacementOptionSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/PrepCategory.js +34 -50
- package/src/fulfillmentinbound_v2024_03_20/model/PrepInstruction.js +20 -25
- package/src/fulfillmentinbound_v2024_03_20/model/PrepOwner.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/PrepType.js +38 -56
- package/src/fulfillmentinbound_v2024_03_20/model/Quote.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/ReasonComment.js +24 -35
- package/src/fulfillmentinbound_v2024_03_20/model/Region.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/RequestedUpdates.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +27 -34
- package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentDetails.js +20 -25
- package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentSlotsAvailability.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Shipment.js +57 -74
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentDestination.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSource.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentTransportationConfiguration.js +30 -37
- package/src/fulfillmentinbound_v2024_03_20/model/ShippingConfiguration.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/ShippingRequirements.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetail.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetailInput.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItem.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItemInput.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Stackability.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/TaxDetails.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/TaxRate.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetails.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetailsInput.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/TransportationOption.js +39 -49
- package/src/fulfillmentinbound_v2024_03_20/model/TransportationSelection.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/UnitOfMeasurement.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/UnitOfWeight.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Weight.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/WeightRange.js +24 -29
- package/src/fulfillmentinbound_v2024_03_20/model/Window.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/WindowInput.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +498 -497
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +597 -586
- package/src/fulfillmentoutbound_v2020_07_01/index.js +272 -273
- package/src/fulfillmentoutbound_v2020_07_01/model/AdditionalLocationInfo.js +58 -86
- package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +38 -50
- package/src/fulfillmentoutbound_v2020_07_01/model/Amount.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/CODSettings.js +25 -32
- package/src/fulfillmentoutbound_v2020_07_01/model/CancelFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderItem.js +35 -46
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderRequest.js +66 -85
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnRequest.js +17 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResult.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateReturnItem.js +27 -34
- package/src/fulfillmentoutbound_v2020_07_01/model/CurrentStatus.js +42 -62
- package/src/fulfillmentoutbound_v2020_07_01/model/DateRange.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryInformation.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryMessage.js +17 -21
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryOffer.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPolicy.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPreferences.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryWindow.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/Destination.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.js +36 -40
- package/src/fulfillmentoutbound_v2020_07_01/model/Error.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/EventCode.js +72 -107
- package/src/fulfillmentoutbound_v2020_07_01/model/Feature.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSku.js +23 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/Fee.js +31 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentAction.js +10 -14
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrder.js +66 -84
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderItem.js +47 -63
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderStatus.js +24 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPolicy.js +12 -17
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreview.js +47 -60
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.js +33 -40
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewShipment.js +27 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentReturnItemStatus.js +10 -14
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.js +45 -55
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentItem.js +28 -36
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentPackage.js +29 -37
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersProduct.js +21 -25
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersRequest.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersTerms.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResult.js +24 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResult.js +27 -34
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResult.js +17 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResult.js +36 -44
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewItem.js +25 -31
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewRequest.js +34 -43
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/GetPackageTrackingDetailsResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReason.js +21 -25
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReasonCode.js +14 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidReturnItem.js +24 -29
- package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResult.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/LockerDetails.js +17 -21
- package/src/fulfillmentoutbound_v2020_07_01/model/Money.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/Origin.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/PackageTrackingDetails.js +49 -66
- package/src/fulfillmentoutbound_v2020_07_01/model/PaymentInformation.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/ProductIdentifier.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/ReasonCodeDetails.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnAuthorization.js +30 -37
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItem.js +44 -57
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItemDisposition.js +16 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ScheduledDeliveryInfo.js +20 -24
- package/src/fulfillmentoutbound_v2020_07_01/model/ShippingSpeedCategory.js +14 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateRequest.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/TrackingAddress.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/TrackingEvent.js +29 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/UnfulfillablePreviewItem.js +24 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderItem.js +36 -48
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderRequest.js +43 -57
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/VariablePrecisionAddress.js +31 -41
- package/src/fulfillmentoutbound_v2020_07_01/model/Weight.js +29 -33
- package/src/invoices_v2024_06_19/ApiClient.js +498 -497
- package/src/invoices_v2024_06_19/api/InvoicesApi.js +321 -303
- package/src/invoices_v2024_06_19/index.js +62 -63
- package/src/invoices_v2024_06_19/model/AttributeOption.js +17 -21
- package/src/invoices_v2024_06_19/model/Error.js +21 -26
- package/src/invoices_v2024_06_19/model/ErrorList.js +17 -20
- package/src/invoices_v2024_06_19/model/Export.js +26 -34
- package/src/invoices_v2024_06_19/model/ExportInvoicesRequest.js +36 -48
- package/src/invoices_v2024_06_19/model/ExportInvoicesResponse.js +15 -18
- package/src/invoices_v2024_06_19/model/ExportStatus.js +14 -20
- package/src/invoices_v2024_06_19/model/FileFormat.js +8 -11
- package/src/invoices_v2024_06_19/model/GetInvoiceResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesAttributesResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesDocumentResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesExportResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesExportsResponse.js +18 -22
- package/src/invoices_v2024_06_19/model/GetInvoicesResponse.js +18 -22
- package/src/invoices_v2024_06_19/model/Invoice.js +34 -46
- package/src/invoices_v2024_06_19/model/InvoicesAttributes.js +22 -28
- package/src/invoices_v2024_06_19/model/InvoicesDocument.js +17 -21
- package/src/invoices_v2024_06_19/model/TransactionIdentifier.js +17 -21
- package/src/invoicing_v0/ApiClient.js +498 -497
- package/src/invoicing_v0/api/ShipmentInvoiceApi.js +150 -128
- package/src/invoicing_v0/index.js +56 -57
- package/src/invoicing_v0/model/Address.js +38 -52
- package/src/invoicing_v0/model/AddressTypeEnum.js +10 -14
- package/src/invoicing_v0/model/BuyerTaxInfo.js +20 -25
- package/src/invoicing_v0/model/Error.js +21 -26
- package/src/invoicing_v0/model/GetInvoiceStatusResponse.js +19 -23
- package/src/invoicing_v0/model/GetShipmentDetailsResponse.js +19 -23
- package/src/invoicing_v0/model/MarketplaceTaxInfo.js +20 -25
- package/src/invoicing_v0/model/Money.js +17 -21
- package/src/invoicing_v0/model/ShipmentDetail.js +45 -61
- package/src/invoicing_v0/model/ShipmentInvoiceStatus.js +14 -20
- package/src/invoicing_v0/model/ShipmentInvoiceStatusInfo.js +18 -22
- package/src/invoicing_v0/model/ShipmentInvoiceStatusResponse.js +16 -19
- package/src/invoicing_v0/model/ShipmentItem.js +36 -49
- package/src/invoicing_v0/model/SubmitInvoiceRequest.js +21 -26
- package/src/invoicing_v0/model/SubmitInvoiceResponse.js +16 -19
- package/src/invoicing_v0/model/TaxClassification.js +17 -21
- package/src/listingsitems_v2021_08_01/ApiClient.js +498 -497
- package/src/listingsitems_v2021_08_01/api/ListingsApi.js +328 -308
- package/src/listingsitems_v2021_08_01/index.js +86 -87
- package/src/listingsitems_v2021_08_01/model/Audience.js +17 -21
- package/src/listingsitems_v2021_08_01/model/Error.js +21 -26
- package/src/listingsitems_v2021_08_01/model/ErrorList.js +18 -21
- package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +18 -22
- package/src/listingsitems_v2021_08_01/model/Issue.js +38 -46
- package/src/listingsitems_v2021_08_01/model/IssueEnforcementAction.js +16 -19
- package/src/listingsitems_v2021_08_01/model/IssueEnforcements.js +22 -26
- package/src/listingsitems_v2021_08_01/model/IssueExemption.js +26 -30
- package/src/listingsitems_v2021_08_01/model/Item.js +39 -50
- package/src/listingsitems_v2021_08_01/model/ItemIdentifiersByMarketplace.js +17 -21
- package/src/listingsitems_v2021_08_01/model/ItemImage.js +22 -27
- package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.js +36 -43
- package/src/listingsitems_v2021_08_01/model/ItemProcurement.js +18 -21
- package/src/listingsitems_v2021_08_01/model/ItemProductTypeByMarketplace.js +19 -23
- package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +29 -35
- package/src/listingsitems_v2021_08_01/model/ItemRelationshipsByMarketplace.js +20 -24
- package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +23 -28
- package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.js +73 -85
- package/src/listingsitems_v2021_08_01/model/ItemVariationTheme.js +19 -23
- package/src/listingsitems_v2021_08_01/model/ListingsItemPatchRequest.js +20 -24
- package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.js +29 -34
- package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.js +36 -43
- package/src/listingsitems_v2021_08_01/model/Money.js +19 -23
- package/src/listingsitems_v2021_08_01/model/Pagination.js +17 -21
- package/src/listingsitems_v2021_08_01/model/PatchOperation.js +29 -34
- package/src/listingsitems_v2021_08_01/model/Points.js +17 -20
- package/src/listingsrestrictions_v2021_08_01/ApiClient.js +498 -497
- package/src/listingsrestrictions_v2021_08_01/api/ListingsApi.js +81 -57
- package/src/listingsrestrictions_v2021_08_01/index.js +23 -24
- package/src/listingsrestrictions_v2021_08_01/model/Error.js +21 -26
- package/src/listingsrestrictions_v2021_08_01/model/Link.js +27 -33
- package/src/listingsrestrictions_v2021_08_01/model/Reason.js +29 -34
- package/src/listingsrestrictions_v2021_08_01/model/Restriction.js +49 -54
- package/src/listingsrestrictions_v2021_08_01/model/RestrictionList.js +18 -21
- package/src/merchantfulfillment_v0/ApiClient.js +498 -497
- package/src/merchantfulfillment_v0/api/MerchantFulfillmentApi.js +222 -202
- package/src/merchantfulfillment_v0/index.js +176 -177
- package/src/merchantfulfillment_v0/model/AdditionalInputs.js +18 -22
- package/src/merchantfulfillment_v0/model/AdditionalSellerInput.js +35 -46
- package/src/merchantfulfillment_v0/model/AdditionalSellerInputs.js +21 -25
- package/src/merchantfulfillment_v0/model/Address.js +42 -55
- package/src/merchantfulfillment_v0/model/AvailableCarrierWillPickUpOption.js +23 -27
- package/src/merchantfulfillment_v0/model/AvailableDeliveryExperienceOption.js +23 -27
- package/src/merchantfulfillment_v0/model/AvailableShippingServiceOptions.js +21 -25
- package/src/merchantfulfillment_v0/model/Benefits.js +18 -22
- package/src/merchantfulfillment_v0/model/CancelShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/CarrierWillPickUpOption.js +12 -17
- package/src/merchantfulfillment_v0/model/Constraint.js +18 -22
- package/src/merchantfulfillment_v0/model/CreateShipmentRequest.js +32 -40
- package/src/merchantfulfillment_v0/model/CreateShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/CurrencyAmount.js +19 -23
- package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.js +57 -63
- package/src/merchantfulfillment_v0/model/DeliveryExperienceOption.js +16 -23
- package/src/merchantfulfillment_v0/model/DeliveryExperienceType.js +14 -20
- package/src/merchantfulfillment_v0/model/Error.js +21 -26
- package/src/merchantfulfillment_v0/model/ExcludedBenefit.js +17 -21
- package/src/merchantfulfillment_v0/model/FileContents.js +24 -29
- package/src/merchantfulfillment_v0/model/FileType.js +12 -17
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsRequest.js +24 -29
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResult.js +19 -23
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesRequest.js +21 -25
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResult.js +26 -32
- package/src/merchantfulfillment_v0/model/GetShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/HazmatType.js +10 -14
- package/src/merchantfulfillment_v0/model/InputTargetType.js +10 -14
- package/src/merchantfulfillment_v0/model/Item.js +37 -48
- package/src/merchantfulfillment_v0/model/ItemLevelFields.js +20 -24
- package/src/merchantfulfillment_v0/model/Label.js +31 -38
- package/src/merchantfulfillment_v0/model/LabelCustomization.js +18 -22
- package/src/merchantfulfillment_v0/model/LabelDimensions.js +24 -29
- package/src/merchantfulfillment_v0/model/LabelFormat.js +16 -23
- package/src/merchantfulfillment_v0/model/LabelFormatOption.js +18 -22
- package/src/merchantfulfillment_v0/model/LabelFormatOptionRequest.js +15 -18
- package/src/merchantfulfillment_v0/model/Length.js +18 -22
- package/src/merchantfulfillment_v0/model/LiquidVolume.js +35 -39
- package/src/merchantfulfillment_v0/model/PackageDimensions.js +25 -32
- package/src/merchantfulfillment_v0/model/PredefinedPackageDimensions.js +106 -158
- package/src/merchantfulfillment_v0/model/RejectedShippingService.js +27 -34
- package/src/merchantfulfillment_v0/model/SellerInputDefinition.js +36 -45
- package/src/merchantfulfillment_v0/model/Shipment.js +71 -88
- package/src/merchantfulfillment_v0/model/ShipmentRequestDetails.js +49 -61
- package/src/merchantfulfillment_v0/model/ShipmentStatus.js +14 -20
- package/src/merchantfulfillment_v0/model/ShippingOfferingFilter.js +23 -29
- package/src/merchantfulfillment_v0/model/ShippingService.js +59 -75
- package/src/merchantfulfillment_v0/model/ShippingServiceOptions.js +30 -37
- package/src/merchantfulfillment_v0/model/StandardIdForLabel.js +8 -11
- package/src/merchantfulfillment_v0/model/TemporarilyUnavailableCarrier.js +16 -19
- package/src/merchantfulfillment_v0/model/TermsAndConditionsNotAcceptedCarrier.js +16 -19
- package/src/merchantfulfillment_v0/model/UnitOfLength.js +10 -14
- package/src/merchantfulfillment_v0/model/UnitOfWeight.js +10 -14
- package/src/merchantfulfillment_v0/model/Weight.js +21 -25
- package/src/messaging_v1/ApiClient.js +498 -497
- package/src/messaging_v1/api/MessagingApi.js +690 -678
- package/src/messaging_v1/index.js +113 -114
- package/src/messaging_v1/model/Attachment.js +19 -23
- package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +16 -19
- package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmCustomizationDetailsRequest.js +18 -22
- package/src/messaging_v1/model/CreateConfirmCustomizationDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmDeliveryDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmDeliveryDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmOrderDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmOrderDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmServiceDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmServiceDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateDigitalAccessKeyRequest.js +18 -22
- package/src/messaging_v1/model/CreateDigitalAccessKeyResponse.js +16 -19
- package/src/messaging_v1/model/CreateLegalDisclosureRequest.js +16 -19
- package/src/messaging_v1/model/CreateLegalDisclosureResponse.js +16 -19
- package/src/messaging_v1/model/CreateNegativeFeedbackRemovalResponse.js +16 -19
- package/src/messaging_v1/model/CreateUnexpectedProblemRequest.js +15 -18
- package/src/messaging_v1/model/CreateUnexpectedProblemResponse.js +16 -19
- package/src/messaging_v1/model/CreateWarrantyRequest.js +20 -25
- package/src/messaging_v1/model/CreateWarrantyResponse.js +16 -19
- package/src/messaging_v1/model/Error.js +21 -26
- package/src/messaging_v1/model/GetAttributesResponse.js +19 -23
- package/src/messaging_v1/model/GetAttributesResponseBuyer.js +15 -18
- package/src/messaging_v1/model/GetMessagingActionResponse.js +25 -31
- package/src/messaging_v1/model/GetMessagingActionResponseEmbedded.js +16 -19
- package/src/messaging_v1/model/GetMessagingActionResponseLinks.js +22 -26
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponse.js +22 -27
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponseEmbedded.js +18 -21
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponseLinks.js +21 -25
- package/src/messaging_v1/model/GetSchemaResponse.js +21 -26
- package/src/messaging_v1/model/GetSchemaResponseLinks.js +18 -21
- package/src/messaging_v1/model/InvoiceRequest.js +16 -19
- package/src/messaging_v1/model/InvoiceResponse.js +16 -19
- package/src/messaging_v1/model/LinkObject.js +18 -22
- package/src/messaging_v1/model/MessagingAction.js +16 -19
- package/src/notifications_v1/ApiClient.js +498 -497
- package/src/notifications_v1/api/NotificationsApi.js +351 -334
- package/src/notifications_v1/index.js +86 -87
- package/src/notifications_v1/model/AggregationFilter.js +16 -19
- package/src/notifications_v1/model/AggregationSettings.js +18 -21
- package/src/notifications_v1/model/AggregationTimePeriod.js +10 -14
- package/src/notifications_v1/model/CreateDestinationRequest.js +21 -25
- package/src/notifications_v1/model/CreateDestinationResponse.js +19 -23
- package/src/notifications_v1/model/CreateSubscriptionRequest.js +22 -27
- package/src/notifications_v1/model/CreateSubscriptionResponse.js +19 -23
- package/src/notifications_v1/model/DeleteDestinationResponse.js +16 -19
- package/src/notifications_v1/model/DeleteSubscriptionByIdResponse.js +16 -19
- package/src/notifications_v1/model/Destination.js +24 -29
- package/src/notifications_v1/model/DestinationResource.js +19 -23
- package/src/notifications_v1/model/DestinationResourceSpecification.js +19 -23
- package/src/notifications_v1/model/Error.js +21 -26
- package/src/notifications_v1/model/EventBridgeResource.js +22 -27
- package/src/notifications_v1/model/EventBridgeResourceSpecification.js +19 -23
- package/src/notifications_v1/model/EventFilter.js +42 -48
- package/src/notifications_v1/model/GetDestinationResponse.js +19 -23
- package/src/notifications_v1/model/GetDestinationsResponse.js +19 -23
- package/src/notifications_v1/model/GetSubscriptionByIdResponse.js +19 -23
- package/src/notifications_v1/model/GetSubscriptionResponse.js +19 -23
- package/src/notifications_v1/model/MarketplaceFilter.js +15 -18
- package/src/notifications_v1/model/OrderChangeTypeEnum.js +10 -14
- package/src/notifications_v1/model/OrderChangeTypeFilter.js +16 -19
- package/src/notifications_v1/model/ProcessingDirective.js +16 -19
- package/src/notifications_v1/model/SqsResource.js +16 -19
- package/src/notifications_v1/model/Subscription.js +25 -31
- package/src/orders_v0/ApiClient.js +498 -497
- package/src/orders_v0/api/OrdersV0Api.js +410 -394
- package/src/orders_v0/api/ShipmentApi.js +72 -48
- package/src/orders_v0/index.js +224 -225
- package/src/orders_v0/model/Address.js +51 -68
- package/src/orders_v0/model/AddressExtendedFields.js +21 -27
- package/src/orders_v0/model/AmazonPrograms.js +16 -19
- package/src/orders_v0/model/AssociatedItem.js +20 -25
- package/src/orders_v0/model/AssociationType.js +8 -11
- package/src/orders_v0/model/AutomatedShippingSettings.js +19 -24
- package/src/orders_v0/model/BusinessHours.js +34 -38
- package/src/orders_v0/model/BuyerCustomizedInfoDetail.js +15 -18
- package/src/orders_v0/model/BuyerInfo.js +24 -31
- package/src/orders_v0/model/BuyerRequestedCancel.js +17 -21
- package/src/orders_v0/model/BuyerTaxInfo.js +20 -25
- package/src/orders_v0/model/BuyerTaxInformation.js +21 -27
- package/src/orders_v0/model/ConfirmShipmentErrorResponse.js +16 -19
- package/src/orders_v0/model/ConfirmShipmentOrderItem.js +21 -26
- package/src/orders_v0/model/ConfirmShipmentRequest.js +27 -32
- package/src/orders_v0/model/ConstraintType.js +8 -11
- package/src/orders_v0/model/DeliveryPreferences.js +23 -29
- package/src/orders_v0/model/EasyShipShipmentStatus.js +38 -56
- package/src/orders_v0/model/ElectronicInvoiceStatus.js +16 -23
- package/src/orders_v0/model/Error.js +21 -26
- package/src/orders_v0/model/ExceptionDates.js +20 -25
- package/src/orders_v0/model/ExportInfo.js +18 -22
- package/src/orders_v0/model/FulfillmentInstruction.js +15 -18
- package/src/orders_v0/model/GetOrderAddressResponse.js +19 -23
- package/src/orders_v0/model/GetOrderBuyerInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderItemsBuyerInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderItemsResponse.js +19 -23
- package/src/orders_v0/model/GetOrderRegulatedInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderResponse.js +19 -23
- package/src/orders_v0/model/GetOrdersResponse.js +19 -23
- package/src/orders_v0/model/ItemBuyerInfo.js +25 -32
- package/src/orders_v0/model/MarketplaceTaxInfo.js +16 -19
- package/src/orders_v0/model/Measurement.js +69 -73
- package/src/orders_v0/model/Money.js +17 -21
- package/src/orders_v0/model/OpenInterval.js +18 -22
- package/src/orders_v0/model/OpenTimeInterval.js +17 -21
- package/src/orders_v0/model/Order.js +171 -220
- package/src/orders_v0/model/OrderAddress.js +24 -30
- package/src/orders_v0/model/OrderBuyerInfo.js +27 -35
- package/src/orders_v0/model/OrderItem.js +118 -161
- package/src/orders_v0/model/OrderItemBuyerInfo.js +28 -36
- package/src/orders_v0/model/OrderItemsBuyerInfoList.js +22 -27
- package/src/orders_v0/model/OrderItemsInner.js +17 -21
- package/src/orders_v0/model/OrderItemsList.js +22 -27
- package/src/orders_v0/model/OrderRegulatedInfo.js +29 -35
- package/src/orders_v0/model/OrdersList.js +23 -29
- package/src/orders_v0/model/OtherDeliveryAttributes.js +12 -17
- package/src/orders_v0/model/PackageDetail.js +36 -46
- package/src/orders_v0/model/PaymentExecutionDetailItem.js +21 -25
- package/src/orders_v0/model/PointsGrantedDetail.js +18 -22
- package/src/orders_v0/model/PreferredDeliveryTime.js +19 -23
- package/src/orders_v0/model/PrescriptionDetail.js +34 -43
- package/src/orders_v0/model/ProductInfoDetail.js +15 -18
- package/src/orders_v0/model/RegulatedInformation.js +17 -20
- package/src/orders_v0/model/RegulatedInformationField.js +31 -37
- package/src/orders_v0/model/RegulatedOrderVerificationStatus.js +34 -43
- package/src/orders_v0/model/RejectionReason.js +19 -23
- package/src/orders_v0/model/ShipmentStatus.js +12 -17
- package/src/orders_v0/model/ShippingConstraints.js +22 -28
- package/src/orders_v0/model/SubstitutionOption.js +25 -32
- package/src/orders_v0/model/SubstitutionPreferences.js +27 -31
- package/src/orders_v0/model/TaxClassification.js +17 -21
- package/src/orders_v0/model/TaxCollection.js +25 -29
- package/src/orders_v0/model/UpdateShipmentStatusErrorResponse.js +16 -19
- package/src/orders_v0/model/UpdateShipmentStatusRequest.js +24 -29
- package/src/orders_v0/model/UpdateVerificationStatusErrorResponse.js +16 -19
- package/src/orders_v0/model/UpdateVerificationStatusRequest.js +18 -21
- package/src/orders_v0/model/UpdateVerificationStatusRequestBody.js +24 -30
- package/src/orders_v0/model/ValidVerificationDetail.js +20 -24
- package/src/orders_v0/model/VerificationDetails.js +16 -19
- package/src/orders_v0/model/VerificationStatus.js +16 -23
- package/src/pricing_v0/ApiClient.js +498 -497
- package/src/pricing_v0/api/ProductPricingApi.js +310 -291
- package/src/pricing_v0/index.js +161 -162
- package/src/pricing_v0/model/ASINIdentifier.js +19 -23
- package/src/pricing_v0/model/BatchOffersRequestParams.js +24 -29
- package/src/pricing_v0/model/BatchOffersResponse.js +24 -29
- package/src/pricing_v0/model/BatchRequest.js +23 -28
- package/src/pricing_v0/model/BuyBoxPriceType.js +42 -53
- package/src/pricing_v0/model/CompetitivePriceType.js +37 -48
- package/src/pricing_v0/model/CompetitivePricingType.js +24 -29
- package/src/pricing_v0/model/ConditionType.js +16 -23
- package/src/pricing_v0/model/CustomerType.js +10 -14
- package/src/pricing_v0/model/DetailedShippingTimeType.js +29 -35
- package/src/pricing_v0/model/Error.js +21 -26
- package/src/pricing_v0/model/Errors.js +17 -20
- package/src/pricing_v0/model/FulfillmentChannelType.js +10 -14
- package/src/pricing_v0/model/GetItemOffersBatchRequest.js +16 -19
- package/src/pricing_v0/model/GetItemOffersBatchResponse.js +16 -19
- package/src/pricing_v0/model/GetListingOffersBatchRequest.js +16 -19
- package/src/pricing_v0/model/GetListingOffersBatchResponse.js +16 -19
- package/src/pricing_v0/model/GetOffersHttpStatusLine.js +17 -21
- package/src/pricing_v0/model/GetOffersResponse.js +19 -23
- package/src/pricing_v0/model/GetOffersResult.js +42 -52
- package/src/pricing_v0/model/GetPricingResponse.js +19 -23
- package/src/pricing_v0/model/HttpMethod.js +16 -23
- package/src/pricing_v0/model/HttpResponseHeaders.js +19 -23
- package/src/pricing_v0/model/IdentifierType.js +21 -25
- package/src/pricing_v0/model/ItemCondition.js +16 -23
- package/src/pricing_v0/model/ItemIdentifier.js +25 -31
- package/src/pricing_v0/model/ItemOffersRequest.js +46 -54
- package/src/pricing_v0/model/ItemOffersRequestParams.js +32 -38
- package/src/pricing_v0/model/ItemOffersResponse.js +35 -41
- package/src/pricing_v0/model/ListingOffersRequest.js +46 -54
- package/src/pricing_v0/model/ListingOffersRequestParams.js +33 -39
- package/src/pricing_v0/model/ListingOffersResponse.js +33 -39
- package/src/pricing_v0/model/LowestPriceType.js +39 -50
- package/src/pricing_v0/model/MoneyType.js +17 -21
- package/src/pricing_v0/model/OfferCountType.js +20 -25
- package/src/pricing_v0/model/OfferCustomerType.js +10 -14
- package/src/pricing_v0/model/OfferDetail.js +61 -79
- package/src/pricing_v0/model/OfferListingCountType.js +19 -23
- package/src/pricing_v0/model/OfferType.js +43 -54
- package/src/pricing_v0/model/Points.js +18 -22
- package/src/pricing_v0/model/Price.js +23 -29
- package/src/pricing_v0/model/PriceType.js +25 -31
- package/src/pricing_v0/model/PrimeInformationType.js +19 -23
- package/src/pricing_v0/model/Product.js +31 -39
- package/src/pricing_v0/model/QuantityDiscountPriceType.js +26 -31
- package/src/pricing_v0/model/QuantityDiscountType.js +8 -11
- package/src/pricing_v0/model/SalesRankType.js +19 -23
- package/src/pricing_v0/model/SellerFeedbackType.js +18 -22
- package/src/pricing_v0/model/SellerSKUIdentifier.js +22 -27
- package/src/pricing_v0/model/ShipsFromType.js +17 -21
- package/src/pricing_v0/model/Summary.js +39 -51
- package/src/pricing_v2022_05_01/ApiClient.js +498 -497
- package/src/pricing_v2022_05_01/api/ProductPricingApi.js +109 -86
- package/src/pricing_v2022_05_01/index.js +128 -129
- package/src/pricing_v2022_05_01/model/BatchRequest.js +25 -31
- package/src/pricing_v2022_05_01/model/BatchResponse.js +21 -25
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchRequest.js +17 -20
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchResponse.js +17 -20
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryIncludedData.js +12 -17
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +34 -42
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponse.js +23 -27
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +31 -39
- package/src/pricing_v2022_05_01/model/Condition.js +16 -23
- package/src/pricing_v2022_05_01/model/Error.js +21 -26
- package/src/pricing_v2022_05_01/model/Errors.js +17 -20
- package/src/pricing_v2022_05_01/model/FeaturedBuyingOption.js +24 -28
- package/src/pricing_v2022_05_01/model/FeaturedOffer.js +24 -29
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPrice.js +21 -25
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +47 -56
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +22 -27
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponse.js +34 -40
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponseBody.js +22 -27
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResult.js +24 -30
- package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +27 -31
- package/src/pricing_v2022_05_01/model/FulfillmentType.js +10 -14
- package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchRequest.js +16 -19
- package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchResponse.js +16 -19
- package/src/pricing_v2022_05_01/model/HttpMethod.js +16 -23
- package/src/pricing_v2022_05_01/model/HttpStatusLine.js +17 -21
- package/src/pricing_v2022_05_01/model/LowestPricedOffer.js +22 -26
- package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +25 -29
- package/src/pricing_v2022_05_01/model/MoneyType.js +17 -21
- package/src/pricing_v2022_05_01/model/Offer.js +70 -80
- package/src/pricing_v2022_05_01/model/OfferIdentifier.js +26 -33
- package/src/pricing_v2022_05_01/model/Points.js +18 -22
- package/src/pricing_v2022_05_01/model/PostalCode.js +18 -22
- package/src/pricing_v2022_05_01/model/Price.js +23 -28
- package/src/pricing_v2022_05_01/model/PrimeDetails.js +24 -27
- package/src/pricing_v2022_05_01/model/ReferencePrice.js +21 -25
- package/src/pricing_v2022_05_01/model/SampleLocation.js +16 -19
- package/src/pricing_v2022_05_01/model/Segment.js +16 -19
- package/src/pricing_v2022_05_01/model/SegmentDetails.js +18 -22
- package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.js +85 -96
- package/src/pricing_v2022_05_01/model/ShippingOption.js +25 -29
- package/src/productfees_v0/ApiClient.js +498 -497
- package/src/productfees_v0/api/FeesApi.js +164 -142
- package/src/productfees_v0/index.js +62 -63
- package/src/productfees_v0/model/Error.js +21 -26
- package/src/productfees_v0/model/FeeDetail.js +32 -40
- package/src/productfees_v0/model/FeesEstimate.js +22 -27
- package/src/productfees_v0/model/FeesEstimateByIdRequest.js +24 -29
- package/src/productfees_v0/model/FeesEstimateError.js +25 -31
- package/src/productfees_v0/model/FeesEstimateIdentifier.js +32 -42
- package/src/productfees_v0/model/FeesEstimateRequest.js +29 -36
- package/src/productfees_v0/model/FeesEstimateResult.js +24 -30
- package/src/productfees_v0/model/GetMyFeesEstimateRequest.js +16 -19
- package/src/productfees_v0/model/GetMyFeesEstimateResponse.js +19 -23
- package/src/productfees_v0/model/GetMyFeesEstimateResult.js +16 -19
- package/src/productfees_v0/model/GetMyFeesEstimatesErrorList.js +18 -21
- package/src/productfees_v0/model/IdType.js +10 -14
- package/src/productfees_v0/model/IncludedFeeDetail.js +29 -36
- package/src/productfees_v0/model/MoneyType.js +17 -21
- package/src/productfees_v0/model/OptionalFulfillmentProgram.js +12 -17
- package/src/productfees_v0/model/Points.js +18 -22
- package/src/productfees_v0/model/PriceToEstimateFees.js +23 -28
- package/src/producttypedefinitions_v2020_09_01/ApiClient.js +498 -497
- package/src/producttypedefinitions_v2020_09_01/api/DefinitionsApi.js +126 -103
- package/src/producttypedefinitions_v2020_09_01/index.js +35 -36
- package/src/producttypedefinitions_v2020_09_01/model/Error.js +21 -26
- package/src/producttypedefinitions_v2020_09_01/model/ErrorList.js +18 -21
- package/src/producttypedefinitions_v2020_09_01/model/ProductType.js +22 -27
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.js +61 -73
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeList.js +21 -25
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeVersion.js +21 -26
- package/src/producttypedefinitions_v2020_09_01/model/PropertyGroup.js +19 -24
- package/src/producttypedefinitions_v2020_09_01/model/SchemaLink.js +21 -25
- package/src/producttypedefinitions_v2020_09_01/model/SchemaLinkLink.js +23 -27
- package/src/replenishment_v2022_11_07/ApiClient.js +498 -497
- package/src/replenishment_v2022_11_07/api/OffersApi.js +101 -78
- package/src/replenishment_v2022_11_07/api/SellingpartnersApi.js +65 -41
- package/src/replenishment_v2022_11_07/index.js +119 -120
- package/src/replenishment_v2022_11_07/model/AggregationFrequency.js +14 -20
- package/src/replenishment_v2022_11_07/model/AutoEnrollmentPreference.js +10 -14
- package/src/replenishment_v2022_11_07/model/DiscountFunding.js +15 -18
- package/src/replenishment_v2022_11_07/model/EligibilityStatus.js +14 -20
- package/src/replenishment_v2022_11_07/model/EnrollmentMethod.js +10 -14
- package/src/replenishment_v2022_11_07/model/Error.js +21 -26
- package/src/replenishment_v2022_11_07/model/ErrorList.js +17 -20
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsRequest.js +36 -44
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponse.js +16 -19
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +58 -82
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequest.js +26 -31
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestFilters.js +35 -43
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestPagination.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestSort.js +23 -27
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponse.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +48 -67
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsSortKey.js +24 -35
- package/src/replenishment_v2022_11_07/model/ListOffersRequest.js +26 -31
- package/src/replenishment_v2022_11_07/model/ListOffersRequestFilters.js +33 -42
- package/src/replenishment_v2022_11_07/model/ListOffersRequestPagination.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOffersRequestSort.js +23 -27
- package/src/replenishment_v2022_11_07/model/ListOffersResponse.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOffersResponseOffer.js +30 -39
- package/src/replenishment_v2022_11_07/model/ListOffersSortKey.js +16 -23
- package/src/replenishment_v2022_11_07/model/Metric.js +30 -44
- package/src/replenishment_v2022_11_07/model/OfferProgramConfiguration.js +22 -27
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPreferences.js +16 -19
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotions.js +22 -28
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotionsDiscountFunding.js +15 -18
- package/src/replenishment_v2022_11_07/model/PaginationResponse.js +15 -18
- package/src/replenishment_v2022_11_07/model/Preference.js +16 -19
- package/src/replenishment_v2022_11_07/model/ProgramType.js +8 -11
- package/src/replenishment_v2022_11_07/model/Promotion.js +22 -28
- package/src/replenishment_v2022_11_07/model/SortOrder.js +10 -14
- package/src/replenishment_v2022_11_07/model/TimeInterval.js +19 -23
- package/src/replenishment_v2022_11_07/model/TimePeriodType.js +10 -14
- package/src/reports_v2021_06_30/ApiClient.js +498 -497
- package/src/reports_v2021_06_30/api/ReportsApi.js +353 -337
- package/src/reports_v2021_06_30/index.js +41 -42
- package/src/reports_v2021_06_30/model/CreateReportResponse.js +16 -19
- package/src/reports_v2021_06_30/model/CreateReportScheduleResponse.js +16 -19
- package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.js +64 -71
- package/src/reports_v2021_06_30/model/CreateReportSpecification.js +25 -32
- package/src/reports_v2021_06_30/model/Error.js +21 -26
- package/src/reports_v2021_06_30/model/ErrorList.js +17 -20
- package/src/reports_v2021_06_30/model/GetReportsResponse.js +19 -23
- package/src/reports_v2021_06_30/model/Report.js +51 -64
- package/src/reports_v2021_06_30/model/ReportDocument.js +25 -30
- package/src/reports_v2021_06_30/model/ReportSchedule.js +28 -36
- package/src/reports_v2021_06_30/model/ReportScheduleList.js +17 -20
- package/src/sales_v1/ApiClient.js +498 -497
- package/src/sales_v1/api/SalesApi.js +84 -60
- package/src/sales_v1/index.js +20 -21
- package/src/sales_v1/model/Error.js +21 -26
- package/src/sales_v1/model/GetOrderMetricsResponse.js +19 -23
- package/src/sales_v1/model/Money.js +19 -23
- package/src/sales_v1/model/OrderMetricsInterval.js +34 -42
- package/src/sellers_v1/ApiClient.js +498 -497
- package/src/sellers_v1/api/SellersApi.js +96 -73
- package/src/sellers_v1/index.js +38 -39
- package/src/sellers_v1/model/Account.js +53 -60
- package/src/sellers_v1/model/Address.js +27 -35
- package/src/sellers_v1/model/Business.js +27 -34
- package/src/sellers_v1/model/Error.js +21 -26
- package/src/sellers_v1/model/GetAccountResponse.js +19 -23
- package/src/sellers_v1/model/GetMarketplaceParticipationsResponse.js +19 -23
- package/src/sellers_v1/model/Marketplace.js +31 -39
- package/src/sellers_v1/model/MarketplaceParticipation.js +26 -31
- package/src/sellers_v1/model/Participation.js +19 -23
- package/src/sellers_v1/model/PrimaryContact.js +23 -28
- package/src/services_v1/ApiClient.js +498 -497
- package/src/services_v1/api/ServiceApi.js +851 -843
- package/src/services_v1/index.js +204 -198
- package/src/services_v1/model/AddAppointmentRequest.js +18 -21
- package/src/services_v1/model/Address.js +37 -50
- package/src/services_v1/model/Appointment.js +36 -44
- package/src/services_v1/model/AppointmentResource.js +15 -18
- package/src/services_v1/model/AppointmentSlot.js +19 -24
- package/src/services_v1/model/AppointmentSlotReport.js +28 -34
- package/src/services_v1/model/AppointmentTime.js +19 -23
- package/src/services_v1/model/AppointmentTimeInput.js +18 -22
- package/src/services_v1/model/AssignAppointmentResourcesRequest.js +17 -20
- package/src/services_v1/model/AssignAppointmentResourcesResponse.js +19 -23
- package/src/services_v1/model/AssignAppointmentResourcesResponsePayload.js +16 -19
- package/src/services_v1/model/AssociatedItem.js +38 -47
- package/src/services_v1/model/AvailabilityRecord.js +24 -30
- package/src/services_v1/model/Buyer.js +21 -27
- package/src/services_v1/model/CancelReservationResponse.js +16 -19
- package/src/services_v1/model/CancelServiceJobByServiceJobIdResponse.js +16 -19
- package/src/services_v1/model/CapacityType.js +14 -20
- package/src/services_v1/model/CompleteServiceJobByServiceJobIdResponse.js +16 -19
- package/src/services_v1/model/CreateReservationRecord.js +22 -27
- package/src/services_v1/model/CreateReservationRequest.js +21 -25
- package/src/services_v1/model/CreateReservationResponse.js +19 -23
- package/src/services_v1/model/CreateServiceDocumentUploadDestination.js +19 -23
- package/src/services_v1/model/DateTimeRange.js +73 -0
- package/src/services_v1/model/DayOfWeek.js +20 -29
- package/src/services_v1/model/EncryptionDetails.js +26 -31
- package/src/services_v1/model/Error.js +29 -35
- package/src/services_v1/model/FixedSlot.js +23 -30
- package/src/services_v1/model/FixedSlotCapacity.js +22 -28
- package/src/services_v1/model/FixedSlotCapacityErrors.js +16 -19
- package/src/services_v1/model/FixedSlotCapacityQuery.js +24 -30
- package/src/services_v1/model/FulfillmentDocument.js +17 -21
- package/src/services_v1/model/FulfillmentTime.js +17 -21
- package/src/services_v1/model/GetAppointmentSlotsResponse.js +19 -23
- package/src/services_v1/model/GetServiceJobByServiceJobIdResponse.js +19 -23
- package/src/services_v1/model/GetServiceJobsResponse.js +19 -23
- package/src/services_v1/model/ItemDelivery.js +18 -22
- package/src/services_v1/model/ItemDeliveryPromise.js +17 -21
- package/src/services_v1/model/JobListing.js +22 -28
- package/src/services_v1/model/Poa.js +35 -42
- package/src/services_v1/model/RangeCapacity.js +19 -23
- package/src/services_v1/model/RangeSlot.js +19 -24
- package/src/services_v1/model/RangeSlotCapacity.js +20 -25
- package/src/services_v1/model/RangeSlotCapacityErrors.js +16 -19
- package/src/services_v1/model/RangeSlotCapacityQuery.js +22 -27
- package/src/services_v1/model/Recurrence.js +21 -26
- package/src/services_v1/model/RescheduleAppointmentRequest.js +21 -25
- package/src/services_v1/model/Reservation.js +35 -40
- package/src/services_v1/model/ScopeOfWork.js +21 -27
- package/src/services_v1/model/Seller.js +15 -18
- package/src/services_v1/model/ServiceDocumentUploadDestination.js +26 -32
- package/src/services_v1/model/ServiceJob.js +65 -81
- package/src/services_v1/model/ServiceJobProvider.js +15 -18
- package/src/services_v1/model/ServiceLocation.js +26 -30
- package/src/services_v1/model/ServiceUploadDocument.js +35 -40
- package/src/services_v1/model/SetAppointmentFulfillmentDataRequest.js +29 -27
- package/src/services_v1/model/SetAppointmentResponse.js +21 -26
- package/src/services_v1/model/Technician.js +17 -21
- package/src/services_v1/model/UpdateReservationRecord.js +22 -27
- package/src/services_v1/model/UpdateReservationRequest.js +21 -25
- package/src/services_v1/model/UpdateReservationResponse.js +19 -23
- package/src/services_v1/model/UpdateScheduleRecord.js +22 -27
- package/src/services_v1/model/UpdateScheduleRequest.js +17 -20
- package/src/services_v1/model/UpdateScheduleResponse.js +19 -23
- package/src/services_v1/model/Warning.js +21 -26
- package/src/shipping_v2/ApiClient.js +497 -496
- package/src/shipping_v2/api/ShippingApi.js +915 -910
- package/src/shipping_v2/index.js +388 -389
- package/src/shipping_v2/model/AccessPoint.js +43 -55
- package/src/shipping_v2/model/AccessPointDetails.js +14 -17
- package/src/shipping_v2/model/AccessPointType.js +21 -31
- package/src/shipping_v2/model/AccessibilityAttributes.js +16 -20
- package/src/shipping_v2/model/AccountStatus.js +13 -19
- package/src/shipping_v2/model/AccountType.js +11 -16
- package/src/shipping_v2/model/ActiveAccount.js +16 -20
- package/src/shipping_v2/model/Address.js +43 -57
- package/src/shipping_v2/model/AmazonOrderDetails.js +15 -18
- package/src/shipping_v2/model/AmazonShipmentDetails.js +15 -18
- package/src/shipping_v2/model/AvailableValueAddedServiceGroup.js +24 -30
- package/src/shipping_v2/model/Benefits.js +19 -23
- package/src/shipping_v2/model/CancelShipmentResponse.js +14 -17
- package/src/shipping_v2/model/Carrier.js +18 -22
- package/src/shipping_v2/model/CarrierAccount.js +18 -22
- package/src/shipping_v2/model/CarrierAccountAttribute.js +18 -23
- package/src/shipping_v2/model/CarrierAccountInput.js +30 -40
- package/src/shipping_v2/model/ChannelDetails.js +23 -28
- package/src/shipping_v2/model/ChannelType.js +9 -13
- package/src/shipping_v2/model/ChargeComponent.js +23 -27
- package/src/shipping_v2/model/ClaimReason.js +15 -22
- package/src/shipping_v2/model/ClientReferenceDetail.js +24 -28
- package/src/shipping_v2/model/CollectOnDelivery.js +17 -20
- package/src/shipping_v2/model/CollectionFormsHistoryRecord.js +24 -31
- package/src/shipping_v2/model/CollectionsFormDocument.js +16 -20
- package/src/shipping_v2/model/CreateClaimRequest.js +32 -40
- package/src/shipping_v2/model/CreateClaimResponse.js +14 -17
- package/src/shipping_v2/model/Currency.js +18 -22
- package/src/shipping_v2/model/DangerousGoodsDetails.js +56 -62
- package/src/shipping_v2/model/DateRange.js +16 -20
- package/src/shipping_v2/model/DetailCodes.js +65 -97
- package/src/shipping_v2/model/Dimensions.js +30 -36
- package/src/shipping_v2/model/DirectFulfillmentItemIdentifiers.js +17 -21
- package/src/shipping_v2/model/DirectPurchaseRequest.js +30 -38
- package/src/shipping_v2/model/DirectPurchaseResponse.js +15 -18
- package/src/shipping_v2/model/DirectPurchaseResult.js +18 -22
- package/src/shipping_v2/model/DocumentFormat.js +11 -16
- package/src/shipping_v2/model/DocumentSize.js +27 -32
- package/src/shipping_v2/model/DocumentType.js +13 -19
- package/src/shipping_v2/model/Error.js +20 -25
- package/src/shipping_v2/model/ErrorList.js +16 -19
- package/src/shipping_v2/model/Event.js +26 -32
- package/src/shipping_v2/model/EventCode.js +33 -49
- package/src/shipping_v2/model/ExceptionOperatingHours.js +18 -22
- package/src/shipping_v2/model/ExcludedBenefit.js +17 -21
- package/src/shipping_v2/model/GenerateCollectionFormRequest.js +21 -26
- package/src/shipping_v2/model/GenerateCollectionFormResponse.js +15 -18
- package/src/shipping_v2/model/GenerationStatus.js +9 -13
- package/src/shipping_v2/model/Geocode.js +16 -20
- package/src/shipping_v2/model/GetAccessPointsResponse.js +15 -18
- package/src/shipping_v2/model/GetAccessPointsResult.js +16 -19
- package/src/shipping_v2/model/GetAdditionalInputsResponse.js +14 -17
- package/src/shipping_v2/model/GetCarrierAccountFormInputsResponse.js +15 -18
- package/src/shipping_v2/model/GetCarrierAccountsRequest.js +15 -18
- package/src/shipping_v2/model/GetCarrierAccountsResponse.js +16 -19
- package/src/shipping_v2/model/GetCollectionFormHistoryRequest.js +25 -32
- package/src/shipping_v2/model/GetCollectionFormHistoryResponse.js +17 -21
- package/src/shipping_v2/model/GetCollectionFormResponse.js +15 -18
- package/src/shipping_v2/model/GetRatesRequest.js +53 -68
- package/src/shipping_v2/model/GetRatesResponse.js +15 -18
- package/src/shipping_v2/model/GetRatesResult.js +22 -27
- package/src/shipping_v2/model/GetShipmentDocumentsResponse.js +15 -18
- package/src/shipping_v2/model/GetShipmentDocumentsResult.js +23 -28
- package/src/shipping_v2/model/GetTrackingResponse.js +15 -18
- package/src/shipping_v2/model/GetTrackingResult.js +30 -37
- package/src/shipping_v2/model/GetUnmanifestedShipmentsRequest.js +15 -18
- package/src/shipping_v2/model/GetUnmanifestedShipmentsResponse.js +15 -18
- package/src/shipping_v2/model/GoodsOwner.js +17 -20
- package/src/shipping_v2/model/IneligibilityReason.js +20 -24
- package/src/shipping_v2/model/IneligibilityReasonCode.js +25 -37
- package/src/shipping_v2/model/IneligibleRate.js +28 -35
- package/src/shipping_v2/model/InputType.js +9 -13
- package/src/shipping_v2/model/InvoiceDetails.js +16 -20
- package/src/shipping_v2/model/Item.js +43 -57
- package/src/shipping_v2/model/LabelAttribute.js +11 -16
- package/src/shipping_v2/model/LinkCarrierAccountRequest.js +24 -30
- package/src/shipping_v2/model/LinkCarrierAccountResponse.js +17 -21
- package/src/shipping_v2/model/LinkableAccountType.js +18 -22
- package/src/shipping_v2/model/LinkableCarrier.js +17 -21
- package/src/shipping_v2/model/LiquidVolume.js +34 -38
- package/src/shipping_v2/model/Location.js +20 -26
- package/src/shipping_v2/model/NdrAction.js +11 -16
- package/src/shipping_v2/model/NdrRequestData.js +17 -21
- package/src/shipping_v2/model/OneClickShipmentRequest.js +57 -72
- package/src/shipping_v2/model/OneClickShipmentResponse.js +15 -18
- package/src/shipping_v2/model/OneClickShipmentResult.js +39 -47
- package/src/shipping_v2/model/OneClickShipmentValueAddedService.js +18 -22
- package/src/shipping_v2/model/OperatingHours.js +19 -24
- package/src/shipping_v2/model/Package.js +41 -51
- package/src/shipping_v2/model/PackageDocument.js +25 -30
- package/src/shipping_v2/model/PackageDocumentDetail.js +21 -26
- package/src/shipping_v2/model/PaymentType.js +9 -13
- package/src/shipping_v2/model/PrintOption.js +24 -30
- package/src/shipping_v2/model/Promise.js +17 -21
- package/src/shipping_v2/model/PurchaseShipmentRequest.js +28 -35
- package/src/shipping_v2/model/PurchaseShipmentResponse.js +15 -18
- package/src/shipping_v2/model/PurchaseShipmentResult.js +27 -33
- package/src/shipping_v2/model/Rate.js +59 -75
- package/src/shipping_v2/model/RateItem.js +24 -30
- package/src/shipping_v2/model/RateItemID.js +71 -106
- package/src/shipping_v2/model/RateItemType.js +11 -16
- package/src/shipping_v2/model/RequestedDocumentSpecification.js +36 -45
- package/src/shipping_v2/model/RequestedLabelCustomization.js +15 -18
- package/src/shipping_v2/model/RequestedValueAddedService.js +15 -18
- package/src/shipping_v2/model/Service.js +18 -22
- package/src/shipping_v2/model/ServiceSelection.js +15 -18
- package/src/shipping_v2/model/SettlementType.js +9 -13
- package/src/shipping_v2/model/ShipmentType.js +9 -13
- package/src/shipping_v2/model/ShipperInstruction.js +14 -17
- package/src/shipping_v2/model/Status.js +25 -37
- package/src/shipping_v2/model/SubmitNdrFeedbackRequest.js +23 -28
- package/src/shipping_v2/model/SupportedDocumentDetail.js +20 -24
- package/src/shipping_v2/model/SupportedDocumentSpecification.js +26 -31
- package/src/shipping_v2/model/TaxDetail.js +20 -24
- package/src/shipping_v2/model/TaxType.js +7 -10
- package/src/shipping_v2/model/TimeOfDay.js +18 -23
- package/src/shipping_v2/model/TimeWindow.js +16 -20
- package/src/shipping_v2/model/TrackingDetailCodes.js +19 -23
- package/src/shipping_v2/model/TrackingSummary.js +18 -22
- package/src/shipping_v2/model/UnlinkCarrierAccountRequest.js +17 -21
- package/src/shipping_v2/model/UnlinkCarrierAccountResponse.js +14 -17
- package/src/shipping_v2/model/UnmanifestedCarrierInformation.js +19 -24
- package/src/shipping_v2/model/UnmanifestedShipmentLocation.js +18 -22
- package/src/shipping_v2/model/ValidationMetadata.js +18 -23
- package/src/shipping_v2/model/ValueAddedService.js +23 -28
- package/src/shipping_v2/model/ValueAddedServiceDetails.js +15 -18
- package/src/shipping_v2/model/Weight.js +28 -32
- package/src/solicitations_v1/ApiClient.js +498 -497
- package/src/solicitations_v1/api/SolicitationsApi.js +120 -97
- package/src/solicitations_v1/index.js +44 -45
- package/src/solicitations_v1/model/CreateProductReviewAndSellerFeedbackSolicitationResponse.js +16 -19
- package/src/solicitations_v1/model/Error.js +21 -26
- package/src/solicitations_v1/model/GetSchemaResponse.js +21 -26
- package/src/solicitations_v1/model/GetSchemaResponseLinks.js +18 -21
- package/src/solicitations_v1/model/GetSolicitationActionResponse.js +25 -31
- package/src/solicitations_v1/model/GetSolicitationActionResponseEmbedded.js +16 -19
- package/src/solicitations_v1/model/GetSolicitationActionResponseLinks.js +22 -26
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponse.js +22 -27
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseEmbedded.js +18 -21
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseLinks.js +21 -25
- package/src/solicitations_v1/model/LinkObject.js +18 -22
- package/src/solicitations_v1/model/SolicitationsAction.js +17 -20
- package/src/supplysources_v2020_07_01/ApiClient.js +498 -497
- package/src/supplysources_v2020_07_01/api/SupplySourcesApi.js +263 -244
- package/src/supplysources_v2020_07_01/index.js +116 -117
- package/src/supplysources_v2020_07_01/model/Address.js +39 -52
- package/src/supplysources_v2020_07_01/model/AddressWithContact.js +19 -23
- package/src/supplysources_v2020_07_01/model/ContactDetails.js +16 -19
- package/src/supplysources_v2020_07_01/model/ContactDetailsPrimary.js +17 -21
- package/src/supplysources_v2020_07_01/model/CreateSupplySourceRequest.js +24 -29
- package/src/supplysources_v2020_07_01/model/CreateSupplySourceResponse.js +19 -23
- package/src/supplysources_v2020_07_01/model/CurbsidePickupConfiguration.js +21 -26
- package/src/supplysources_v2020_07_01/model/DeliveryChannel.js +18 -22
- package/src/supplysources_v2020_07_01/model/Duration.js +18 -22
- package/src/supplysources_v2020_07_01/model/Error.js +21 -26
- package/src/supplysources_v2020_07_01/model/ErrorList.js +17 -20
- package/src/supplysources_v2020_07_01/model/GetSupplySourcesResponse.js +18 -22
- package/src/supplysources_v2020_07_01/model/InStorePickupConfiguration.js +18 -22
- package/src/supplysources_v2020_07_01/model/OperatingHour.js +17 -21
- package/src/supplysources_v2020_07_01/model/OperatingHoursByDay.js +28 -37
- package/src/supplysources_v2020_07_01/model/OperationalConfiguration.js +25 -31
- package/src/supplysources_v2020_07_01/model/OutboundCapability.js +27 -34
- package/src/supplysources_v2020_07_01/model/ParkingConfiguration.js +21 -26
- package/src/supplysources_v2020_07_01/model/ParkingCostType.js +10 -14
- package/src/supplysources_v2020_07_01/model/ParkingSpotIdentificationType.js +10 -14
- package/src/supplysources_v2020_07_01/model/ParkingWithAddressConfiguration.js +30 -36
- package/src/supplysources_v2020_07_01/model/PickupChannel.js +27 -34
- package/src/supplysources_v2020_07_01/model/ReturnLocation.js +18 -22
- package/src/supplysources_v2020_07_01/model/ServicesCapability.js +18 -22
- package/src/supplysources_v2020_07_01/model/SupplySource.js +35 -46
- package/src/supplysources_v2020_07_01/model/SupplySourceCapabilities.js +19 -23
- package/src/supplysources_v2020_07_01/model/SupplySourceConfiguration.js +18 -22
- package/src/supplysources_v2020_07_01/model/SupplySourceListInner.js +22 -28
- package/src/supplysources_v2020_07_01/model/SupplySourceStatus.js +10 -14
- package/src/supplysources_v2020_07_01/model/SupplySourceStatusReadOnly.js +12 -17
- package/src/supplysources_v2020_07_01/model/ThroughputCap.js +18 -22
- package/src/supplysources_v2020_07_01/model/ThroughputConfig.js +21 -25
- package/src/supplysources_v2020_07_01/model/ThroughputUnit.js +8 -11
- package/src/supplysources_v2020_07_01/model/TimeUnit.js +12 -17
- package/src/supplysources_v2020_07_01/model/UpdateSupplySourceRequest.js +21 -26
- package/src/supplysources_v2020_07_01/model/UpdateSupplySourceStatusRequest.js +16 -19
- package/src/tokens_v2021_03_01/ApiClient.js +499 -498
- package/src/tokens_v2021_03_01/api/TokensApi.js +69 -45
- package/src/tokens_v2021_03_01/index.js +24 -25
- package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenRequest.js +20 -24
- package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenResponse.js +18 -22
- package/src/tokens_v2021_03_01/model/Error.js +22 -27
- package/src/tokens_v2021_03_01/model/ErrorList.js +17 -20
- package/src/tokens_v2021_03_01/model/RestrictedResource.js +32 -37
- package/src/transfers_v2024_06_01/ApiClient.js +498 -497
- package/src/transfers_v2024_06_01/api/DefaultApi.js +111 -88
- package/src/transfers_v2024_06_01/index.js +35 -36
- package/src/transfers_v2024_06_01/model/AssignmentType.js +8 -11
- package/src/transfers_v2024_06_01/model/Error.js +21 -26
- package/src/transfers_v2024_06_01/model/ErrorList.js +17 -20
- package/src/transfers_v2024_06_01/model/ExpiryDate.js +17 -21
- package/src/transfers_v2024_06_01/model/GetPaymentMethodsResponse.js +16 -19
- package/src/transfers_v2024_06_01/model/InitiatePayoutRequest.js +19 -23
- package/src/transfers_v2024_06_01/model/InitiatePayoutResponse.js +16 -19
- package/src/transfers_v2024_06_01/model/PaymentMethodDetails.js +30 -39
- package/src/transfers_v2024_06_01/model/PaymentMethodType.js +12 -17
- package/src/uploads_v2020_11_01/ApiClient.js +498 -497
- package/src/uploads_v2020_11_01/api/UploadsApi.js +79 -55
- package/src/uploads_v2020_11_01/index.js +17 -18
- package/src/uploads_v2020_11_01/model/CreateUploadDestinationResponse.js +19 -23
- package/src/uploads_v2020_11_01/model/Error.js +21 -26
- package/src/uploads_v2020_11_01/model/UploadDestination.js +19 -24
- package/src/vehicles_v2024_11_01/ApiClient.js +498 -497
- package/src/vehicles_v2024_11_01/api/AutomotiveApi.js +76 -52
- package/src/vehicles_v2024_11_01/api/VehiclesApi.js +76 -52
- package/src/vehicles_v2024_11_01/index.js +44 -45
- package/src/vehicles_v2024_11_01/model/EngineOutput.js +21 -25
- package/src/vehicles_v2024_11_01/model/EngineOutputUnit.js +10 -14
- package/src/vehicles_v2024_11_01/model/Error.js +21 -26
- package/src/vehicles_v2024_11_01/model/ErrorList.js +17 -20
- package/src/vehicles_v2024_11_01/model/MonthAndYear.js +17 -21
- package/src/vehicles_v2024_11_01/model/Pagination.js +17 -21
- package/src/vehicles_v2024_11_01/model/Vehicle.js +44 -58
- package/src/vehicles_v2024_11_01/model/VehicleIdentifiers.js +21 -25
- package/src/vehicles_v2024_11_01/model/VehicleStandard.js +10 -14
- package/src/vehicles_v2024_11_01/model/VehicleStatusInCatalog.js +10 -14
- package/src/vehicles_v2024_11_01/model/VehiclesResponse.js +20 -24
- package/src/vendordfinventory_v1/ApiClient.js +498 -497
- package/src/vendordfinventory_v1/api/UpdateInventoryApi.js +72 -48
- package/src/vendordfinventory_v1/index.js +32 -33
- package/src/vendordfinventory_v1/model/Error.js +21 -26
- package/src/vendordfinventory_v1/model/InventoryUpdate.js +25 -30
- package/src/vendordfinventory_v1/model/ItemDetails.js +24 -30
- package/src/vendordfinventory_v1/model/ItemQuantity.js +18 -22
- package/src/vendordfinventory_v1/model/PartyIdentification.js +16 -19
- package/src/vendordfinventory_v1/model/SubmitInventoryUpdateRequest.js +16 -19
- package/src/vendordfinventory_v1/model/SubmitInventoryUpdateResponse.js +19 -23
- package/src/vendordfinventory_v1/model/TransactionReference.js +15 -18
- package/src/vendordforders_v2021_12_28/ApiClient.js +498 -497
- package/src/vendordforders_v2021_12_28/api/VendorOrdersApi.js +156 -134
- package/src/vendordforders_v2021_12_28/index.js +83 -84
- package/src/vendordforders_v2021_12_28/model/AcknowledgementStatus.js +17 -21
- package/src/vendordforders_v2021_12_28/model/Address.js +41 -55
- package/src/vendordforders_v2021_12_28/model/BuyerCustomizedInfoDetail.js +15 -18
- package/src/vendordforders_v2021_12_28/model/Error.js +21 -26
- package/src/vendordforders_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordforders_v2021_12_28/model/GiftDetails.js +17 -21
- package/src/vendordforders_v2021_12_28/model/ItemQuantity.js +21 -25
- package/src/vendordforders_v2021_12_28/model/Money.js +17 -21
- package/src/vendordforders_v2021_12_28/model/Order.js +19 -23
- package/src/vendordforders_v2021_12_28/model/OrderAcknowledgementItem.js +40 -49
- package/src/vendordforders_v2021_12_28/model/OrderDetails.js +61 -73
- package/src/vendordforders_v2021_12_28/model/OrderItem.js +46 -59
- package/src/vendordforders_v2021_12_28/model/OrderItemAcknowledgement.js +25 -31
- package/src/vendordforders_v2021_12_28/model/OrderList.js +19 -23
- package/src/vendordforders_v2021_12_28/model/Pagination.js +15 -18
- package/src/vendordforders_v2021_12_28/model/PartyIdentification.js +22 -27
- package/src/vendordforders_v2021_12_28/model/ScheduledDeliveryShipment.js +19 -24
- package/src/vendordforders_v2021_12_28/model/ShipmentDates.js +18 -22
- package/src/vendordforders_v2021_12_28/model/ShipmentDetails.js +34 -43
- package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementRequest.js +16 -19
- package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementResponse.js +19 -23
- package/src/vendordforders_v2021_12_28/model/TaxDetails.js +40 -46
- package/src/vendordforders_v2021_12_28/model/TaxItemDetails.js +16 -19
- package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
- package/src/vendordforders_v2021_12_28/model/TransactionId.js +15 -18
- package/src/vendordfpayments_v1/ApiClient.js +498 -497
- package/src/vendordfpayments_v1/api/VendorInvoiceApi.js +67 -43
- package/src/vendordfpayments_v1/index.js +50 -51
- package/src/vendordfpayments_v1/model/AdditionalDetails.js +27 -32
- package/src/vendordfpayments_v1/model/Address.js +41 -54
- package/src/vendordfpayments_v1/model/ChargeDetails.js +40 -45
- package/src/vendordfpayments_v1/model/Error.js +21 -26
- package/src/vendordfpayments_v1/model/InvoiceDetail.js +54 -69
- package/src/vendordfpayments_v1/model/InvoiceItem.js +43 -55
- package/src/vendordfpayments_v1/model/ItemQuantity.js +19 -23
- package/src/vendordfpayments_v1/model/Money.js +19 -23
- package/src/vendordfpayments_v1/model/PartyIdentification.js +22 -27
- package/src/vendordfpayments_v1/model/SubmitInvoiceRequest.js +16 -19
- package/src/vendordfpayments_v1/model/SubmitInvoiceResponse.js +19 -23
- package/src/vendordfpayments_v1/model/TaxDetail.js +55 -61
- package/src/vendordfpayments_v1/model/TaxRegistrationDetail.js +29 -35
- package/src/vendordfpayments_v1/model/TransactionReference.js +15 -18
- package/src/vendordfshipping_v2021_12_28/ApiClient.js +498 -497
- package/src/vendordfshipping_v2021_12_28/api/CreateContainerLabelApi.js +68 -44
- package/src/vendordfshipping_v2021_12_28/api/CustomerInvoicesApi.js +120 -97
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingApi.js +182 -161
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi.js +201 -180
- package/src/vendordfshipping_v2021_12_28/index.js +125 -126
- package/src/vendordfshipping_v2021_12_28/model/Address.js +38 -51
- package/src/vendordfshipping_v2021_12_28/model/CarrierId.js +8 -11
- package/src/vendordfshipping_v2021_12_28/model/Container.js +51 -65
- package/src/vendordfshipping_v2021_12_28/model/ContainerLabel.js +23 -28
- package/src/vendordfshipping_v2021_12_28/model/ContainerLabelFormat.js +10 -14
- package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelRequest.js +34 -41
- package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelResponse.js +18 -21
- package/src/vendordfshipping_v2021_12_28/model/CreateShippingLabelsRequest.js +25 -30
- package/src/vendordfshipping_v2021_12_28/model/CustomerInvoice.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/CustomerInvoiceList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/Dimensions.js +31 -37
- package/src/vendordfshipping_v2021_12_28/model/Error.js +21 -26
- package/src/vendordfshipping_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordfshipping_v2021_12_28/model/Item.js +25 -31
- package/src/vendordfshipping_v2021_12_28/model/ItemQuantity.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/LabelData.js +24 -31
- package/src/vendordfshipping_v2021_12_28/model/Package.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/PackedItem.js +27 -34
- package/src/vendordfshipping_v2021_12_28/model/PackingSlip.js +25 -30
- package/src/vendordfshipping_v2021_12_28/model/PackingSlipList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/Pagination.js +15 -18
- package/src/vendordfshipping_v2021_12_28/model/PartyIdentification.js +22 -27
- package/src/vendordfshipping_v2021_12_28/model/ShipmentConfirmation.js +37 -45
- package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.js +31 -38
- package/src/vendordfshipping_v2021_12_28/model/ShipmentSchedule.js +19 -24
- package/src/vendordfshipping_v2021_12_28/model/ShipmentStatusUpdate.js +30 -36
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabel.js +38 -45
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabelList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabelRequest.js +28 -34
- package/src/vendordfshipping_v2021_12_28/model/StatusUpdateDetails.js +33 -41
- package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentConfirmationsRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentStatusUpdatesRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/SubmitShippingLabelsRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
- package/src/vendordfshipping_v2021_12_28/model/TransactionReference.js +15 -18
- package/src/vendordfshipping_v2021_12_28/model/Weight.js +25 -29
- package/src/vendordftransactions_v2021_12_28/ApiClient.js +498 -497
- package/src/vendordftransactions_v2021_12_28/api/VendorTransactionApi.js +69 -45
- package/src/vendordftransactions_v2021_12_28/index.js +20 -21
- package/src/vendordftransactions_v2021_12_28/model/Error.js +21 -26
- package/src/vendordftransactions_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordftransactions_v2021_12_28/model/Transaction.js +30 -35
- package/src/vendordftransactions_v2021_12_28/model/TransactionStatus.js +16 -19
- package/src/vendorinvoices_v1/ApiClient.js +498 -497
- package/src/vendorinvoices_v1/api/VendorPaymentsApi.js +67 -43
- package/src/vendorinvoices_v1/index.js +65 -66
- package/src/vendorinvoices_v1/model/AdditionalDetails.js +29 -34
- package/src/vendorinvoices_v1/model/Address.js +38 -51
- package/src/vendorinvoices_v1/model/AllowanceDetails.js +40 -46
- package/src/vendorinvoices_v1/model/ChargeDetails.js +50 -56
- package/src/vendorinvoices_v1/model/CreditNoteDetails.js +27 -36
- package/src/vendorinvoices_v1/model/Error.js +21 -26
- package/src/vendorinvoices_v1/model/Invoice.js +64 -81
- package/src/vendorinvoices_v1/model/InvoiceItem.js +49 -63
- package/src/vendorinvoices_v1/model/ItemQuantity.js +30 -36
- package/src/vendorinvoices_v1/model/Money.js +17 -21
- package/src/vendorinvoices_v1/model/NetCostUnitOfMeasure.js +14 -20
- package/src/vendorinvoices_v1/model/PartyIdentification.js +22 -27
- package/src/vendorinvoices_v1/model/PaymentTerms.js +35 -41
- package/src/vendorinvoices_v1/model/SubmitInvoicesRequest.js +16 -19
- package/src/vendorinvoices_v1/model/SubmitInvoicesResponse.js +19 -23
- package/src/vendorinvoices_v1/model/TaxDetails.js +55 -61
- package/src/vendorinvoices_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendorinvoices_v1/model/TotalWeight.js +29 -33
- package/src/vendorinvoices_v1/model/TransactionId.js +15 -18
- package/src/vendororders_v1/ApiClient.js +498 -497
- package/src/vendororders_v1/api/VendorOrdersApi.js +189 -168
- package/src/vendororders_v1/index.js +95 -96
- package/src/vendororders_v1/model/AcknowledgementStatusDetails.js +20 -25
- package/src/vendororders_v1/model/Address.js +38 -51
- package/src/vendororders_v1/model/Error.js +21 -26
- package/src/vendororders_v1/model/GetPurchaseOrderResponse.js +19 -23
- package/src/vendororders_v1/model/GetPurchaseOrdersResponse.js +19 -23
- package/src/vendororders_v1/model/GetPurchaseOrdersStatusResponse.js +19 -23
- package/src/vendororders_v1/model/ImportDetails.js +62 -69
- package/src/vendororders_v1/model/ItemQuantity.js +25 -30
- package/src/vendororders_v1/model/Money.js +29 -34
- package/src/vendororders_v1/model/Order.js +30 -35
- package/src/vendororders_v1/model/OrderAcknowledgement.js +28 -34
- package/src/vendororders_v1/model/OrderAcknowledgementItem.js +35 -45
- package/src/vendororders_v1/model/OrderDetails.js +67 -83
- package/src/vendororders_v1/model/OrderItem.js +33 -42
- package/src/vendororders_v1/model/OrderItemAcknowledgement.js +43 -50
- package/src/vendororders_v1/model/OrderItemStatus.js +34 -44
- package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.js +33 -39
- package/src/vendororders_v1/model/OrderItemStatusOrderedQuantity.js +19 -23
- package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.js +28 -33
- package/src/vendororders_v1/model/OrderList.js +19 -23
- package/src/vendororders_v1/model/OrderListStatus.js +19 -23
- package/src/vendororders_v1/model/OrderStatus.js +43 -52
- package/src/vendororders_v1/model/OrderedQuantityDetails.js +20 -25
- package/src/vendororders_v1/model/Pagination.js +15 -18
- package/src/vendororders_v1/model/PartyIdentification.js +22 -27
- package/src/vendororders_v1/model/SubmitAcknowledgementRequest.js +16 -19
- package/src/vendororders_v1/model/SubmitAcknowledgementResponse.js +19 -23
- package/src/vendororders_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendororders_v1/model/TransactionId.js +15 -18
- package/src/vendorshipments_v1/ApiClient.js +498 -497
- package/src/vendorshipments_v1/api/VendorShippingApi.js +195 -174
- package/src/vendorshipments_v1/index.js +170 -171
- package/src/vendorshipments_v1/model/Address.js +38 -51
- package/src/vendorshipments_v1/model/CarrierDetails.js +23 -30
- package/src/vendorshipments_v1/model/Carton.js +31 -39
- package/src/vendorshipments_v1/model/CartonReferenceDetails.js +18 -22
- package/src/vendorshipments_v1/model/CollectFreightPickupDetails.js +19 -24
- package/src/vendorshipments_v1/model/ContainerIdentification.js +31 -35
- package/src/vendorshipments_v1/model/ContainerItem.js +24 -29
- package/src/vendorshipments_v1/model/ContainerSequenceNumbers.js +15 -18
- package/src/vendorshipments_v1/model/Containers.js +46 -58
- package/src/vendorshipments_v1/model/Dimensions.js +35 -41
- package/src/vendorshipments_v1/model/Duration.js +25 -29
- package/src/vendorshipments_v1/model/Error.js +21 -26
- package/src/vendorshipments_v1/model/Expiry.js +20 -25
- package/src/vendorshipments_v1/model/GetShipmentDetailsResponse.js +19 -23
- package/src/vendorshipments_v1/model/GetShipmentLabels.js +19 -23
- package/src/vendorshipments_v1/model/ImportDetails.js +53 -62
- package/src/vendorshipments_v1/model/InnerContainersDetails.js +18 -22
- package/src/vendorshipments_v1/model/Item.js +28 -35
- package/src/vendorshipments_v1/model/ItemDetails.js +35 -42
- package/src/vendorshipments_v1/model/ItemQuantity.js +30 -36
- package/src/vendorshipments_v1/model/LabelData.js +27 -34
- package/src/vendorshipments_v1/model/Location.js +19 -24
- package/src/vendorshipments_v1/model/Money.js +19 -23
- package/src/vendorshipments_v1/model/PackageItemDetails.js +20 -25
- package/src/vendorshipments_v1/model/PackedItems.js +25 -32
- package/src/vendorshipments_v1/model/PackedQuantity.js +27 -32
- package/src/vendorshipments_v1/model/Pagination.js +15 -18
- package/src/vendorshipments_v1/model/Pallet.js +33 -42
- package/src/vendorshipments_v1/model/PartyIdentification.js +22 -27
- package/src/vendorshipments_v1/model/PurchaseOrderItemDetails.js +16 -19
- package/src/vendorshipments_v1/model/PurchaseOrderItems.js +28 -35
- package/src/vendorshipments_v1/model/PurchaseOrders.js +22 -28
- package/src/vendorshipments_v1/model/Route.js +17 -20
- package/src/vendorshipments_v1/model/Shipment.js +92 -114
- package/src/vendorshipments_v1/model/ShipmentConfirmation.js +94 -113
- package/src/vendorshipments_v1/model/ShipmentDetails.js +19 -23
- package/src/vendorshipments_v1/model/ShipmentInformation.js +37 -47
- package/src/vendorshipments_v1/model/ShipmentMeasurements.js +23 -29
- package/src/vendorshipments_v1/model/ShipmentStatusDetails.js +27 -31
- package/src/vendorshipments_v1/model/Stop.js +31 -37
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsRequest.js +16 -19
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsResponse.js +19 -23
- package/src/vendorshipments_v1/model/SubmitShipments.js +16 -19
- package/src/vendorshipments_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendorshipments_v1/model/TotalWeight.js +29 -33
- package/src/vendorshipments_v1/model/TransactionReference.js +15 -18
- package/src/vendorshipments_v1/model/TransportLabel.js +21 -26
- package/src/vendorshipments_v1/model/TransportShipmentMeasurements.js +25 -32
- package/src/vendorshipments_v1/model/TransportationDetails.js +44 -53
- package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.js +29 -35
- package/src/vendorshipments_v1/model/TransportationLabels.js +19 -23
- package/src/vendorshipments_v1/model/VendorDetails.js +18 -22
- package/src/vendorshipments_v1/model/Volume.js +29 -33
- package/src/vendorshipments_v1/model/Weight.js +29 -33
- package/src/vendortransactionstatus_v1/ApiClient.js +498 -497
- package/src/vendortransactionstatus_v1/api/VendorTransactionApi.js +67 -43
- package/src/vendortransactionstatus_v1/index.js +20 -21
- package/src/vendortransactionstatus_v1/model/Error.js +21 -26
- package/src/vendortransactionstatus_v1/model/GetTransactionResponse.js +19 -23
- package/src/vendortransactionstatus_v1/model/Transaction.js +30 -35
- package/src/vendortransactionstatus_v1/model/TransactionStatus.js +16 -19
- package/helper/rate-limits.yml +0 -874
- package/src/finances_2024_06_19/ApiClient.js +0 -822
- package/src/finances_2024_06_19/api/DefaultApi.js +0 -98
- package/src/finances_2024_06_19/index.js +0 -155
- package/src/finances_2024_06_19/model/AmazonPayContext.js +0 -81
- package/src/finances_2024_06_19/model/Breakdown.js +0 -80
- package/src/finances_2024_06_19/model/Context.js +0 -315
- package/src/finances_2024_06_19/model/Currency.js +0 -73
- package/src/finances_2024_06_19/model/DeferredContext.js +0 -81
- package/src/finances_2024_06_19/model/Error.js +0 -85
- package/src/finances_2024_06_19/model/ErrorList.js +0 -68
- package/src/finances_2024_06_19/model/Item.js +0 -100
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +0 -105
- package/src/finances_2024_06_19/model/ListTransactionsResponse.js +0 -74
- package/src/finances_2024_06_19/model/MarketplaceDetails.js +0 -73
- package/src/finances_2024_06_19/model/PaymentsContext.js +0 -89
- package/src/finances_2024_06_19/model/ProductContext.js +0 -89
- package/src/finances_2024_06_19/model/RelatedIdentifier.js +0 -123
- package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +0 -81
- package/src/finances_2024_06_19/model/TimeRangeContext.js +0 -73
- package/src/finances_2024_06_19/model/Transaction.js +0 -157
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 2024-03-20
|
|
6
|
-
*
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,67 +11,69 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import {ApiClient} from
|
|
15
|
-
import {CancelInboundPlanResponse} from '../model/CancelInboundPlanResponse.js'
|
|
16
|
-
import {CancelSelfShipAppointmentRequest} from '../model/CancelSelfShipAppointmentRequest.js'
|
|
17
|
-
import {CancelSelfShipAppointmentResponse} from '../model/CancelSelfShipAppointmentResponse.js'
|
|
18
|
-
import {ConfirmDeliveryWindowOptionsResponse} from '../model/ConfirmDeliveryWindowOptionsResponse.js'
|
|
19
|
-
import {ConfirmPackingOptionResponse} from '../model/ConfirmPackingOptionResponse.js'
|
|
20
|
-
import {ConfirmPlacementOptionResponse} from '../model/ConfirmPlacementOptionResponse.js'
|
|
21
|
-
import {ConfirmShipmentContentUpdatePreviewResponse} from '../model/ConfirmShipmentContentUpdatePreviewResponse.js'
|
|
22
|
-
import {ConfirmTransportationOptionsRequest} from '../model/ConfirmTransportationOptionsRequest.js'
|
|
23
|
-
import {ConfirmTransportationOptionsResponse} from '../model/ConfirmTransportationOptionsResponse.js'
|
|
24
|
-
import {ContentUpdatePreview} from '../model/ContentUpdatePreview.js'
|
|
25
|
-
import {CreateInboundPlanRequest} from '../model/CreateInboundPlanRequest.js'
|
|
26
|
-
import {CreateInboundPlanResponse} from '../model/CreateInboundPlanResponse.js'
|
|
27
|
-
import {CreateMarketplaceItemLabelsRequest} from '../model/CreateMarketplaceItemLabelsRequest.js'
|
|
28
|
-
import {CreateMarketplaceItemLabelsResponse} from '../model/CreateMarketplaceItemLabelsResponse.js'
|
|
29
|
-
import {ErrorList} from '../model/ErrorList.js'
|
|
30
|
-
import {GenerateDeliveryWindowOptionsResponse} from '../model/GenerateDeliveryWindowOptionsResponse.js'
|
|
31
|
-
import {GeneratePackingOptionsResponse} from '../model/GeneratePackingOptionsResponse.js'
|
|
32
|
-
import {GeneratePlacementOptionsRequest} from '../model/GeneratePlacementOptionsRequest.js'
|
|
33
|
-
import {GeneratePlacementOptionsResponse} from '../model/GeneratePlacementOptionsResponse.js'
|
|
34
|
-
import {GenerateSelfShipAppointmentSlotsRequest} from '../model/GenerateSelfShipAppointmentSlotsRequest.js'
|
|
35
|
-
import {GenerateSelfShipAppointmentSlotsResponse} from '../model/GenerateSelfShipAppointmentSlotsResponse.js'
|
|
36
|
-
import {GenerateShipmentContentUpdatePreviewsRequest} from '../model/GenerateShipmentContentUpdatePreviewsRequest.js'
|
|
37
|
-
import {GenerateShipmentContentUpdatePreviewsResponse} from '../model/GenerateShipmentContentUpdatePreviewsResponse.js'
|
|
38
|
-
import {GenerateTransportationOptionsRequest} from '../model/GenerateTransportationOptionsRequest.js'
|
|
39
|
-
import {GenerateTransportationOptionsResponse} from '../model/GenerateTransportationOptionsResponse.js'
|
|
40
|
-
import {GetDeliveryChallanDocumentResponse} from '../model/GetDeliveryChallanDocumentResponse.js'
|
|
41
|
-
import {GetSelfShipAppointmentSlotsResponse} from '../model/GetSelfShipAppointmentSlotsResponse.js'
|
|
42
|
-
import {InboundOperationStatus} from '../model/InboundOperationStatus.js'
|
|
43
|
-
import {InboundPlan} from '../model/InboundPlan.js'
|
|
44
|
-
import {ListDeliveryWindowOptionsResponse} from '../model/ListDeliveryWindowOptionsResponse.js'
|
|
45
|
-
import {ListInboundPlanBoxesResponse} from '../model/ListInboundPlanBoxesResponse.js'
|
|
46
|
-
import {ListInboundPlanItemsResponse} from '../model/ListInboundPlanItemsResponse.js'
|
|
47
|
-
import {ListInboundPlanPalletsResponse} from '../model/ListInboundPlanPalletsResponse.js'
|
|
48
|
-
import {ListInboundPlansResponse} from '../model/ListInboundPlansResponse.js'
|
|
49
|
-
import {ListItemComplianceDetailsResponse} from '../model/ListItemComplianceDetailsResponse.js'
|
|
50
|
-
import {ListPackingGroupBoxesResponse} from '../model/ListPackingGroupBoxesResponse.js'
|
|
51
|
-
import {ListPackingGroupItemsResponse} from '../model/ListPackingGroupItemsResponse.js'
|
|
52
|
-
import {ListPackingOptionsResponse} from '../model/ListPackingOptionsResponse.js'
|
|
53
|
-
import {ListPlacementOptionsResponse} from '../model/ListPlacementOptionsResponse.js'
|
|
54
|
-
import {ListPrepDetailsResponse} from '../model/ListPrepDetailsResponse.js'
|
|
55
|
-
import {ListShipmentBoxesResponse} from '../model/ListShipmentBoxesResponse.js'
|
|
56
|
-
import {ListShipmentContentUpdatePreviewsResponse} from '../model/ListShipmentContentUpdatePreviewsResponse.js'
|
|
57
|
-
import {ListShipmentItemsResponse} from '../model/ListShipmentItemsResponse.js'
|
|
58
|
-
import {ListShipmentPalletsResponse} from '../model/ListShipmentPalletsResponse.js'
|
|
59
|
-
import {ListTransportationOptionsResponse} from '../model/ListTransportationOptionsResponse.js'
|
|
60
|
-
import {ScheduleSelfShipAppointmentRequest} from '../model/ScheduleSelfShipAppointmentRequest.js'
|
|
61
|
-
import {ScheduleSelfShipAppointmentResponse} from '../model/ScheduleSelfShipAppointmentResponse.js'
|
|
62
|
-
import {SetPackingInformationRequest} from '../model/SetPackingInformationRequest.js'
|
|
63
|
-
import {SetPackingInformationResponse} from '../model/SetPackingInformationResponse.js'
|
|
64
|
-
import {SetPrepDetailsRequest} from '../model/SetPrepDetailsRequest.js'
|
|
65
|
-
import {SetPrepDetailsResponse} from '../model/SetPrepDetailsResponse.js'
|
|
66
|
-
import {Shipment} from '../model/Shipment.js'
|
|
67
|
-
import {UpdateInboundPlanNameRequest} from '../model/UpdateInboundPlanNameRequest.js'
|
|
68
|
-
import {UpdateItemComplianceDetailsRequest} from '../model/UpdateItemComplianceDetailsRequest.js'
|
|
69
|
-
import {UpdateItemComplianceDetailsResponse} from '../model/UpdateItemComplianceDetailsResponse.js'
|
|
70
|
-
import {UpdateShipmentNameRequest} from '../model/UpdateShipmentNameRequest.js'
|
|
71
|
-
import {UpdateShipmentSourceAddressRequest} from '../model/UpdateShipmentSourceAddressRequest.js'
|
|
72
|
-
import {UpdateShipmentSourceAddressResponse} from '../model/UpdateShipmentSourceAddressResponse.js'
|
|
73
|
-
import {UpdateShipmentTrackingDetailsRequest} from '../model/UpdateShipmentTrackingDetailsRequest.js'
|
|
74
|
-
import {UpdateShipmentTrackingDetailsResponse} from '../model/UpdateShipmentTrackingDetailsResponse.js'
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { CancelInboundPlanResponse } from '../model/CancelInboundPlanResponse.js'
|
|
16
|
+
import { CancelSelfShipAppointmentRequest } from '../model/CancelSelfShipAppointmentRequest.js'
|
|
17
|
+
import { CancelSelfShipAppointmentResponse } from '../model/CancelSelfShipAppointmentResponse.js'
|
|
18
|
+
import { ConfirmDeliveryWindowOptionsResponse } from '../model/ConfirmDeliveryWindowOptionsResponse.js'
|
|
19
|
+
import { ConfirmPackingOptionResponse } from '../model/ConfirmPackingOptionResponse.js'
|
|
20
|
+
import { ConfirmPlacementOptionResponse } from '../model/ConfirmPlacementOptionResponse.js'
|
|
21
|
+
import { ConfirmShipmentContentUpdatePreviewResponse } from '../model/ConfirmShipmentContentUpdatePreviewResponse.js'
|
|
22
|
+
import { ConfirmTransportationOptionsRequest } from '../model/ConfirmTransportationOptionsRequest.js'
|
|
23
|
+
import { ConfirmTransportationOptionsResponse } from '../model/ConfirmTransportationOptionsResponse.js'
|
|
24
|
+
import { ContentUpdatePreview } from '../model/ContentUpdatePreview.js'
|
|
25
|
+
import { CreateInboundPlanRequest } from '../model/CreateInboundPlanRequest.js'
|
|
26
|
+
import { CreateInboundPlanResponse } from '../model/CreateInboundPlanResponse.js'
|
|
27
|
+
import { CreateMarketplaceItemLabelsRequest } from '../model/CreateMarketplaceItemLabelsRequest.js'
|
|
28
|
+
import { CreateMarketplaceItemLabelsResponse } from '../model/CreateMarketplaceItemLabelsResponse.js'
|
|
29
|
+
import { ErrorList } from '../model/ErrorList.js'
|
|
30
|
+
import { GenerateDeliveryWindowOptionsResponse } from '../model/GenerateDeliveryWindowOptionsResponse.js'
|
|
31
|
+
import { GeneratePackingOptionsResponse } from '../model/GeneratePackingOptionsResponse.js'
|
|
32
|
+
import { GeneratePlacementOptionsRequest } from '../model/GeneratePlacementOptionsRequest.js'
|
|
33
|
+
import { GeneratePlacementOptionsResponse } from '../model/GeneratePlacementOptionsResponse.js'
|
|
34
|
+
import { GenerateSelfShipAppointmentSlotsRequest } from '../model/GenerateSelfShipAppointmentSlotsRequest.js'
|
|
35
|
+
import { GenerateSelfShipAppointmentSlotsResponse } from '../model/GenerateSelfShipAppointmentSlotsResponse.js'
|
|
36
|
+
import { GenerateShipmentContentUpdatePreviewsRequest } from '../model/GenerateShipmentContentUpdatePreviewsRequest.js'
|
|
37
|
+
import { GenerateShipmentContentUpdatePreviewsResponse } from '../model/GenerateShipmentContentUpdatePreviewsResponse.js'
|
|
38
|
+
import { GenerateTransportationOptionsRequest } from '../model/GenerateTransportationOptionsRequest.js'
|
|
39
|
+
import { GenerateTransportationOptionsResponse } from '../model/GenerateTransportationOptionsResponse.js'
|
|
40
|
+
import { GetDeliveryChallanDocumentResponse } from '../model/GetDeliveryChallanDocumentResponse.js'
|
|
41
|
+
import { GetSelfShipAppointmentSlotsResponse } from '../model/GetSelfShipAppointmentSlotsResponse.js'
|
|
42
|
+
import { InboundOperationStatus } from '../model/InboundOperationStatus.js'
|
|
43
|
+
import { InboundPlan } from '../model/InboundPlan.js'
|
|
44
|
+
import { ListDeliveryWindowOptionsResponse } from '../model/ListDeliveryWindowOptionsResponse.js'
|
|
45
|
+
import { ListInboundPlanBoxesResponse } from '../model/ListInboundPlanBoxesResponse.js'
|
|
46
|
+
import { ListInboundPlanItemsResponse } from '../model/ListInboundPlanItemsResponse.js'
|
|
47
|
+
import { ListInboundPlanPalletsResponse } from '../model/ListInboundPlanPalletsResponse.js'
|
|
48
|
+
import { ListInboundPlansResponse } from '../model/ListInboundPlansResponse.js'
|
|
49
|
+
import { ListItemComplianceDetailsResponse } from '../model/ListItemComplianceDetailsResponse.js'
|
|
50
|
+
import { ListPackingGroupBoxesResponse } from '../model/ListPackingGroupBoxesResponse.js'
|
|
51
|
+
import { ListPackingGroupItemsResponse } from '../model/ListPackingGroupItemsResponse.js'
|
|
52
|
+
import { ListPackingOptionsResponse } from '../model/ListPackingOptionsResponse.js'
|
|
53
|
+
import { ListPlacementOptionsResponse } from '../model/ListPlacementOptionsResponse.js'
|
|
54
|
+
import { ListPrepDetailsResponse } from '../model/ListPrepDetailsResponse.js'
|
|
55
|
+
import { ListShipmentBoxesResponse } from '../model/ListShipmentBoxesResponse.js'
|
|
56
|
+
import { ListShipmentContentUpdatePreviewsResponse } from '../model/ListShipmentContentUpdatePreviewsResponse.js'
|
|
57
|
+
import { ListShipmentItemsResponse } from '../model/ListShipmentItemsResponse.js'
|
|
58
|
+
import { ListShipmentPalletsResponse } from '../model/ListShipmentPalletsResponse.js'
|
|
59
|
+
import { ListTransportationOptionsResponse } from '../model/ListTransportationOptionsResponse.js'
|
|
60
|
+
import { ScheduleSelfShipAppointmentRequest } from '../model/ScheduleSelfShipAppointmentRequest.js'
|
|
61
|
+
import { ScheduleSelfShipAppointmentResponse } from '../model/ScheduleSelfShipAppointmentResponse.js'
|
|
62
|
+
import { SetPackingInformationRequest } from '../model/SetPackingInformationRequest.js'
|
|
63
|
+
import { SetPackingInformationResponse } from '../model/SetPackingInformationResponse.js'
|
|
64
|
+
import { SetPrepDetailsRequest } from '../model/SetPrepDetailsRequest.js'
|
|
65
|
+
import { SetPrepDetailsResponse } from '../model/SetPrepDetailsResponse.js'
|
|
66
|
+
import { Shipment } from '../model/Shipment.js'
|
|
67
|
+
import { UpdateInboundPlanNameRequest } from '../model/UpdateInboundPlanNameRequest.js'
|
|
68
|
+
import { UpdateItemComplianceDetailsRequest } from '../model/UpdateItemComplianceDetailsRequest.js'
|
|
69
|
+
import { UpdateItemComplianceDetailsResponse } from '../model/UpdateItemComplianceDetailsResponse.js'
|
|
70
|
+
import { UpdateShipmentNameRequest } from '../model/UpdateShipmentNameRequest.js'
|
|
71
|
+
import { UpdateShipmentSourceAddressRequest } from '../model/UpdateShipmentSourceAddressRequest.js'
|
|
72
|
+
import { UpdateShipmentSourceAddressResponse } from '../model/UpdateShipmentSourceAddressResponse.js'
|
|
73
|
+
import { UpdateShipmentTrackingDetailsRequest } from '../model/UpdateShipmentTrackingDetailsRequest.js'
|
|
74
|
+
import { UpdateShipmentTrackingDetailsResponse } from '../model/UpdateShipmentTrackingDetailsResponse.js'
|
|
75
|
+
import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
|
|
76
|
+
import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
|
|
75
77
|
|
|
76
78
|
/**
|
|
77
79
|
* FbaInbound service.
|
|
@@ -79,1014 +81,1047 @@ import {UpdateShipmentTrackingDetailsResponse} from '../model/UpdateShipmentTrac
|
|
|
79
81
|
* @version 2024-03-20
|
|
80
82
|
*/
|
|
81
83
|
export class FbaInboundApi {
|
|
84
|
+
// Private memeber stores the default rate limiters
|
|
85
|
+
#defaultRateLimiterMap
|
|
82
86
|
|
|
83
|
-
|
|
84
|
-
* Constructs a new FbaInboundApi.
|
|
87
|
+
/**
|
|
88
|
+
* Constructs a new FbaInboundApi.
|
|
85
89
|
* @alias module:fulfillmentinbound_v2024_03_20/api/FbaInboundApi
|
|
86
90
|
* @class
|
|
87
91
|
* @param {module:fulfillmentinbound_v2024_03_20/ApiClient} [apiClient] Optional API client implementation to use,
|
|
88
92
|
* default to {@link module:fulfillmentinbound_v2024_03_20/ApiClient#instance} if unspecified.
|
|
89
93
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
constructor (apiClient) {
|
|
95
|
+
this.apiClient = apiClient || ApiClient.instance
|
|
96
|
+
this.initializeDefaultRateLimiterMap()
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Initialize rate limiters for API operations
|
|
101
|
+
*/
|
|
102
|
+
initializeDefaultRateLimiterMap () {
|
|
103
|
+
this.#defaultRateLimiterMap = new Map()
|
|
104
|
+
const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
|
|
105
|
+
const operations = [
|
|
106
|
+
'FbaInboundApi-cancelInboundPlan',
|
|
107
|
+
'FbaInboundApi-cancelSelfShipAppointment',
|
|
108
|
+
'FbaInboundApi-confirmDeliveryWindowOptions',
|
|
109
|
+
'FbaInboundApi-confirmPackingOption',
|
|
110
|
+
'FbaInboundApi-confirmPlacementOption',
|
|
111
|
+
'FbaInboundApi-confirmShipmentContentUpdatePreview',
|
|
112
|
+
'FbaInboundApi-confirmTransportationOptions',
|
|
113
|
+
'FbaInboundApi-createInboundPlan',
|
|
114
|
+
'FbaInboundApi-createMarketplaceItemLabels',
|
|
115
|
+
'FbaInboundApi-generateDeliveryWindowOptions',
|
|
116
|
+
'FbaInboundApi-generatePackingOptions',
|
|
117
|
+
'FbaInboundApi-generatePlacementOptions',
|
|
118
|
+
'FbaInboundApi-generateSelfShipAppointmentSlots',
|
|
119
|
+
'FbaInboundApi-generateShipmentContentUpdatePreviews',
|
|
120
|
+
'FbaInboundApi-generateTransportationOptions',
|
|
121
|
+
'FbaInboundApi-getDeliveryChallanDocument',
|
|
122
|
+
'FbaInboundApi-getInboundOperationStatus',
|
|
123
|
+
'FbaInboundApi-getInboundPlan',
|
|
124
|
+
'FbaInboundApi-getSelfShipAppointmentSlots',
|
|
125
|
+
'FbaInboundApi-getShipment',
|
|
126
|
+
'FbaInboundApi-getShipmentContentUpdatePreview',
|
|
127
|
+
'FbaInboundApi-listDeliveryWindowOptions',
|
|
128
|
+
'FbaInboundApi-listInboundPlanBoxes',
|
|
129
|
+
'FbaInboundApi-listInboundPlanItems',
|
|
130
|
+
'FbaInboundApi-listInboundPlanPallets',
|
|
131
|
+
'FbaInboundApi-listInboundPlans',
|
|
132
|
+
'FbaInboundApi-listItemComplianceDetails',
|
|
133
|
+
'FbaInboundApi-listPackingGroupBoxes',
|
|
134
|
+
'FbaInboundApi-listPackingGroupItems',
|
|
135
|
+
'FbaInboundApi-listPackingOptions',
|
|
136
|
+
'FbaInboundApi-listPlacementOptions',
|
|
137
|
+
'FbaInboundApi-listPrepDetails',
|
|
138
|
+
'FbaInboundApi-listShipmentBoxes',
|
|
139
|
+
'FbaInboundApi-listShipmentContentUpdatePreviews',
|
|
140
|
+
'FbaInboundApi-listShipmentItems',
|
|
141
|
+
'FbaInboundApi-listShipmentPallets',
|
|
142
|
+
'FbaInboundApi-listTransportationOptions',
|
|
143
|
+
'FbaInboundApi-scheduleSelfShipAppointment',
|
|
144
|
+
'FbaInboundApi-setPackingInformation',
|
|
145
|
+
'FbaInboundApi-setPrepDetails',
|
|
146
|
+
'FbaInboundApi-updateInboundPlanName',
|
|
147
|
+
'FbaInboundApi-updateItemComplianceDetails',
|
|
148
|
+
'FbaInboundApi-updateShipmentName',
|
|
149
|
+
'FbaInboundApi-updateShipmentSourceAddress',
|
|
150
|
+
'FbaInboundApi-updateShipmentTrackingDetails'
|
|
151
|
+
]
|
|
152
|
+
|
|
153
|
+
for (const operation of operations) {
|
|
154
|
+
const config = defaultRateLimitFetcher.getLimit(operation)
|
|
155
|
+
this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config))
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Get rate limiter for a specific operation
|
|
161
|
+
* @param {String} operation name
|
|
162
|
+
*/
|
|
163
|
+
getRateLimiter (operation) {
|
|
164
|
+
return this.#defaultRateLimiterMap.get(operation)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
97
168
|
* Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
98
169
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
99
170
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse} and HTTP response
|
|
100
171
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
105
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
106
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelInboundPlan");
|
|
107
|
-
}
|
|
172
|
+
cancelInboundPlanWithHttpInfo (inboundPlanId) {
|
|
173
|
+
const postBody = null
|
|
108
174
|
|
|
175
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
176
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
177
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelInboundPlan")
|
|
178
|
+
}
|
|
109
179
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
180
|
+
const pathParams = {
|
|
181
|
+
inboundPlanId
|
|
182
|
+
}
|
|
183
|
+
const queryParams = {
|
|
184
|
+
}
|
|
185
|
+
const headerParams = {
|
|
186
|
+
}
|
|
187
|
+
const formParams = {
|
|
188
|
+
}
|
|
119
189
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
190
|
+
const contentTypes = []
|
|
191
|
+
const accepts = ['application/json']
|
|
192
|
+
const returnType = CancelInboundPlanResponse
|
|
123
193
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
194
|
+
return this.apiClient.callApi('FbaInboundApi-cancelInboundPlan',
|
|
195
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/cancellation', 'PUT',
|
|
196
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
197
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-cancelInboundPlan')
|
|
198
|
+
)
|
|
199
|
+
}
|
|
130
200
|
|
|
131
|
-
|
|
201
|
+
/**
|
|
132
202
|
* Cancels an Inbound Plan. Charges may apply if the cancellation is performed outside of a void window. The window for Amazon Partnered Carriers is 24 hours for Small Parcel Delivery (SPD) and one hour for Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
133
203
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
134
204
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse}
|
|
135
205
|
*/
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
206
|
+
cancelInboundPlan (inboundPlanId) {
|
|
207
|
+
return this.cancelInboundPlanWithHttpInfo(inboundPlanId)
|
|
208
|
+
.then(function (response_and_data) {
|
|
209
|
+
return response_and_data.data
|
|
210
|
+
})
|
|
211
|
+
}
|
|
143
212
|
|
|
144
|
-
|
|
145
|
-
* Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
|
|
213
|
+
/**
|
|
214
|
+
* Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
|
|
146
215
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
147
216
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
148
217
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
|
|
149
218
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse} and HTTP response
|
|
150
219
|
*/
|
|
151
|
-
|
|
152
|
-
|
|
220
|
+
cancelSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
221
|
+
const postBody = body
|
|
153
222
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
// verify the required parameter 'shipmentId' is set
|
|
160
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
161
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling cancelSelfShipAppointment");
|
|
162
|
-
}
|
|
223
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
224
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
225
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelSelfShipAppointment")
|
|
226
|
+
}
|
|
163
227
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
228
|
+
// verify the required parameter 'shipmentId' is set
|
|
229
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
230
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling cancelSelfShipAppointment")
|
|
231
|
+
}
|
|
168
232
|
|
|
233
|
+
// verify the required parameter 'body' is set
|
|
234
|
+
if (body === undefined || body === null) {
|
|
235
|
+
throw new Error("Missing the required parameter 'body' when calling cancelSelfShipAppointment")
|
|
236
|
+
}
|
|
169
237
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
238
|
+
const pathParams = {
|
|
239
|
+
inboundPlanId,
|
|
240
|
+
shipmentId
|
|
241
|
+
}
|
|
242
|
+
const queryParams = {
|
|
243
|
+
}
|
|
244
|
+
const headerParams = {
|
|
245
|
+
}
|
|
246
|
+
const formParams = {
|
|
247
|
+
}
|
|
180
248
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
249
|
+
const contentTypes = ['application/json']
|
|
250
|
+
const accepts = ['application/json']
|
|
251
|
+
const returnType = CancelSelfShipAppointmentResponse
|
|
184
252
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
253
|
+
return this.apiClient.callApi('FbaInboundApi-cancelSelfShipAppointment',
|
|
254
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentCancellation', 'PUT',
|
|
255
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
256
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-cancelSelfShipAppointment')
|
|
257
|
+
)
|
|
258
|
+
}
|
|
191
259
|
|
|
192
|
-
|
|
193
|
-
* Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
|
|
260
|
+
/**
|
|
261
|
+
* Cancels a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **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 see 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).
|
|
194
262
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
195
263
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
196
264
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
|
|
197
265
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse}
|
|
198
266
|
*/
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
267
|
+
cancelSelfShipAppointment (inboundPlanId, shipmentId, body) {
|
|
268
|
+
return this.cancelSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
269
|
+
.then(function (response_and_data) {
|
|
270
|
+
return response_and_data.data
|
|
271
|
+
})
|
|
272
|
+
}
|
|
205
273
|
|
|
206
|
-
|
|
207
|
-
/**
|
|
274
|
+
/**
|
|
208
275
|
* Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation. **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 preceding table contains 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).
|
|
209
276
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
210
277
|
* @param {String} shipmentId The shipment to confirm the delivery window option for.
|
|
211
278
|
* @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
|
|
212
279
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse} and HTTP response
|
|
213
280
|
*/
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
/**
|
|
281
|
+
confirmDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId, deliveryWindowOptionId) {
|
|
282
|
+
const postBody = null
|
|
283
|
+
|
|
284
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
285
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
286
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmDeliveryWindowOptions")
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// verify the required parameter 'shipmentId' is set
|
|
290
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
291
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling confirmDeliveryWindowOptions")
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// verify the required parameter 'deliveryWindowOptionId' is set
|
|
295
|
+
if (deliveryWindowOptionId === undefined || deliveryWindowOptionId === null) {
|
|
296
|
+
throw new Error("Missing the required parameter 'deliveryWindowOptionId' when calling confirmDeliveryWindowOptions")
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
const pathParams = {
|
|
300
|
+
inboundPlanId,
|
|
301
|
+
shipmentId,
|
|
302
|
+
deliveryWindowOptionId
|
|
303
|
+
}
|
|
304
|
+
const queryParams = {
|
|
305
|
+
}
|
|
306
|
+
const headerParams = {
|
|
307
|
+
}
|
|
308
|
+
const formParams = {
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
const contentTypes = []
|
|
312
|
+
const accepts = ['application/json']
|
|
313
|
+
const returnType = ConfirmDeliveryWindowOptionsResponse
|
|
314
|
+
|
|
315
|
+
return this.apiClient.callApi('FbaInboundApi-confirmDeliveryWindowOptions',
|
|
316
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions/{deliveryWindowOptionId}/confirmation', 'POST',
|
|
317
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
318
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmDeliveryWindowOptions')
|
|
319
|
+
)
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
257
323
|
* Confirms the delivery window option for chosen shipment within an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new delivery window options cannot be generated, but the chosen delivery window option can be updated before shipment closure. The window is used to provide the expected time when a shipment will arrive at the warehouse. All transportation options which have the program `CONFIRMED_DELIVERY_WINDOW` require a delivery window to be confirmed prior to transportation option confirmation. **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 preceding table contains 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).
|
|
258
324
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
259
325
|
* @param {String} shipmentId The shipment to confirm the delivery window option for.
|
|
260
326
|
* @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
|
|
261
327
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse}
|
|
262
328
|
*/
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
329
|
+
confirmDeliveryWindowOptions (inboundPlanId, shipmentId, deliveryWindowOptionId) {
|
|
330
|
+
return this.confirmDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, deliveryWindowOptionId)
|
|
331
|
+
.then(function (response_and_data) {
|
|
332
|
+
return response_and_data.data
|
|
333
|
+
})
|
|
334
|
+
}
|
|
269
335
|
|
|
270
|
-
|
|
271
|
-
/**
|
|
336
|
+
/**
|
|
272
337
|
* Confirms the packing option for an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
273
338
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
274
339
|
* @param {String} packingOptionId Identifier of a packing option.
|
|
275
340
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse} and HTTP response
|
|
276
341
|
*/
|
|
277
|
-
|
|
278
|
-
|
|
342
|
+
confirmPackingOptionWithHttpInfo (inboundPlanId, packingOptionId) {
|
|
343
|
+
const postBody = null
|
|
279
344
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
345
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
346
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
347
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPackingOption")
|
|
348
|
+
}
|
|
284
349
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
350
|
+
// verify the required parameter 'packingOptionId' is set
|
|
351
|
+
if (packingOptionId === undefined || packingOptionId === null) {
|
|
352
|
+
throw new Error("Missing the required parameter 'packingOptionId' when calling confirmPackingOption")
|
|
353
|
+
}
|
|
289
354
|
|
|
355
|
+
const pathParams = {
|
|
356
|
+
inboundPlanId,
|
|
357
|
+
packingOptionId
|
|
358
|
+
}
|
|
359
|
+
const queryParams = {
|
|
360
|
+
}
|
|
361
|
+
const headerParams = {
|
|
362
|
+
}
|
|
363
|
+
const formParams = {
|
|
364
|
+
}
|
|
290
365
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
};
|
|
295
|
-
let queryParams = {
|
|
296
|
-
};
|
|
297
|
-
let headerParams = {
|
|
298
|
-
};
|
|
299
|
-
let formParams = {
|
|
300
|
-
};
|
|
366
|
+
const contentTypes = []
|
|
367
|
+
const accepts = ['application/json']
|
|
368
|
+
const returnType = ConfirmPackingOptionResponse
|
|
301
369
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
370
|
+
return this.apiClient.callApi('FbaInboundApi-confirmPackingOption',
|
|
371
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions/{packingOptionId}/confirmation', 'POST',
|
|
372
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
373
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmPackingOption')
|
|
374
|
+
)
|
|
375
|
+
}
|
|
305
376
|
|
|
306
|
-
|
|
307
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions/{packingOptionId}/confirmation', 'POST',
|
|
308
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
309
|
-
contentTypes, accepts, returnType
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
377
|
+
/**
|
|
314
378
|
* Confirms the packing option for an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
315
379
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
316
380
|
* @param {String} packingOptionId Identifier of a packing option.
|
|
317
381
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse}
|
|
318
382
|
*/
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
383
|
+
confirmPackingOption (inboundPlanId, packingOptionId) {
|
|
384
|
+
return this.confirmPackingOptionWithHttpInfo(inboundPlanId, packingOptionId)
|
|
385
|
+
.then(function (response_and_data) {
|
|
386
|
+
return response_and_data.data
|
|
387
|
+
})
|
|
388
|
+
}
|
|
325
389
|
|
|
326
|
-
|
|
327
|
-
/**
|
|
390
|
+
/**
|
|
328
391
|
* Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
329
392
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
330
393
|
* @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
|
|
331
394
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse} and HTTP response
|
|
332
395
|
*/
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
337
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
338
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPlacementOption");
|
|
339
|
-
}
|
|
396
|
+
confirmPlacementOptionWithHttpInfo (inboundPlanId, placementOptionId) {
|
|
397
|
+
const postBody = null
|
|
340
398
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
399
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
400
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
401
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmPlacementOption")
|
|
402
|
+
}
|
|
345
403
|
|
|
404
|
+
// verify the required parameter 'placementOptionId' is set
|
|
405
|
+
if (placementOptionId === undefined || placementOptionId === null) {
|
|
406
|
+
throw new Error("Missing the required parameter 'placementOptionId' when calling confirmPlacementOption")
|
|
407
|
+
}
|
|
346
408
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
409
|
+
const pathParams = {
|
|
410
|
+
inboundPlanId,
|
|
411
|
+
placementOptionId
|
|
412
|
+
}
|
|
413
|
+
const queryParams = {
|
|
414
|
+
}
|
|
415
|
+
const headerParams = {
|
|
416
|
+
}
|
|
417
|
+
const formParams = {
|
|
418
|
+
}
|
|
357
419
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
420
|
+
const contentTypes = []
|
|
421
|
+
const accepts = ['application/json']
|
|
422
|
+
const returnType = ConfirmPlacementOptionResponse
|
|
361
423
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
424
|
+
return this.apiClient.callApi('FbaInboundApi-confirmPlacementOption',
|
|
425
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions/{placementOptionId}/confirmation', 'POST',
|
|
426
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
427
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmPlacementOption')
|
|
428
|
+
)
|
|
429
|
+
}
|
|
368
430
|
|
|
369
|
-
|
|
431
|
+
/**
|
|
370
432
|
* Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
371
433
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
372
434
|
* @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
|
|
373
435
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse}
|
|
374
436
|
*/
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
437
|
+
confirmPlacementOption (inboundPlanId, placementOptionId) {
|
|
438
|
+
return this.confirmPlacementOptionWithHttpInfo(inboundPlanId, placementOptionId)
|
|
439
|
+
.then(function (response_and_data) {
|
|
440
|
+
return response_and_data.data
|
|
441
|
+
})
|
|
442
|
+
}
|
|
381
443
|
|
|
382
|
-
|
|
383
|
-
/**
|
|
444
|
+
/**
|
|
384
445
|
* Confirm a shipment content update preview and accept the changes in transportation cost. **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 preceding table contains 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).
|
|
385
446
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
386
447
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
387
448
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
388
449
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse} and HTTP response
|
|
389
450
|
*/
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
/**
|
|
451
|
+
confirmShipmentContentUpdatePreviewWithHttpInfo (inboundPlanId, shipmentId, contentUpdatePreviewId) {
|
|
452
|
+
const postBody = null
|
|
453
|
+
|
|
454
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
455
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
456
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmShipmentContentUpdatePreview")
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// verify the required parameter 'shipmentId' is set
|
|
460
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
461
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling confirmShipmentContentUpdatePreview")
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// verify the required parameter 'contentUpdatePreviewId' is set
|
|
465
|
+
if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
|
|
466
|
+
throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling confirmShipmentContentUpdatePreview")
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
const pathParams = {
|
|
470
|
+
inboundPlanId,
|
|
471
|
+
shipmentId,
|
|
472
|
+
contentUpdatePreviewId
|
|
473
|
+
}
|
|
474
|
+
const queryParams = {
|
|
475
|
+
}
|
|
476
|
+
const headerParams = {
|
|
477
|
+
}
|
|
478
|
+
const formParams = {
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
const contentTypes = []
|
|
482
|
+
const accepts = ['application/json']
|
|
483
|
+
const returnType = ConfirmShipmentContentUpdatePreviewResponse
|
|
484
|
+
|
|
485
|
+
return this.apiClient.callApi('FbaInboundApi-confirmShipmentContentUpdatePreview',
|
|
486
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}/confirmation', 'POST',
|
|
487
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
488
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmShipmentContentUpdatePreview')
|
|
489
|
+
)
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
433
493
|
* Confirm a shipment content update preview and accept the changes in transportation cost. **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 preceding table contains 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).
|
|
434
494
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
435
495
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
436
496
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
437
497
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse}
|
|
438
498
|
*/
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
499
|
+
confirmShipmentContentUpdatePreview (inboundPlanId, shipmentId, contentUpdatePreviewId) {
|
|
500
|
+
return this.confirmShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
|
|
501
|
+
.then(function (response_and_data) {
|
|
502
|
+
return response_and_data.data
|
|
503
|
+
})
|
|
504
|
+
}
|
|
446
505
|
|
|
447
|
-
|
|
506
|
+
/**
|
|
448
507
|
* Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
449
508
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
450
509
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
|
|
451
510
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse} and HTTP response
|
|
452
511
|
*/
|
|
453
|
-
|
|
454
|
-
|
|
512
|
+
confirmTransportationOptionsWithHttpInfo (inboundPlanId, body) {
|
|
513
|
+
const postBody = body
|
|
455
514
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
// verify the required parameter 'body' is set
|
|
462
|
-
if (body === undefined || body === null) {
|
|
463
|
-
throw new Error("Missing the required parameter 'body' when calling confirmTransportationOptions");
|
|
464
|
-
}
|
|
515
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
516
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
517
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmTransportationOptions")
|
|
518
|
+
}
|
|
465
519
|
|
|
520
|
+
// verify the required parameter 'body' is set
|
|
521
|
+
if (body === undefined || body === null) {
|
|
522
|
+
throw new Error("Missing the required parameter 'body' when calling confirmTransportationOptions")
|
|
523
|
+
}
|
|
466
524
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
525
|
+
const pathParams = {
|
|
526
|
+
inboundPlanId
|
|
527
|
+
}
|
|
528
|
+
const queryParams = {
|
|
529
|
+
}
|
|
530
|
+
const headerParams = {
|
|
531
|
+
}
|
|
532
|
+
const formParams = {
|
|
533
|
+
}
|
|
476
534
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
535
|
+
const contentTypes = ['application/json']
|
|
536
|
+
const accepts = ['application/json']
|
|
537
|
+
const returnType = ConfirmTransportationOptionsResponse
|
|
480
538
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
539
|
+
return this.apiClient.callApi('FbaInboundApi-confirmTransportationOptions',
|
|
540
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions/confirmation', 'POST',
|
|
541
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
542
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-confirmTransportationOptions')
|
|
543
|
+
)
|
|
544
|
+
}
|
|
487
545
|
|
|
488
|
-
|
|
546
|
+
/**
|
|
489
547
|
* Confirms all the transportation options for an inbound plan. A placement option must be confirmed prior to use of this API. Once confirmed, new transportation options can not be generated or confirmed for the Inbound Plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
490
548
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
491
549
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
|
|
492
550
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse}
|
|
493
551
|
*/
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
552
|
+
confirmTransportationOptions (inboundPlanId, body) {
|
|
553
|
+
return this.confirmTransportationOptionsWithHttpInfo(inboundPlanId, body)
|
|
554
|
+
.then(function (response_and_data) {
|
|
555
|
+
return response_and_data.data
|
|
556
|
+
})
|
|
557
|
+
}
|
|
501
558
|
|
|
502
|
-
|
|
559
|
+
/**
|
|
503
560
|
* Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
504
561
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
|
|
505
562
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse} and HTTP response
|
|
506
563
|
*/
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
// verify the required parameter 'body' is set
|
|
511
|
-
if (body === undefined || body === null) {
|
|
512
|
-
throw new Error("Missing the required parameter 'body' when calling createInboundPlan");
|
|
513
|
-
}
|
|
564
|
+
createInboundPlanWithHttpInfo (body) {
|
|
565
|
+
const postBody = body
|
|
514
566
|
|
|
567
|
+
// verify the required parameter 'body' is set
|
|
568
|
+
if (body === undefined || body === null) {
|
|
569
|
+
throw new Error("Missing the required parameter 'body' when calling createInboundPlan")
|
|
570
|
+
}
|
|
515
571
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
572
|
+
const pathParams = {
|
|
573
|
+
}
|
|
574
|
+
const queryParams = {
|
|
575
|
+
}
|
|
576
|
+
const headerParams = {
|
|
577
|
+
}
|
|
578
|
+
const formParams = {
|
|
579
|
+
}
|
|
524
580
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
581
|
+
const contentTypes = ['application/json']
|
|
582
|
+
const accepts = ['application/json']
|
|
583
|
+
const returnType = CreateInboundPlanResponse
|
|
528
584
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
585
|
+
return this.apiClient.callApi('FbaInboundApi-createInboundPlan',
|
|
586
|
+
'/inbound/fba/2024-03-20/inboundPlans', 'POST',
|
|
587
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
588
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-createInboundPlan')
|
|
589
|
+
)
|
|
590
|
+
}
|
|
535
591
|
|
|
536
|
-
|
|
592
|
+
/**
|
|
537
593
|
* Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
538
594
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
|
|
539
595
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse}
|
|
540
596
|
*/
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
597
|
+
createInboundPlan (body) {
|
|
598
|
+
return this.createInboundPlanWithHttpInfo(body)
|
|
599
|
+
.then(function (response_and_data) {
|
|
600
|
+
return response_and_data.data
|
|
601
|
+
})
|
|
602
|
+
}
|
|
548
603
|
|
|
549
|
-
|
|
604
|
+
/**
|
|
550
605
|
* For a given marketplace - creates labels for a list of MSKUs. **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 preceding table contains 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).
|
|
551
606
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
|
|
552
607
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse} and HTTP response
|
|
553
608
|
*/
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
// verify the required parameter 'body' is set
|
|
558
|
-
if (body === undefined || body === null) {
|
|
559
|
-
throw new Error("Missing the required parameter 'body' when calling createMarketplaceItemLabels");
|
|
560
|
-
}
|
|
609
|
+
createMarketplaceItemLabelsWithHttpInfo (body) {
|
|
610
|
+
const postBody = body
|
|
561
611
|
|
|
612
|
+
// verify the required parameter 'body' is set
|
|
613
|
+
if (body === undefined || body === null) {
|
|
614
|
+
throw new Error("Missing the required parameter 'body' when calling createMarketplaceItemLabels")
|
|
615
|
+
}
|
|
562
616
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
617
|
+
const pathParams = {
|
|
618
|
+
}
|
|
619
|
+
const queryParams = {
|
|
620
|
+
}
|
|
621
|
+
const headerParams = {
|
|
622
|
+
}
|
|
623
|
+
const formParams = {
|
|
624
|
+
}
|
|
571
625
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
626
|
+
const contentTypes = ['application/json']
|
|
627
|
+
const accepts = ['application/json']
|
|
628
|
+
const returnType = CreateMarketplaceItemLabelsResponse
|
|
575
629
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
630
|
+
return this.apiClient.callApi('FbaInboundApi-createMarketplaceItemLabels',
|
|
631
|
+
'/inbound/fba/2024-03-20/items/labels', 'POST',
|
|
632
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
633
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-createMarketplaceItemLabels')
|
|
634
|
+
)
|
|
635
|
+
}
|
|
582
636
|
|
|
583
|
-
|
|
637
|
+
/**
|
|
584
638
|
* For a given marketplace - creates labels for a list of MSKUs. **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 preceding table contains 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).
|
|
585
639
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
|
|
586
640
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse}
|
|
587
641
|
*/
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
642
|
+
createMarketplaceItemLabels (body) {
|
|
643
|
+
return this.createMarketplaceItemLabelsWithHttpInfo(body)
|
|
644
|
+
.then(function (response_and_data) {
|
|
645
|
+
return response_and_data.data
|
|
646
|
+
})
|
|
647
|
+
}
|
|
594
648
|
|
|
595
|
-
|
|
596
|
-
/**
|
|
649
|
+
/**
|
|
597
650
|
* Generates available delivery window options for a given shipment. **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 preceding table contains 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).
|
|
598
651
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
599
652
|
* @param {String} shipmentId The shipment to generate delivery window options for.
|
|
600
653
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse} and HTTP response
|
|
601
654
|
*/
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
606
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
607
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateDeliveryWindowOptions");
|
|
608
|
-
}
|
|
655
|
+
generateDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId) {
|
|
656
|
+
const postBody = null
|
|
609
657
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
658
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
659
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
660
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateDeliveryWindowOptions")
|
|
661
|
+
}
|
|
614
662
|
|
|
663
|
+
// verify the required parameter 'shipmentId' is set
|
|
664
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
665
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling generateDeliveryWindowOptions")
|
|
666
|
+
}
|
|
615
667
|
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
668
|
+
const pathParams = {
|
|
669
|
+
inboundPlanId,
|
|
670
|
+
shipmentId
|
|
671
|
+
}
|
|
672
|
+
const queryParams = {
|
|
673
|
+
}
|
|
674
|
+
const headerParams = {
|
|
675
|
+
}
|
|
676
|
+
const formParams = {
|
|
677
|
+
}
|
|
626
678
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
679
|
+
const contentTypes = []
|
|
680
|
+
const accepts = ['application/json']
|
|
681
|
+
const returnType = GenerateDeliveryWindowOptionsResponse
|
|
630
682
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
683
|
+
return this.apiClient.callApi('FbaInboundApi-generateDeliveryWindowOptions',
|
|
684
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'POST',
|
|
685
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
686
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateDeliveryWindowOptions')
|
|
687
|
+
)
|
|
688
|
+
}
|
|
637
689
|
|
|
638
|
-
|
|
690
|
+
/**
|
|
639
691
|
* Generates available delivery window options for a given shipment. **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 preceding table contains 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).
|
|
640
692
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
641
693
|
* @param {String} shipmentId The shipment to generate delivery window options for.
|
|
642
694
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse}
|
|
643
695
|
*/
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
696
|
+
generateDeliveryWindowOptions (inboundPlanId, shipmentId) {
|
|
697
|
+
return this.generateDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId)
|
|
698
|
+
.then(function (response_and_data) {
|
|
699
|
+
return response_and_data.data
|
|
700
|
+
})
|
|
701
|
+
}
|
|
650
702
|
|
|
651
|
-
|
|
652
|
-
/**
|
|
703
|
+
/**
|
|
653
704
|
* Generates available packing options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
654
705
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
655
706
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse} and HTTP response
|
|
656
707
|
*/
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
661
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
662
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePackingOptions");
|
|
663
|
-
}
|
|
708
|
+
generatePackingOptionsWithHttpInfo (inboundPlanId) {
|
|
709
|
+
const postBody = null
|
|
664
710
|
|
|
711
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
712
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
713
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePackingOptions")
|
|
714
|
+
}
|
|
665
715
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
716
|
+
const pathParams = {
|
|
717
|
+
inboundPlanId
|
|
718
|
+
}
|
|
719
|
+
const queryParams = {
|
|
720
|
+
}
|
|
721
|
+
const headerParams = {
|
|
722
|
+
}
|
|
723
|
+
const formParams = {
|
|
724
|
+
}
|
|
675
725
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
726
|
+
const contentTypes = []
|
|
727
|
+
const accepts = ['application/json']
|
|
728
|
+
const returnType = GeneratePackingOptionsResponse
|
|
679
729
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
730
|
+
return this.apiClient.callApi('FbaInboundApi-generatePackingOptions',
|
|
731
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'POST',
|
|
732
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
733
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generatePackingOptions')
|
|
734
|
+
)
|
|
735
|
+
}
|
|
686
736
|
|
|
687
|
-
|
|
737
|
+
/**
|
|
688
738
|
* Generates available packing options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
689
739
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
690
740
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse}
|
|
691
741
|
*/
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
742
|
+
generatePackingOptions (inboundPlanId) {
|
|
743
|
+
return this.generatePackingOptionsWithHttpInfo(inboundPlanId)
|
|
744
|
+
.then(function (response_and_data) {
|
|
745
|
+
return response_and_data.data
|
|
746
|
+
})
|
|
747
|
+
}
|
|
699
748
|
|
|
700
|
-
|
|
749
|
+
/**
|
|
701
750
|
* Generates placement options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
702
751
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
703
752
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
|
|
704
753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse} and HTTP response
|
|
705
754
|
*/
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
710
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
711
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePlacementOptions");
|
|
712
|
-
}
|
|
755
|
+
generatePlacementOptionsWithHttpInfo (inboundPlanId, body) {
|
|
756
|
+
const postBody = body
|
|
713
757
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
758
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
759
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
760
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePlacementOptions")
|
|
761
|
+
}
|
|
718
762
|
|
|
763
|
+
// verify the required parameter 'body' is set
|
|
764
|
+
if (body === undefined || body === null) {
|
|
765
|
+
throw new Error("Missing the required parameter 'body' when calling generatePlacementOptions")
|
|
766
|
+
}
|
|
719
767
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
768
|
+
const pathParams = {
|
|
769
|
+
inboundPlanId
|
|
770
|
+
}
|
|
771
|
+
const queryParams = {
|
|
772
|
+
}
|
|
773
|
+
const headerParams = {
|
|
774
|
+
}
|
|
775
|
+
const formParams = {
|
|
776
|
+
}
|
|
729
777
|
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
778
|
+
const contentTypes = ['application/json']
|
|
779
|
+
const accepts = ['application/json']
|
|
780
|
+
const returnType = GeneratePlacementOptionsResponse
|
|
733
781
|
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
782
|
+
return this.apiClient.callApi('FbaInboundApi-generatePlacementOptions',
|
|
783
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'POST',
|
|
784
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
785
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generatePlacementOptions')
|
|
786
|
+
)
|
|
787
|
+
}
|
|
740
788
|
|
|
741
|
-
|
|
789
|
+
/**
|
|
742
790
|
* Generates placement options for the inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
743
791
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
744
792
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
|
|
745
793
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse}
|
|
746
794
|
*/
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
795
|
+
generatePlacementOptions (inboundPlanId, body) {
|
|
796
|
+
return this.generatePlacementOptionsWithHttpInfo(inboundPlanId, body)
|
|
797
|
+
.then(function (response_and_data) {
|
|
798
|
+
return response_and_data.data
|
|
799
|
+
})
|
|
800
|
+
}
|
|
753
801
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
* Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
802
|
+
/**
|
|
803
|
+
* Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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
804
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
758
805
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
759
806
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
|
|
760
807
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse} and HTTP response
|
|
761
808
|
*/
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
766
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
767
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateSelfShipAppointmentSlots");
|
|
768
|
-
}
|
|
809
|
+
generateSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
810
|
+
const postBody = body
|
|
769
811
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
812
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
813
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
814
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateSelfShipAppointmentSlots")
|
|
815
|
+
}
|
|
774
816
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
817
|
+
// verify the required parameter 'shipmentId' is set
|
|
818
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
819
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling generateSelfShipAppointmentSlots")
|
|
820
|
+
}
|
|
779
821
|
|
|
822
|
+
// verify the required parameter 'body' is set
|
|
823
|
+
if (body === undefined || body === null) {
|
|
824
|
+
throw new Error("Missing the required parameter 'body' when calling generateSelfShipAppointmentSlots")
|
|
825
|
+
}
|
|
780
826
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
827
|
+
const pathParams = {
|
|
828
|
+
inboundPlanId,
|
|
829
|
+
shipmentId
|
|
830
|
+
}
|
|
831
|
+
const queryParams = {
|
|
832
|
+
}
|
|
833
|
+
const headerParams = {
|
|
834
|
+
}
|
|
835
|
+
const formParams = {
|
|
836
|
+
}
|
|
791
837
|
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
838
|
+
const contentTypes = ['application/json']
|
|
839
|
+
const accepts = ['application/json']
|
|
840
|
+
const returnType = GenerateSelfShipAppointmentSlotsResponse
|
|
795
841
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
842
|
+
return this.apiClient.callApi('FbaInboundApi-generateSelfShipAppointmentSlots',
|
|
843
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'POST',
|
|
844
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
845
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateSelfShipAppointmentSlots')
|
|
846
|
+
)
|
|
847
|
+
}
|
|
802
848
|
|
|
803
|
-
|
|
804
|
-
* Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
849
|
+
/**
|
|
850
|
+
* Initiates the process of generating the appointment slots list. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
805
851
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
806
852
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
807
853
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
|
|
808
854
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse}
|
|
809
855
|
*/
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
856
|
+
generateSelfShipAppointmentSlots (inboundPlanId, shipmentId, body) {
|
|
857
|
+
return this.generateSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
858
|
+
.then(function (response_and_data) {
|
|
859
|
+
return response_and_data.data
|
|
860
|
+
})
|
|
861
|
+
}
|
|
817
862
|
|
|
818
|
-
|
|
863
|
+
/**
|
|
819
864
|
* Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation. **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 preceding table contains 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).
|
|
820
865
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
821
866
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
822
867
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
|
|
823
868
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse} and HTTP response
|
|
824
869
|
*/
|
|
825
|
-
|
|
826
|
-
|
|
870
|
+
generateShipmentContentUpdatePreviewsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
871
|
+
const postBody = body
|
|
827
872
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
// verify the required parameter 'shipmentId' is set
|
|
834
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
835
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling generateShipmentContentUpdatePreviews");
|
|
836
|
-
}
|
|
873
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
874
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
875
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateShipmentContentUpdatePreviews")
|
|
876
|
+
}
|
|
837
877
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
878
|
+
// verify the required parameter 'shipmentId' is set
|
|
879
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
880
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling generateShipmentContentUpdatePreviews")
|
|
881
|
+
}
|
|
842
882
|
|
|
883
|
+
// verify the required parameter 'body' is set
|
|
884
|
+
if (body === undefined || body === null) {
|
|
885
|
+
throw new Error("Missing the required parameter 'body' when calling generateShipmentContentUpdatePreviews")
|
|
886
|
+
}
|
|
843
887
|
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
888
|
+
const pathParams = {
|
|
889
|
+
inboundPlanId,
|
|
890
|
+
shipmentId
|
|
891
|
+
}
|
|
892
|
+
const queryParams = {
|
|
893
|
+
}
|
|
894
|
+
const headerParams = {
|
|
895
|
+
}
|
|
896
|
+
const formParams = {
|
|
897
|
+
}
|
|
854
898
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
899
|
+
const contentTypes = ['application/json']
|
|
900
|
+
const accepts = ['application/json']
|
|
901
|
+
const returnType = GenerateShipmentContentUpdatePreviewsResponse
|
|
858
902
|
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
903
|
+
return this.apiClient.callApi('FbaInboundApi-generateShipmentContentUpdatePreviews',
|
|
904
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'POST',
|
|
905
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
906
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateShipmentContentUpdatePreviews')
|
|
907
|
+
)
|
|
908
|
+
}
|
|
865
909
|
|
|
866
|
-
|
|
910
|
+
/**
|
|
867
911
|
* Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier. The shipment content update preview will be viewable with the updated costs and contents prior to confirmation. **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 preceding table contains 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).
|
|
868
912
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
869
913
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
870
914
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
|
|
871
915
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse}
|
|
872
916
|
*/
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
917
|
+
generateShipmentContentUpdatePreviews (inboundPlanId, shipmentId, body) {
|
|
918
|
+
return this.generateShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
919
|
+
.then(function (response_and_data) {
|
|
920
|
+
return response_and_data.data
|
|
921
|
+
})
|
|
922
|
+
}
|
|
879
923
|
|
|
880
|
-
|
|
881
|
-
/**
|
|
924
|
+
/**
|
|
882
925
|
* Generates available transportation options for a given placement option. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
883
926
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
884
927
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
|
|
885
928
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse} and HTTP response
|
|
886
929
|
*/
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
891
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
892
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateTransportationOptions");
|
|
893
|
-
}
|
|
930
|
+
generateTransportationOptionsWithHttpInfo (inboundPlanId, body) {
|
|
931
|
+
const postBody = body
|
|
894
932
|
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
933
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
934
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
935
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateTransportationOptions")
|
|
936
|
+
}
|
|
899
937
|
|
|
938
|
+
// verify the required parameter 'body' is set
|
|
939
|
+
if (body === undefined || body === null) {
|
|
940
|
+
throw new Error("Missing the required parameter 'body' when calling generateTransportationOptions")
|
|
941
|
+
}
|
|
900
942
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
943
|
+
const pathParams = {
|
|
944
|
+
inboundPlanId
|
|
945
|
+
}
|
|
946
|
+
const queryParams = {
|
|
947
|
+
}
|
|
948
|
+
const headerParams = {
|
|
949
|
+
}
|
|
950
|
+
const formParams = {
|
|
951
|
+
}
|
|
910
952
|
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
953
|
+
const contentTypes = ['application/json']
|
|
954
|
+
const accepts = ['application/json']
|
|
955
|
+
const returnType = GenerateTransportationOptionsResponse
|
|
914
956
|
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
957
|
+
return this.apiClient.callApi('FbaInboundApi-generateTransportationOptions',
|
|
958
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'POST',
|
|
959
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
960
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-generateTransportationOptions')
|
|
961
|
+
)
|
|
962
|
+
}
|
|
921
963
|
|
|
922
|
-
|
|
964
|
+
/**
|
|
923
965
|
* Generates available transportation options for a given placement option. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
924
966
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
925
967
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
|
|
926
968
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse}
|
|
927
969
|
*/
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
970
|
+
generateTransportationOptions (inboundPlanId, body) {
|
|
971
|
+
return this.generateTransportationOptionsWithHttpInfo(inboundPlanId, body)
|
|
972
|
+
.then(function (response_and_data) {
|
|
973
|
+
return response_and_data.data
|
|
974
|
+
})
|
|
975
|
+
}
|
|
934
976
|
|
|
935
|
-
|
|
936
|
-
/**
|
|
977
|
+
/**
|
|
937
978
|
* Provide delivery challan document for PCP transportation in IN marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
938
979
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
939
980
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
940
981
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse} and HTTP response
|
|
941
982
|
*/
|
|
942
|
-
|
|
943
|
-
|
|
983
|
+
getDeliveryChallanDocumentWithHttpInfo (inboundPlanId, shipmentId) {
|
|
984
|
+
const postBody = null
|
|
944
985
|
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
986
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
987
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
988
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling getDeliveryChallanDocument")
|
|
989
|
+
}
|
|
949
990
|
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
991
|
+
// verify the required parameter 'shipmentId' is set
|
|
992
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
993
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling getDeliveryChallanDocument")
|
|
994
|
+
}
|
|
954
995
|
|
|
996
|
+
const pathParams = {
|
|
997
|
+
inboundPlanId,
|
|
998
|
+
shipmentId
|
|
999
|
+
}
|
|
1000
|
+
const queryParams = {
|
|
1001
|
+
}
|
|
1002
|
+
const headerParams = {
|
|
1003
|
+
}
|
|
1004
|
+
const formParams = {
|
|
1005
|
+
}
|
|
955
1006
|
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
};
|
|
960
|
-
let queryParams = {
|
|
961
|
-
};
|
|
962
|
-
let headerParams = {
|
|
963
|
-
};
|
|
964
|
-
let formParams = {
|
|
965
|
-
};
|
|
1007
|
+
const contentTypes = []
|
|
1008
|
+
const accepts = ['application/json']
|
|
1009
|
+
const returnType = GetDeliveryChallanDocumentResponse
|
|
966
1010
|
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
1011
|
+
return this.apiClient.callApi('FbaInboundApi-getDeliveryChallanDocument',
|
|
1012
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument', 'GET',
|
|
1013
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1014
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getDeliveryChallanDocument')
|
|
1015
|
+
)
|
|
1016
|
+
}
|
|
970
1017
|
|
|
971
|
-
|
|
972
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument', 'GET',
|
|
973
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
974
|
-
contentTypes, accepts, returnType
|
|
975
|
-
);
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
/**
|
|
1018
|
+
/**
|
|
979
1019
|
* Provide delivery challan document for PCP transportation in IN marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
980
1020
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
981
1021
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
982
1022
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse}
|
|
983
1023
|
*/
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1024
|
+
getDeliveryChallanDocument (inboundPlanId, shipmentId) {
|
|
1025
|
+
return this.getDeliveryChallanDocumentWithHttpInfo(inboundPlanId, shipmentId)
|
|
1026
|
+
.then(function (response_and_data) {
|
|
1027
|
+
return response_and_data.data
|
|
1028
|
+
})
|
|
1029
|
+
}
|
|
990
1030
|
|
|
991
|
-
|
|
992
|
-
/**
|
|
1031
|
+
/**
|
|
993
1032
|
* Gets the status of the processing of an asynchronous API call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
994
1033
|
* @param {String} operationId Identifier of an asynchronous operation.
|
|
995
1034
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundOperationStatus} and HTTP response
|
|
996
1035
|
*/
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
// verify the required parameter 'operationId' is set
|
|
1001
|
-
if (operationId === undefined || operationId === null) {
|
|
1002
|
-
throw new Error("Missing the required parameter 'operationId' when calling getInboundOperationStatus");
|
|
1003
|
-
}
|
|
1036
|
+
getInboundOperationStatusWithHttpInfo (operationId) {
|
|
1037
|
+
const postBody = null
|
|
1004
1038
|
|
|
1039
|
+
// verify the required parameter 'operationId' is set
|
|
1040
|
+
if (operationId === undefined || operationId === null) {
|
|
1041
|
+
throw new Error("Missing the required parameter 'operationId' when calling getInboundOperationStatus")
|
|
1042
|
+
}
|
|
1005
1043
|
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1044
|
+
const pathParams = {
|
|
1045
|
+
operationId
|
|
1046
|
+
}
|
|
1047
|
+
const queryParams = {
|
|
1048
|
+
}
|
|
1049
|
+
const headerParams = {
|
|
1050
|
+
}
|
|
1051
|
+
const formParams = {
|
|
1052
|
+
}
|
|
1015
1053
|
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1054
|
+
const contentTypes = []
|
|
1055
|
+
const accepts = ['application/json']
|
|
1056
|
+
const returnType = InboundOperationStatus
|
|
1019
1057
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1058
|
+
return this.apiClient.callApi('FbaInboundApi-getInboundOperationStatus',
|
|
1059
|
+
'/inbound/fba/2024-03-20/operations/{operationId}', 'GET',
|
|
1060
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1061
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getInboundOperationStatus')
|
|
1062
|
+
)
|
|
1063
|
+
}
|
|
1026
1064
|
|
|
1027
|
-
|
|
1065
|
+
/**
|
|
1028
1066
|
* Gets the status of the processing of an asynchronous API call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1029
1067
|
* @param {String} operationId Identifier of an asynchronous operation.
|
|
1030
1068
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundOperationStatus}
|
|
1031
1069
|
*/
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1070
|
+
getInboundOperationStatus (operationId) {
|
|
1071
|
+
return this.getInboundOperationStatusWithHttpInfo(operationId)
|
|
1072
|
+
.then(function (response_and_data) {
|
|
1073
|
+
return response_and_data.data
|
|
1074
|
+
})
|
|
1075
|
+
}
|
|
1039
1076
|
|
|
1040
|
-
|
|
1077
|
+
/**
|
|
1041
1078
|
* Fetches the top level information about an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1042
1079
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1043
1080
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundPlan} and HTTP response
|
|
1044
1081
|
*/
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1049
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1050
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling getInboundPlan");
|
|
1051
|
-
}
|
|
1082
|
+
getInboundPlanWithHttpInfo (inboundPlanId) {
|
|
1083
|
+
const postBody = null
|
|
1052
1084
|
|
|
1085
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1086
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1087
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling getInboundPlan")
|
|
1088
|
+
}
|
|
1053
1089
|
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1090
|
+
const pathParams = {
|
|
1091
|
+
inboundPlanId
|
|
1092
|
+
}
|
|
1093
|
+
const queryParams = {
|
|
1094
|
+
}
|
|
1095
|
+
const headerParams = {
|
|
1096
|
+
}
|
|
1097
|
+
const formParams = {
|
|
1098
|
+
}
|
|
1063
1099
|
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1100
|
+
const contentTypes = []
|
|
1101
|
+
const accepts = ['application/json']
|
|
1102
|
+
const returnType = InboundPlan
|
|
1067
1103
|
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1104
|
+
return this.apiClient.callApi('FbaInboundApi-getInboundPlan',
|
|
1105
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}', 'GET',
|
|
1106
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1107
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getInboundPlan')
|
|
1108
|
+
)
|
|
1109
|
+
}
|
|
1074
1110
|
|
|
1075
|
-
|
|
1111
|
+
/**
|
|
1076
1112
|
* Fetches the top level information about an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1077
1113
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1078
1114
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundPlan}
|
|
1079
1115
|
*/
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1116
|
+
getInboundPlan (inboundPlanId) {
|
|
1117
|
+
return this.getInboundPlanWithHttpInfo(inboundPlanId)
|
|
1118
|
+
.then(function (response_and_data) {
|
|
1119
|
+
return response_and_data.data
|
|
1120
|
+
})
|
|
1121
|
+
}
|
|
1087
1122
|
|
|
1088
|
-
|
|
1089
|
-
* Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
|
|
1123
|
+
/**
|
|
1124
|
+
* Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
|
|
1090
1125
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1091
1126
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1092
1127
|
* @param {Object} opts Optional parameters
|
|
@@ -1094,47 +1129,46 @@ export class FbaInboundApi {
|
|
|
1094
1129
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1095
1130
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse} and HTTP response
|
|
1096
1131
|
*/
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1132
|
+
getSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
1133
|
+
opts = opts || {}
|
|
1134
|
+
const postBody = null
|
|
1100
1135
|
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
// verify the required parameter 'shipmentId' is set
|
|
1107
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
1108
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling getSelfShipAppointmentSlots");
|
|
1109
|
-
}
|
|
1136
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1137
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1138
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling getSelfShipAppointmentSlots")
|
|
1139
|
+
}
|
|
1110
1140
|
|
|
1141
|
+
// verify the required parameter 'shipmentId' is set
|
|
1142
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
1143
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling getSelfShipAppointmentSlots")
|
|
1144
|
+
}
|
|
1111
1145
|
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1146
|
+
const pathParams = {
|
|
1147
|
+
inboundPlanId,
|
|
1148
|
+
shipmentId
|
|
1149
|
+
}
|
|
1150
|
+
const queryParams = {
|
|
1151
|
+
pageSize: opts.pageSize,
|
|
1152
|
+
paginationToken: opts.paginationToken
|
|
1153
|
+
}
|
|
1154
|
+
const headerParams = {
|
|
1155
|
+
}
|
|
1156
|
+
const formParams = {
|
|
1157
|
+
}
|
|
1124
1158
|
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1159
|
+
const contentTypes = []
|
|
1160
|
+
const accepts = ['application/json']
|
|
1161
|
+
const returnType = GetSelfShipAppointmentSlotsResponse
|
|
1128
1162
|
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1163
|
+
return this.apiClient.callApi('FbaInboundApi-getSelfShipAppointmentSlots',
|
|
1164
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots', 'GET',
|
|
1165
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1166
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getSelfShipAppointmentSlots')
|
|
1167
|
+
)
|
|
1168
|
+
}
|
|
1135
1169
|
|
|
1136
|
-
|
|
1137
|
-
* Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
|
|
1170
|
+
/**
|
|
1171
|
+
* Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | 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 see 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).
|
|
1138
1172
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1139
1173
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1140
1174
|
* @param {Object} opts Optional parameters
|
|
@@ -1142,135 +1176,130 @@ export class FbaInboundApi {
|
|
|
1142
1176
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1143
1177
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse}
|
|
1144
1178
|
*/
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1179
|
+
getSelfShipAppointmentSlots (inboundPlanId, shipmentId, opts) {
|
|
1180
|
+
return this.getSelfShipAppointmentSlotsWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
1181
|
+
.then(function (response_and_data) {
|
|
1182
|
+
return response_and_data.data
|
|
1183
|
+
})
|
|
1184
|
+
}
|
|
1152
1185
|
|
|
1153
|
-
|
|
1186
|
+
/**
|
|
1154
1187
|
* Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1155
1188
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1156
1189
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1157
1190
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/Shipment} and HTTP response
|
|
1158
1191
|
*/
|
|
1159
|
-
|
|
1160
|
-
|
|
1192
|
+
getShipmentWithHttpInfo (inboundPlanId, shipmentId) {
|
|
1193
|
+
const postBody = null
|
|
1161
1194
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
// verify the required parameter 'shipmentId' is set
|
|
1168
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
1169
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling getShipment");
|
|
1170
|
-
}
|
|
1195
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1196
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1197
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipment")
|
|
1198
|
+
}
|
|
1171
1199
|
|
|
1200
|
+
// verify the required parameter 'shipmentId' is set
|
|
1201
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
1202
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling getShipment")
|
|
1203
|
+
}
|
|
1172
1204
|
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1205
|
+
const pathParams = {
|
|
1206
|
+
inboundPlanId,
|
|
1207
|
+
shipmentId
|
|
1208
|
+
}
|
|
1209
|
+
const queryParams = {
|
|
1210
|
+
}
|
|
1211
|
+
const headerParams = {
|
|
1212
|
+
}
|
|
1213
|
+
const formParams = {
|
|
1214
|
+
}
|
|
1183
1215
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1216
|
+
const contentTypes = []
|
|
1217
|
+
const accepts = ['application/json']
|
|
1218
|
+
const returnType = Shipment
|
|
1187
1219
|
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1220
|
+
return this.apiClient.callApi('FbaInboundApi-getShipment',
|
|
1221
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}', 'GET',
|
|
1222
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1223
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getShipment')
|
|
1224
|
+
)
|
|
1225
|
+
}
|
|
1194
1226
|
|
|
1195
|
-
|
|
1227
|
+
/**
|
|
1196
1228
|
* Provides the full details for a specific shipment within an inbound plan. The `transportationOptionId` inside `acceptedTransportationSelection` can be used to retrieve the transportation details for the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1197
1229
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1198
1230
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1199
1231
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/Shipment}
|
|
1200
1232
|
*/
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1233
|
+
getShipment (inboundPlanId, shipmentId) {
|
|
1234
|
+
return this.getShipmentWithHttpInfo(inboundPlanId, shipmentId)
|
|
1235
|
+
.then(function (response_and_data) {
|
|
1236
|
+
return response_and_data.data
|
|
1237
|
+
})
|
|
1238
|
+
}
|
|
1208
1239
|
|
|
1209
|
-
|
|
1240
|
+
/**
|
|
1210
1241
|
* Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 preceding table contains 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).
|
|
1211
1242
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1212
1243
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1213
1244
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
1214
1245
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview} and HTTP response
|
|
1215
1246
|
*/
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1247
|
+
getShipmentContentUpdatePreviewWithHttpInfo (inboundPlanId, shipmentId, contentUpdatePreviewId) {
|
|
1248
|
+
const postBody = null
|
|
1249
|
+
|
|
1250
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1251
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1252
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling getShipmentContentUpdatePreview")
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
// verify the required parameter 'shipmentId' is set
|
|
1256
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
1257
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling getShipmentContentUpdatePreview")
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
// verify the required parameter 'contentUpdatePreviewId' is set
|
|
1261
|
+
if (contentUpdatePreviewId === undefined || contentUpdatePreviewId === null) {
|
|
1262
|
+
throw new Error("Missing the required parameter 'contentUpdatePreviewId' when calling getShipmentContentUpdatePreview")
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
const pathParams = {
|
|
1266
|
+
inboundPlanId,
|
|
1267
|
+
shipmentId,
|
|
1268
|
+
contentUpdatePreviewId
|
|
1269
|
+
}
|
|
1270
|
+
const queryParams = {
|
|
1271
|
+
}
|
|
1272
|
+
const headerParams = {
|
|
1273
|
+
}
|
|
1274
|
+
const formParams = {
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
const contentTypes = []
|
|
1278
|
+
const accepts = ['application/json']
|
|
1279
|
+
const returnType = ContentUpdatePreview
|
|
1280
|
+
|
|
1281
|
+
return this.apiClient.callApi('FbaInboundApi-getShipmentContentUpdatePreview',
|
|
1282
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews/{contentUpdatePreviewId}', 'GET',
|
|
1283
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1284
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getShipmentContentUpdatePreview')
|
|
1285
|
+
)
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1259
1289
|
* Retrieve a shipment content update preview which provides a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 preceding table contains 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).
|
|
1260
1290
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1261
1291
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1262
1292
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
1263
1293
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview}
|
|
1264
1294
|
*/
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1295
|
+
getShipmentContentUpdatePreview (inboundPlanId, shipmentId, contentUpdatePreviewId) {
|
|
1296
|
+
return this.getShipmentContentUpdatePreviewWithHttpInfo(inboundPlanId, shipmentId, contentUpdatePreviewId)
|
|
1297
|
+
.then(function (response_and_data) {
|
|
1298
|
+
return response_and_data.data
|
|
1299
|
+
})
|
|
1300
|
+
}
|
|
1271
1301
|
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1302
|
+
/**
|
|
1274
1303
|
* Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available. **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 preceding table contains 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).
|
|
1275
1304
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1276
1305
|
* @param {String} shipmentId The shipment to get delivery window options for.
|
|
@@ -1279,46 +1308,45 @@ export class FbaInboundApi {
|
|
|
1279
1308
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1280
1309
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse} and HTTP response
|
|
1281
1310
|
*/
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1311
|
+
listDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
1312
|
+
opts = opts || {}
|
|
1313
|
+
const postBody = null
|
|
1314
|
+
|
|
1315
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1316
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1317
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listDeliveryWindowOptions")
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
// verify the required parameter 'shipmentId' is set
|
|
1321
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
1322
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling listDeliveryWindowOptions")
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
const pathParams = {
|
|
1326
|
+
inboundPlanId,
|
|
1327
|
+
shipmentId
|
|
1328
|
+
}
|
|
1329
|
+
const queryParams = {
|
|
1330
|
+
pageSize: opts.pageSize,
|
|
1331
|
+
paginationToken: opts.paginationToken
|
|
1332
|
+
}
|
|
1333
|
+
const headerParams = {
|
|
1334
|
+
}
|
|
1335
|
+
const formParams = {
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
const contentTypes = []
|
|
1339
|
+
const accepts = ['application/json']
|
|
1340
|
+
const returnType = ListDeliveryWindowOptionsResponse
|
|
1341
|
+
|
|
1342
|
+
return this.apiClient.callApi('FbaInboundApi-listDeliveryWindowOptions',
|
|
1343
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryWindowOptions', 'GET',
|
|
1344
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1345
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listDeliveryWindowOptions')
|
|
1346
|
+
)
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1322
1350
|
* Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the `generateDeliveryWindowOptions` operation before becoming available. **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 preceding table contains 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).
|
|
1323
1351
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1324
1352
|
* @param {String} shipmentId The shipment to get delivery window options for.
|
|
@@ -1327,15 +1355,14 @@ export class FbaInboundApi {
|
|
|
1327
1355
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1328
1356
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse}
|
|
1329
1357
|
*/
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1358
|
+
listDeliveryWindowOptions (inboundPlanId, shipmentId, opts) {
|
|
1359
|
+
return this.listDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
1360
|
+
.then(function (response_and_data) {
|
|
1361
|
+
return response_and_data.data
|
|
1362
|
+
})
|
|
1363
|
+
}
|
|
1336
1364
|
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1365
|
+
/**
|
|
1339
1366
|
* Provides a paginated list of box packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1340
1367
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1341
1368
|
* @param {Object} opts Optional parameters
|
|
@@ -1343,40 +1370,39 @@ export class FbaInboundApi {
|
|
|
1343
1370
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1344
1371
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse} and HTTP response
|
|
1345
1372
|
*/
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1351
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1352
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanBoxes");
|
|
1353
|
-
}
|
|
1373
|
+
listInboundPlanBoxesWithHttpInfo (inboundPlanId, opts) {
|
|
1374
|
+
opts = opts || {}
|
|
1375
|
+
const postBody = null
|
|
1354
1376
|
|
|
1377
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1378
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1379
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanBoxes")
|
|
1380
|
+
}
|
|
1355
1381
|
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1382
|
+
const pathParams = {
|
|
1383
|
+
inboundPlanId
|
|
1384
|
+
}
|
|
1385
|
+
const queryParams = {
|
|
1386
|
+
pageSize: opts.pageSize,
|
|
1387
|
+
paginationToken: opts.paginationToken
|
|
1388
|
+
}
|
|
1389
|
+
const headerParams = {
|
|
1390
|
+
}
|
|
1391
|
+
const formParams = {
|
|
1392
|
+
}
|
|
1367
1393
|
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1394
|
+
const contentTypes = []
|
|
1395
|
+
const accepts = ['application/json']
|
|
1396
|
+
const returnType = ListInboundPlanBoxesResponse
|
|
1371
1397
|
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1398
|
+
return this.apiClient.callApi('FbaInboundApi-listInboundPlanBoxes',
|
|
1399
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/boxes', 'GET',
|
|
1400
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1401
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanBoxes')
|
|
1402
|
+
)
|
|
1403
|
+
}
|
|
1378
1404
|
|
|
1379
|
-
|
|
1405
|
+
/**
|
|
1380
1406
|
* Provides a paginated list of box packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1381
1407
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1382
1408
|
* @param {Object} opts Optional parameters
|
|
@@ -1384,15 +1410,14 @@ export class FbaInboundApi {
|
|
|
1384
1410
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1385
1411
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse}
|
|
1386
1412
|
*/
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1413
|
+
listInboundPlanBoxes (inboundPlanId, opts) {
|
|
1414
|
+
return this.listInboundPlanBoxesWithHttpInfo(inboundPlanId, opts)
|
|
1415
|
+
.then(function (response_and_data) {
|
|
1416
|
+
return response_and_data.data
|
|
1417
|
+
})
|
|
1418
|
+
}
|
|
1393
1419
|
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1420
|
+
/**
|
|
1396
1421
|
* Provides a paginated list of item packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1397
1422
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1398
1423
|
* @param {Object} opts Optional parameters
|
|
@@ -1400,40 +1425,39 @@ export class FbaInboundApi {
|
|
|
1400
1425
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1401
1426
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse} and HTTP response
|
|
1402
1427
|
*/
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1408
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1409
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanItems");
|
|
1410
|
-
}
|
|
1428
|
+
listInboundPlanItemsWithHttpInfo (inboundPlanId, opts) {
|
|
1429
|
+
opts = opts || {}
|
|
1430
|
+
const postBody = null
|
|
1411
1431
|
|
|
1432
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1433
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1434
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanItems")
|
|
1435
|
+
}
|
|
1412
1436
|
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1437
|
+
const pathParams = {
|
|
1438
|
+
inboundPlanId
|
|
1439
|
+
}
|
|
1440
|
+
const queryParams = {
|
|
1441
|
+
pageSize: opts.pageSize,
|
|
1442
|
+
paginationToken: opts.paginationToken
|
|
1443
|
+
}
|
|
1444
|
+
const headerParams = {
|
|
1445
|
+
}
|
|
1446
|
+
const formParams = {
|
|
1447
|
+
}
|
|
1424
1448
|
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1449
|
+
const contentTypes = []
|
|
1450
|
+
const accepts = ['application/json']
|
|
1451
|
+
const returnType = ListInboundPlanItemsResponse
|
|
1428
1452
|
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1453
|
+
return this.apiClient.callApi('FbaInboundApi-listInboundPlanItems',
|
|
1454
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/items', 'GET',
|
|
1455
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1456
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanItems')
|
|
1457
|
+
)
|
|
1458
|
+
}
|
|
1435
1459
|
|
|
1436
|
-
|
|
1460
|
+
/**
|
|
1437
1461
|
* Provides a paginated list of item packages in an inbound plan. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1438
1462
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1439
1463
|
* @param {Object} opts Optional parameters
|
|
@@ -1441,15 +1465,14 @@ export class FbaInboundApi {
|
|
|
1441
1465
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1442
1466
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse}
|
|
1443
1467
|
*/
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1468
|
+
listInboundPlanItems (inboundPlanId, opts) {
|
|
1469
|
+
return this.listInboundPlanItemsWithHttpInfo(inboundPlanId, opts)
|
|
1470
|
+
.then(function (response_and_data) {
|
|
1471
|
+
return response_and_data.data
|
|
1472
|
+
})
|
|
1473
|
+
}
|
|
1451
1474
|
|
|
1452
|
-
|
|
1475
|
+
/**
|
|
1453
1476
|
* Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1454
1477
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1455
1478
|
* @param {Object} opts Optional parameters
|
|
@@ -1457,40 +1480,39 @@ export class FbaInboundApi {
|
|
|
1457
1480
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1458
1481
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse} and HTTP response
|
|
1459
1482
|
*/
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1465
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1466
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanPallets");
|
|
1467
|
-
}
|
|
1483
|
+
listInboundPlanPalletsWithHttpInfo (inboundPlanId, opts) {
|
|
1484
|
+
opts = opts || {}
|
|
1485
|
+
const postBody = null
|
|
1468
1486
|
|
|
1487
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1488
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1489
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanPallets")
|
|
1490
|
+
}
|
|
1469
1491
|
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1492
|
+
const pathParams = {
|
|
1493
|
+
inboundPlanId
|
|
1494
|
+
}
|
|
1495
|
+
const queryParams = {
|
|
1496
|
+
pageSize: opts.pageSize,
|
|
1497
|
+
paginationToken: opts.paginationToken
|
|
1498
|
+
}
|
|
1499
|
+
const headerParams = {
|
|
1500
|
+
}
|
|
1501
|
+
const formParams = {
|
|
1502
|
+
}
|
|
1481
1503
|
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1504
|
+
const contentTypes = []
|
|
1505
|
+
const accepts = ['application/json']
|
|
1506
|
+
const returnType = ListInboundPlanPalletsResponse
|
|
1485
1507
|
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1508
|
+
return this.apiClient.callApi('FbaInboundApi-listInboundPlanPallets',
|
|
1509
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/pallets', 'GET',
|
|
1510
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1511
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanPallets')
|
|
1512
|
+
)
|
|
1513
|
+
}
|
|
1492
1514
|
|
|
1493
|
-
|
|
1515
|
+
/**
|
|
1494
1516
|
* Provides a paginated list of pallet packages in an inbound plan. An inbound plan will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1495
1517
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1496
1518
|
* @param {Object} opts Optional parameters
|
|
@@ -1498,15 +1520,14 @@ export class FbaInboundApi {
|
|
|
1498
1520
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1499
1521
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse}
|
|
1500
1522
|
*/
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1523
|
+
listInboundPlanPallets (inboundPlanId, opts) {
|
|
1524
|
+
return this.listInboundPlanPalletsWithHttpInfo(inboundPlanId, opts)
|
|
1525
|
+
.then(function (response_and_data) {
|
|
1526
|
+
return response_and_data.data
|
|
1527
|
+
})
|
|
1528
|
+
}
|
|
1507
1529
|
|
|
1508
|
-
|
|
1509
|
-
/**
|
|
1530
|
+
/**
|
|
1510
1531
|
* Provides a list of inbound plans with minimal information. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1511
1532
|
* @param {Object} opts Optional parameters
|
|
1512
1533
|
* @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
|
|
@@ -1516,37 +1537,36 @@ export class FbaInboundApi {
|
|
|
1516
1537
|
* @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
|
|
1517
1538
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse} and HTTP response
|
|
1518
1539
|
*/
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1540
|
+
listInboundPlansWithHttpInfo (opts) {
|
|
1541
|
+
opts = opts || {}
|
|
1542
|
+
const postBody = null
|
|
1543
|
+
|
|
1544
|
+
const pathParams = {
|
|
1545
|
+
}
|
|
1546
|
+
const queryParams = {
|
|
1547
|
+
pageSize: opts.pageSize,
|
|
1548
|
+
paginationToken: opts.paginationToken,
|
|
1549
|
+
status: opts.status,
|
|
1550
|
+
sortBy: opts.sortBy,
|
|
1551
|
+
sortOrder: opts.sortOrder
|
|
1552
|
+
}
|
|
1553
|
+
const headerParams = {
|
|
1554
|
+
}
|
|
1555
|
+
const formParams = {
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
const contentTypes = []
|
|
1559
|
+
const accepts = ['application/json']
|
|
1560
|
+
const returnType = ListInboundPlansResponse
|
|
1561
|
+
|
|
1562
|
+
return this.apiClient.callApi('FbaInboundApi-listInboundPlans',
|
|
1563
|
+
'/inbound/fba/2024-03-20/inboundPlans', 'GET',
|
|
1564
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1565
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlans')
|
|
1566
|
+
)
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1550
1570
|
* Provides a list of inbound plans with minimal information. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1551
1571
|
* @param {Object} opts Optional parameters
|
|
1552
1572
|
* @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
|
|
@@ -1556,71 +1576,68 @@ export class FbaInboundApi {
|
|
|
1556
1576
|
* @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
|
|
1557
1577
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse}
|
|
1558
1578
|
*/
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1579
|
+
listInboundPlans (opts) {
|
|
1580
|
+
return this.listInboundPlansWithHttpInfo(opts)
|
|
1581
|
+
.then(function (response_and_data) {
|
|
1582
|
+
return response_and_data.data
|
|
1583
|
+
})
|
|
1584
|
+
}
|
|
1565
1585
|
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1586
|
+
/**
|
|
1568
1587
|
* List the inbound compliance details for MSKUs in a given marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1569
1588
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1570
1589
|
* @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
1571
1590
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse} and HTTP response
|
|
1572
1591
|
*/
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
// verify the required parameter 'mskus' is set
|
|
1577
|
-
if (mskus === undefined || mskus === null) {
|
|
1578
|
-
throw new Error("Missing the required parameter 'mskus' when calling listItemComplianceDetails");
|
|
1579
|
-
}
|
|
1592
|
+
listItemComplianceDetailsWithHttpInfo (mskus, marketplaceId) {
|
|
1593
|
+
const postBody = null
|
|
1580
1594
|
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1595
|
+
// verify the required parameter 'mskus' is set
|
|
1596
|
+
if (mskus === undefined || mskus === null) {
|
|
1597
|
+
throw new Error("Missing the required parameter 'mskus' when calling listItemComplianceDetails")
|
|
1598
|
+
}
|
|
1585
1599
|
|
|
1600
|
+
// verify the required parameter 'marketplaceId' is set
|
|
1601
|
+
if (marketplaceId === undefined || marketplaceId === null) {
|
|
1602
|
+
throw new Error("Missing the required parameter 'marketplaceId' when calling listItemComplianceDetails")
|
|
1603
|
+
}
|
|
1586
1604
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1605
|
+
const pathParams = {
|
|
1606
|
+
}
|
|
1607
|
+
const queryParams = {
|
|
1608
|
+
mskus: this.apiClient.buildCollectionParam(mskus, 'multi'),
|
|
1609
|
+
marketplaceId
|
|
1610
|
+
}
|
|
1611
|
+
const headerParams = {
|
|
1612
|
+
}
|
|
1613
|
+
const formParams = {
|
|
1614
|
+
}
|
|
1597
1615
|
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1616
|
+
const contentTypes = []
|
|
1617
|
+
const accepts = ['application/json']
|
|
1618
|
+
const returnType = ListItemComplianceDetailsResponse
|
|
1601
1619
|
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1620
|
+
return this.apiClient.callApi('FbaInboundApi-listItemComplianceDetails',
|
|
1621
|
+
'/inbound/fba/2024-03-20/items/compliance', 'GET',
|
|
1622
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1623
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listItemComplianceDetails')
|
|
1624
|
+
)
|
|
1625
|
+
}
|
|
1608
1626
|
|
|
1609
|
-
|
|
1627
|
+
/**
|
|
1610
1628
|
* List the inbound compliance details for MSKUs in a given marketplace. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1611
1629
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1612
1630
|
* @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
1613
1631
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse}
|
|
1614
1632
|
*/
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1633
|
+
listItemComplianceDetails (mskus, marketplaceId) {
|
|
1634
|
+
return this.listItemComplianceDetailsWithHttpInfo(mskus, marketplaceId)
|
|
1635
|
+
.then(function (response_and_data) {
|
|
1636
|
+
return response_and_data.data
|
|
1637
|
+
})
|
|
1638
|
+
}
|
|
1621
1639
|
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1640
|
+
/**
|
|
1624
1641
|
* Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits. **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 preceding table contains 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).
|
|
1625
1642
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1626
1643
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1629,46 +1646,45 @@ export class FbaInboundApi {
|
|
|
1629
1646
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1630
1647
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse} and HTTP response
|
|
1631
1648
|
*/
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1649
|
+
listPackingGroupBoxesWithHttpInfo (inboundPlanId, packingGroupId, opts) {
|
|
1650
|
+
opts = opts || {}
|
|
1651
|
+
const postBody = null
|
|
1652
|
+
|
|
1653
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1654
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1655
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupBoxes")
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
// verify the required parameter 'packingGroupId' is set
|
|
1659
|
+
if (packingGroupId === undefined || packingGroupId === null) {
|
|
1660
|
+
throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupBoxes")
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
const pathParams = {
|
|
1664
|
+
inboundPlanId,
|
|
1665
|
+
packingGroupId
|
|
1666
|
+
}
|
|
1667
|
+
const queryParams = {
|
|
1668
|
+
pageSize: opts.pageSize,
|
|
1669
|
+
paginationToken: opts.paginationToken
|
|
1670
|
+
}
|
|
1671
|
+
const headerParams = {
|
|
1672
|
+
}
|
|
1673
|
+
const formParams = {
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
const contentTypes = []
|
|
1677
|
+
const accepts = ['application/json']
|
|
1678
|
+
const returnType = ListPackingGroupBoxesResponse
|
|
1679
|
+
|
|
1680
|
+
return this.apiClient.callApi('FbaInboundApi-listPackingGroupBoxes',
|
|
1681
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/boxes', 'GET',
|
|
1682
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1683
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingGroupBoxes')
|
|
1684
|
+
)
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1672
1688
|
* Retrieves a page of boxes from a given packing group. These boxes were previously provided through the `setPackingInformation` operation. This API is used for workflows where boxes are packed before Amazon determines shipment splits. **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 preceding table contains 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).
|
|
1673
1689
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1674
1690
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1677,15 +1693,14 @@ export class FbaInboundApi {
|
|
|
1677
1693
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1678
1694
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse}
|
|
1679
1695
|
*/
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1696
|
+
listPackingGroupBoxes (inboundPlanId, packingGroupId, opts) {
|
|
1697
|
+
return this.listPackingGroupBoxesWithHttpInfo(inboundPlanId, packingGroupId, opts)
|
|
1698
|
+
.then(function (response_and_data) {
|
|
1699
|
+
return response_and_data.data
|
|
1700
|
+
})
|
|
1701
|
+
}
|
|
1686
1702
|
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1703
|
+
/**
|
|
1689
1704
|
* Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed. **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 preceding table contains 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).
|
|
1690
1705
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1691
1706
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1694,46 +1709,45 @@ export class FbaInboundApi {
|
|
|
1694
1709
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1695
1710
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse} and HTTP response
|
|
1696
1711
|
*/
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
/**
|
|
1712
|
+
listPackingGroupItemsWithHttpInfo (inboundPlanId, packingGroupId, opts) {
|
|
1713
|
+
opts = opts || {}
|
|
1714
|
+
const postBody = null
|
|
1715
|
+
|
|
1716
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1717
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1718
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingGroupItems")
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
// verify the required parameter 'packingGroupId' is set
|
|
1722
|
+
if (packingGroupId === undefined || packingGroupId === null) {
|
|
1723
|
+
throw new Error("Missing the required parameter 'packingGroupId' when calling listPackingGroupItems")
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
const pathParams = {
|
|
1727
|
+
inboundPlanId,
|
|
1728
|
+
packingGroupId
|
|
1729
|
+
}
|
|
1730
|
+
const queryParams = {
|
|
1731
|
+
pageSize: opts.pageSize,
|
|
1732
|
+
paginationToken: opts.paginationToken
|
|
1733
|
+
}
|
|
1734
|
+
const headerParams = {
|
|
1735
|
+
}
|
|
1736
|
+
const formParams = {
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
const contentTypes = []
|
|
1740
|
+
const accepts = ['application/json']
|
|
1741
|
+
const returnType = ListPackingGroupItemsResponse
|
|
1742
|
+
|
|
1743
|
+
return this.apiClient.callApi('FbaInboundApi-listPackingGroupItems',
|
|
1744
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingGroups/{packingGroupId}/items', 'GET',
|
|
1745
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1746
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingGroupItems')
|
|
1747
|
+
)
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1737
1751
|
* Retrieves a page of items in a given packing group. Packing options must first be generated by the corresponding operation before packing group items can be listed. **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 preceding table contains 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).
|
|
1738
1752
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1739
1753
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1742,15 +1756,14 @@ export class FbaInboundApi {
|
|
|
1742
1756
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1743
1757
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse}
|
|
1744
1758
|
*/
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1759
|
+
listPackingGroupItems (inboundPlanId, packingGroupId, opts) {
|
|
1760
|
+
return this.listPackingGroupItemsWithHttpInfo(inboundPlanId, packingGroupId, opts)
|
|
1761
|
+
.then(function (response_and_data) {
|
|
1762
|
+
return response_and_data.data
|
|
1763
|
+
})
|
|
1764
|
+
}
|
|
1752
1765
|
|
|
1753
|
-
|
|
1766
|
+
/**
|
|
1754
1767
|
* Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1755
1768
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1756
1769
|
* @param {Object} opts Optional parameters
|
|
@@ -1758,40 +1771,39 @@ export class FbaInboundApi {
|
|
|
1758
1771
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1759
1772
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse} and HTTP response
|
|
1760
1773
|
*/
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1766
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1767
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingOptions");
|
|
1768
|
-
}
|
|
1774
|
+
listPackingOptionsWithHttpInfo (inboundPlanId, opts) {
|
|
1775
|
+
opts = opts || {}
|
|
1776
|
+
const postBody = null
|
|
1769
1777
|
|
|
1778
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1779
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1780
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingOptions")
|
|
1781
|
+
}
|
|
1770
1782
|
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1783
|
+
const pathParams = {
|
|
1784
|
+
inboundPlanId
|
|
1785
|
+
}
|
|
1786
|
+
const queryParams = {
|
|
1787
|
+
pageSize: opts.pageSize,
|
|
1788
|
+
paginationToken: opts.paginationToken
|
|
1789
|
+
}
|
|
1790
|
+
const headerParams = {
|
|
1791
|
+
}
|
|
1792
|
+
const formParams = {
|
|
1793
|
+
}
|
|
1782
1794
|
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1795
|
+
const contentTypes = []
|
|
1796
|
+
const accepts = ['application/json']
|
|
1797
|
+
const returnType = ListPackingOptionsResponse
|
|
1786
1798
|
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1799
|
+
return this.apiClient.callApi('FbaInboundApi-listPackingOptions',
|
|
1800
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingOptions', 'GET',
|
|
1801
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1802
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPackingOptions')
|
|
1803
|
+
)
|
|
1804
|
+
}
|
|
1793
1805
|
|
|
1794
|
-
|
|
1806
|
+
/**
|
|
1795
1807
|
* Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1796
1808
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1797
1809
|
* @param {Object} opts Optional parameters
|
|
@@ -1799,15 +1811,14 @@ export class FbaInboundApi {
|
|
|
1799
1811
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1800
1812
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse}
|
|
1801
1813
|
*/
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1814
|
+
listPackingOptions (inboundPlanId, opts) {
|
|
1815
|
+
return this.listPackingOptionsWithHttpInfo(inboundPlanId, opts)
|
|
1816
|
+
.then(function (response_and_data) {
|
|
1817
|
+
return response_and_data.data
|
|
1818
|
+
})
|
|
1819
|
+
}
|
|
1808
1820
|
|
|
1809
|
-
|
|
1810
|
-
/**
|
|
1821
|
+
/**
|
|
1811
1822
|
* Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1812
1823
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1813
1824
|
* @param {Object} opts Optional parameters
|
|
@@ -1815,40 +1826,39 @@ export class FbaInboundApi {
|
|
|
1815
1826
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1816
1827
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse} and HTTP response
|
|
1817
1828
|
*/
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1823
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1824
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPlacementOptions");
|
|
1825
|
-
}
|
|
1829
|
+
listPlacementOptionsWithHttpInfo (inboundPlanId, opts) {
|
|
1830
|
+
opts = opts || {}
|
|
1831
|
+
const postBody = null
|
|
1826
1832
|
|
|
1833
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1834
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1835
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPlacementOptions")
|
|
1836
|
+
}
|
|
1827
1837
|
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1838
|
+
const pathParams = {
|
|
1839
|
+
inboundPlanId
|
|
1840
|
+
}
|
|
1841
|
+
const queryParams = {
|
|
1842
|
+
pageSize: opts.pageSize,
|
|
1843
|
+
paginationToken: opts.paginationToken
|
|
1844
|
+
}
|
|
1845
|
+
const headerParams = {
|
|
1846
|
+
}
|
|
1847
|
+
const formParams = {
|
|
1848
|
+
}
|
|
1839
1849
|
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1850
|
+
const contentTypes = []
|
|
1851
|
+
const accepts = ['application/json']
|
|
1852
|
+
const returnType = ListPlacementOptionsResponse
|
|
1843
1853
|
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1854
|
+
return this.apiClient.callApi('FbaInboundApi-listPlacementOptions',
|
|
1855
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/placementOptions', 'GET',
|
|
1856
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1857
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPlacementOptions')
|
|
1858
|
+
)
|
|
1859
|
+
}
|
|
1850
1860
|
|
|
1851
|
-
|
|
1861
|
+
/**
|
|
1852
1862
|
* Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
1853
1863
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1854
1864
|
* @param {Object} opts Optional parameters
|
|
@@ -1856,71 +1866,68 @@ export class FbaInboundApi {
|
|
|
1856
1866
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1857
1867
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse}
|
|
1858
1868
|
*/
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1869
|
+
listPlacementOptions (inboundPlanId, opts) {
|
|
1870
|
+
return this.listPlacementOptionsWithHttpInfo(inboundPlanId, opts)
|
|
1871
|
+
.then(function (response_and_data) {
|
|
1872
|
+
return response_and_data.data
|
|
1873
|
+
})
|
|
1874
|
+
}
|
|
1866
1875
|
|
|
1867
|
-
|
|
1876
|
+
/**
|
|
1868
1877
|
* Get preparation details for a list of MSKUs in a specified marketplace. **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 preceding table contains 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).
|
|
1869
1878
|
* @param {String} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
1870
1879
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1871
1880
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse} and HTTP response
|
|
1872
1881
|
*/
|
|
1873
|
-
|
|
1874
|
-
|
|
1882
|
+
listPrepDetailsWithHttpInfo (marketplaceId, mskus) {
|
|
1883
|
+
const postBody = null
|
|
1875
1884
|
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
// verify the required parameter 'mskus' is set
|
|
1882
|
-
if (mskus === undefined || mskus === null) {
|
|
1883
|
-
throw new Error("Missing the required parameter 'mskus' when calling listPrepDetails");
|
|
1884
|
-
}
|
|
1885
|
+
// verify the required parameter 'marketplaceId' is set
|
|
1886
|
+
if (marketplaceId === undefined || marketplaceId === null) {
|
|
1887
|
+
throw new Error("Missing the required parameter 'marketplaceId' when calling listPrepDetails")
|
|
1888
|
+
}
|
|
1885
1889
|
|
|
1890
|
+
// verify the required parameter 'mskus' is set
|
|
1891
|
+
if (mskus === undefined || mskus === null) {
|
|
1892
|
+
throw new Error("Missing the required parameter 'mskus' when calling listPrepDetails")
|
|
1893
|
+
}
|
|
1886
1894
|
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1895
|
+
const pathParams = {
|
|
1896
|
+
}
|
|
1897
|
+
const queryParams = {
|
|
1898
|
+
marketplaceId,
|
|
1899
|
+
mskus: this.apiClient.buildCollectionParam(mskus, 'multi')
|
|
1900
|
+
}
|
|
1901
|
+
const headerParams = {
|
|
1902
|
+
}
|
|
1903
|
+
const formParams = {
|
|
1904
|
+
}
|
|
1897
1905
|
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1906
|
+
const contentTypes = []
|
|
1907
|
+
const accepts = ['application/json']
|
|
1908
|
+
const returnType = ListPrepDetailsResponse
|
|
1901
1909
|
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1910
|
+
return this.apiClient.callApi('FbaInboundApi-listPrepDetails',
|
|
1911
|
+
'/inbound/fba/2024-03-20/items/prepDetails', 'GET',
|
|
1912
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1913
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listPrepDetails')
|
|
1914
|
+
)
|
|
1915
|
+
}
|
|
1908
1916
|
|
|
1909
|
-
|
|
1917
|
+
/**
|
|
1910
1918
|
* Get preparation details for a list of MSKUs in a specified marketplace. **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 preceding table contains 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).
|
|
1911
1919
|
* @param {String} marketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
1912
1920
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1913
1921
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse}
|
|
1914
1922
|
*/
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1923
|
+
listPrepDetails (marketplaceId, mskus) {
|
|
1924
|
+
return this.listPrepDetailsWithHttpInfo(marketplaceId, mskus)
|
|
1925
|
+
.then(function (response_and_data) {
|
|
1926
|
+
return response_and_data.data
|
|
1927
|
+
})
|
|
1928
|
+
}
|
|
1921
1929
|
|
|
1922
|
-
|
|
1923
|
-
/**
|
|
1930
|
+
/**
|
|
1924
1931
|
* Provides a paginated list of box packages in a shipment. **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 preceding table contains 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).
|
|
1925
1932
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1926
1933
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -1929,46 +1936,45 @@ export class FbaInboundApi {
|
|
|
1929
1936
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1930
1937
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse} and HTTP response
|
|
1931
1938
|
*/
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
/**
|
|
1939
|
+
listShipmentBoxesWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
1940
|
+
opts = opts || {}
|
|
1941
|
+
const postBody = null
|
|
1942
|
+
|
|
1943
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
1944
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1945
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentBoxes")
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
// verify the required parameter 'shipmentId' is set
|
|
1949
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
1950
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentBoxes")
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
const pathParams = {
|
|
1954
|
+
inboundPlanId,
|
|
1955
|
+
shipmentId
|
|
1956
|
+
}
|
|
1957
|
+
const queryParams = {
|
|
1958
|
+
pageSize: opts.pageSize,
|
|
1959
|
+
paginationToken: opts.paginationToken
|
|
1960
|
+
}
|
|
1961
|
+
const headerParams = {
|
|
1962
|
+
}
|
|
1963
|
+
const formParams = {
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
const contentTypes = []
|
|
1967
|
+
const accepts = ['application/json']
|
|
1968
|
+
const returnType = ListShipmentBoxesResponse
|
|
1969
|
+
|
|
1970
|
+
return this.apiClient.callApi('FbaInboundApi-listShipmentBoxes',
|
|
1971
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/boxes', 'GET',
|
|
1972
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1973
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentBoxes')
|
|
1974
|
+
)
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1972
1978
|
* Provides a paginated list of box packages in a shipment. **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 preceding table contains 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).
|
|
1973
1979
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1974
1980
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -1977,15 +1983,14 @@ export class FbaInboundApi {
|
|
|
1977
1983
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1978
1984
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse}
|
|
1979
1985
|
*/
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
+
listShipmentBoxes (inboundPlanId, shipmentId, opts) {
|
|
1987
|
+
return this.listShipmentBoxesWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
1988
|
+
.then(function (response_and_data) {
|
|
1989
|
+
return response_and_data.data
|
|
1990
|
+
})
|
|
1991
|
+
}
|
|
1986
1992
|
|
|
1987
|
-
|
|
1988
|
-
/**
|
|
1993
|
+
/**
|
|
1989
1994
|
* Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 preceding table contains 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).
|
|
1990
1995
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1991
1996
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -1994,46 +1999,45 @@ export class FbaInboundApi {
|
|
|
1994
1999
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
1995
2000
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse} and HTTP response
|
|
1996
2001
|
*/
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
/**
|
|
2002
|
+
listShipmentContentUpdatePreviewsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
2003
|
+
opts = opts || {}
|
|
2004
|
+
const postBody = null
|
|
2005
|
+
|
|
2006
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2007
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2008
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentContentUpdatePreviews")
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
// verify the required parameter 'shipmentId' is set
|
|
2012
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2013
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentContentUpdatePreviews")
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
const pathParams = {
|
|
2017
|
+
inboundPlanId,
|
|
2018
|
+
shipmentId
|
|
2019
|
+
}
|
|
2020
|
+
const queryParams = {
|
|
2021
|
+
pageSize: opts.pageSize,
|
|
2022
|
+
paginationToken: opts.paginationToken
|
|
2023
|
+
}
|
|
2024
|
+
const headerParams = {
|
|
2025
|
+
}
|
|
2026
|
+
const formParams = {
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
const contentTypes = []
|
|
2030
|
+
const accepts = ['application/json']
|
|
2031
|
+
const returnType = ListShipmentContentUpdatePreviewsResponse
|
|
2032
|
+
|
|
2033
|
+
return this.apiClient.callApi('FbaInboundApi-listShipmentContentUpdatePreviews',
|
|
2034
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/contentUpdatePreviews', 'GET',
|
|
2035
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2036
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentContentUpdatePreviews')
|
|
2037
|
+
)
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2037
2041
|
* Retrieve a paginated list of shipment content update previews for a given shipment. The shipment content update preview is a summary of the requested shipment content changes along with the transportation cost implications of the change that can only be confirmed prior to the expiry date specified. **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 preceding table contains 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).
|
|
2038
2042
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2039
2043
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2042,15 +2046,14 @@ export class FbaInboundApi {
|
|
|
2042
2046
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
2043
2047
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse}
|
|
2044
2048
|
*/
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2049
|
+
listShipmentContentUpdatePreviews (inboundPlanId, shipmentId, opts) {
|
|
2050
|
+
return this.listShipmentContentUpdatePreviewsWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
2051
|
+
.then(function (response_and_data) {
|
|
2052
|
+
return response_and_data.data
|
|
2053
|
+
})
|
|
2054
|
+
}
|
|
2052
2055
|
|
|
2053
|
-
|
|
2056
|
+
/**
|
|
2054
2057
|
* Provides a paginated list of item packages in a shipment. **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 preceding table contains 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).
|
|
2055
2058
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2056
2059
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2059,46 +2062,45 @@ export class FbaInboundApi {
|
|
|
2059
2062
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
2060
2063
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse} and HTTP response
|
|
2061
2064
|
*/
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
/**
|
|
2065
|
+
listShipmentItemsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
2066
|
+
opts = opts || {}
|
|
2067
|
+
const postBody = null
|
|
2068
|
+
|
|
2069
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2070
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2071
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentItems")
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
// verify the required parameter 'shipmentId' is set
|
|
2075
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2076
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentItems")
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
const pathParams = {
|
|
2080
|
+
inboundPlanId,
|
|
2081
|
+
shipmentId
|
|
2082
|
+
}
|
|
2083
|
+
const queryParams = {
|
|
2084
|
+
pageSize: opts.pageSize,
|
|
2085
|
+
paginationToken: opts.paginationToken
|
|
2086
|
+
}
|
|
2087
|
+
const headerParams = {
|
|
2088
|
+
}
|
|
2089
|
+
const formParams = {
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
const contentTypes = []
|
|
2093
|
+
const accepts = ['application/json']
|
|
2094
|
+
const returnType = ListShipmentItemsResponse
|
|
2095
|
+
|
|
2096
|
+
return this.apiClient.callApi('FbaInboundApi-listShipmentItems',
|
|
2097
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/items', 'GET',
|
|
2098
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2099
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentItems')
|
|
2100
|
+
)
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2102
2104
|
* Provides a paginated list of item packages in a shipment. **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 preceding table contains 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).
|
|
2103
2105
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2104
2106
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2107,15 +2109,14 @@ export class FbaInboundApi {
|
|
|
2107
2109
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
2108
2110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse}
|
|
2109
2111
|
*/
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2112
|
+
listShipmentItems (inboundPlanId, shipmentId, opts) {
|
|
2113
|
+
return this.listShipmentItemsWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
2114
|
+
.then(function (response_and_data) {
|
|
2115
|
+
return response_and_data.data
|
|
2116
|
+
})
|
|
2117
|
+
}
|
|
2117
2118
|
|
|
2118
|
-
|
|
2119
|
+
/**
|
|
2119
2120
|
* Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **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 preceding table contains 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).
|
|
2120
2121
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2121
2122
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2124,46 +2125,45 @@ export class FbaInboundApi {
|
|
|
2124
2125
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
2125
2126
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse} and HTTP response
|
|
2126
2127
|
*/
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
/**
|
|
2128
|
+
listShipmentPalletsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
2129
|
+
opts = opts || {}
|
|
2130
|
+
const postBody = null
|
|
2131
|
+
|
|
2132
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2133
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2134
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listShipmentPallets")
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
// verify the required parameter 'shipmentId' is set
|
|
2138
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2139
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling listShipmentPallets")
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
const pathParams = {
|
|
2143
|
+
inboundPlanId,
|
|
2144
|
+
shipmentId
|
|
2145
|
+
}
|
|
2146
|
+
const queryParams = {
|
|
2147
|
+
pageSize: opts.pageSize,
|
|
2148
|
+
paginationToken: opts.paginationToken
|
|
2149
|
+
}
|
|
2150
|
+
const headerParams = {
|
|
2151
|
+
}
|
|
2152
|
+
const formParams = {
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
const contentTypes = []
|
|
2156
|
+
const accepts = ['application/json']
|
|
2157
|
+
const returnType = ListShipmentPalletsResponse
|
|
2158
|
+
|
|
2159
|
+
return this.apiClient.callApi('FbaInboundApi-listShipmentPallets',
|
|
2160
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/pallets', 'GET',
|
|
2161
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2162
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listShipmentPallets')
|
|
2163
|
+
)
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
2167
|
* Provides a paginated list of pallet packages in a shipment. A palletized shipment will have pallets when the related details are provided after generating Less-Than-Truckload (LTL) carrier shipments. **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 preceding table contains 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).
|
|
2168
2168
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2169
2169
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2172,15 +2172,14 @@ export class FbaInboundApi {
|
|
|
2172
2172
|
* @param {String} opts.paginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
|
|
2173
2173
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse}
|
|
2174
2174
|
*/
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2175
|
+
listShipmentPallets (inboundPlanId, shipmentId, opts) {
|
|
2176
|
+
return this.listShipmentPalletsWithHttpInfo(inboundPlanId, shipmentId, opts)
|
|
2177
|
+
.then(function (response_and_data) {
|
|
2178
|
+
return response_and_data.data
|
|
2179
|
+
})
|
|
2180
|
+
}
|
|
2182
2181
|
|
|
2183
|
-
|
|
2182
|
+
/**
|
|
2184
2183
|
* Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2185
2184
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2186
2185
|
* @param {Object} opts Optional parameters
|
|
@@ -2190,42 +2189,41 @@ export class FbaInboundApi {
|
|
|
2190
2189
|
* @param {String} opts.shipmentId The shipment to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
|
|
2191
2190
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse} and HTTP response
|
|
2192
2191
|
*/
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
/**
|
|
2192
|
+
listTransportationOptionsWithHttpInfo (inboundPlanId, opts) {
|
|
2193
|
+
opts = opts || {}
|
|
2194
|
+
const postBody = null
|
|
2195
|
+
|
|
2196
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2197
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2198
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling listTransportationOptions")
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
const pathParams = {
|
|
2202
|
+
inboundPlanId
|
|
2203
|
+
}
|
|
2204
|
+
const queryParams = {
|
|
2205
|
+
pageSize: opts.pageSize,
|
|
2206
|
+
paginationToken: opts.paginationToken,
|
|
2207
|
+
placementOptionId: opts.placementOptionId,
|
|
2208
|
+
shipmentId: opts.shipmentId
|
|
2209
|
+
}
|
|
2210
|
+
const headerParams = {
|
|
2211
|
+
}
|
|
2212
|
+
const formParams = {
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
const contentTypes = []
|
|
2216
|
+
const accepts = ['application/json']
|
|
2217
|
+
const returnType = ListTransportationOptionsResponse
|
|
2218
|
+
|
|
2219
|
+
return this.apiClient.callApi('FbaInboundApi-listTransportationOptions',
|
|
2220
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/transportationOptions', 'GET',
|
|
2221
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2222
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listTransportationOptions')
|
|
2223
|
+
)
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2229
2227
|
* Retrieves all transportation options for a shipment. Transportation options must first be generated by the `generateTransportationOptions` operation before becoming available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2230
2228
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2231
2229
|
* @param {Object} opts Optional parameters
|
|
@@ -2235,484 +2233,466 @@ export class FbaInboundApi {
|
|
|
2235
2233
|
* @param {String} opts.shipmentId The shipment to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
|
|
2236
2234
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse}
|
|
2237
2235
|
*/
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2236
|
+
listTransportationOptions (inboundPlanId, opts) {
|
|
2237
|
+
return this.listTransportationOptionsWithHttpInfo(inboundPlanId, opts)
|
|
2238
|
+
.then(function (response_and_data) {
|
|
2239
|
+
return response_and_data.data
|
|
2240
|
+
})
|
|
2241
|
+
}
|
|
2245
2242
|
|
|
2246
|
-
|
|
2247
|
-
* Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
2243
|
+
/**
|
|
2244
|
+
* Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
2248
2245
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2249
2246
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2250
2247
|
* @param {String} slotId An identifier to a self-ship appointment slot.
|
|
2251
2248
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to `scheduleSelfShipAppointment`.
|
|
2252
2249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse} and HTTP response
|
|
2253
2250
|
*/
|
|
2254
|
-
|
|
2255
|
-
|
|
2251
|
+
scheduleSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, slotId, body) {
|
|
2252
|
+
const postBody = body
|
|
2256
2253
|
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
// verify the required parameter 'shipmentId' is set
|
|
2263
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
2264
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling scheduleSelfShipAppointment");
|
|
2265
|
-
}
|
|
2254
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2255
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2256
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling scheduleSelfShipAppointment")
|
|
2257
|
+
}
|
|
2266
2258
|
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2259
|
+
// verify the required parameter 'shipmentId' is set
|
|
2260
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2261
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling scheduleSelfShipAppointment")
|
|
2262
|
+
}
|
|
2271
2263
|
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2264
|
+
// verify the required parameter 'slotId' is set
|
|
2265
|
+
if (slotId === undefined || slotId === null) {
|
|
2266
|
+
throw new Error("Missing the required parameter 'slotId' when calling scheduleSelfShipAppointment")
|
|
2267
|
+
}
|
|
2276
2268
|
|
|
2269
|
+
// verify the required parameter 'body' is set
|
|
2270
|
+
if (body === undefined || body === null) {
|
|
2271
|
+
throw new Error("Missing the required parameter 'body' when calling scheduleSelfShipAppointment")
|
|
2272
|
+
}
|
|
2277
2273
|
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2274
|
+
const pathParams = {
|
|
2275
|
+
inboundPlanId,
|
|
2276
|
+
shipmentId,
|
|
2277
|
+
slotId
|
|
2278
|
+
}
|
|
2279
|
+
const queryParams = {
|
|
2280
|
+
}
|
|
2281
|
+
const headerParams = {
|
|
2282
|
+
}
|
|
2283
|
+
const formParams = {
|
|
2284
|
+
}
|
|
2289
2285
|
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2286
|
+
const contentTypes = ['application/json']
|
|
2287
|
+
const accepts = ['application/json']
|
|
2288
|
+
const returnType = ScheduleSelfShipAppointmentResponse
|
|
2293
2289
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2290
|
+
return this.apiClient.callApi('FbaInboundApi-scheduleSelfShipAppointment',
|
|
2291
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/selfShipAppointmentSlots/{slotId}/schedule', 'POST',
|
|
2292
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2293
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-scheduleSelfShipAppointment')
|
|
2294
|
+
)
|
|
2295
|
+
}
|
|
2300
2296
|
|
|
2301
|
-
|
|
2302
|
-
* Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
2297
|
+
/**
|
|
2298
|
+
* Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following [marketplaces](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids): MX, BR, EG, SA, AE, IN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 see 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).
|
|
2303
2299
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2304
2300
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2305
2301
|
* @param {String} slotId An identifier to a self-ship appointment slot.
|
|
2306
2302
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to `scheduleSelfShipAppointment`.
|
|
2307
2303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse}
|
|
2308
2304
|
*/
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2305
|
+
scheduleSelfShipAppointment (inboundPlanId, shipmentId, slotId, body) {
|
|
2306
|
+
return this.scheduleSelfShipAppointmentWithHttpInfo(inboundPlanId, shipmentId, slotId, body)
|
|
2307
|
+
.then(function (response_and_data) {
|
|
2308
|
+
return response_and_data.data
|
|
2309
|
+
})
|
|
2310
|
+
}
|
|
2316
2311
|
|
|
2317
|
-
|
|
2312
|
+
/**
|
|
2318
2313
|
* Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2319
2314
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2320
2315
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to `setPackingInformation`.
|
|
2321
2316
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse} and HTTP response
|
|
2322
2317
|
*/
|
|
2323
|
-
|
|
2324
|
-
|
|
2318
|
+
setPackingInformationWithHttpInfo (inboundPlanId, body) {
|
|
2319
|
+
const postBody = body
|
|
2325
2320
|
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
// verify the required parameter 'body' is set
|
|
2332
|
-
if (body === undefined || body === null) {
|
|
2333
|
-
throw new Error("Missing the required parameter 'body' when calling setPackingInformation");
|
|
2334
|
-
}
|
|
2321
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2322
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2323
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling setPackingInformation")
|
|
2324
|
+
}
|
|
2335
2325
|
|
|
2326
|
+
// verify the required parameter 'body' is set
|
|
2327
|
+
if (body === undefined || body === null) {
|
|
2328
|
+
throw new Error("Missing the required parameter 'body' when calling setPackingInformation")
|
|
2329
|
+
}
|
|
2336
2330
|
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2331
|
+
const pathParams = {
|
|
2332
|
+
inboundPlanId
|
|
2333
|
+
}
|
|
2334
|
+
const queryParams = {
|
|
2335
|
+
}
|
|
2336
|
+
const headerParams = {
|
|
2337
|
+
}
|
|
2338
|
+
const formParams = {
|
|
2339
|
+
}
|
|
2346
2340
|
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2341
|
+
const contentTypes = ['application/json']
|
|
2342
|
+
const accepts = ['application/json']
|
|
2343
|
+
const returnType = SetPackingInformationResponse
|
|
2350
2344
|
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2345
|
+
return this.apiClient.callApi('FbaInboundApi-setPackingInformation',
|
|
2346
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation', 'POST',
|
|
2347
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2348
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-setPackingInformation')
|
|
2349
|
+
)
|
|
2350
|
+
}
|
|
2357
2351
|
|
|
2358
|
-
|
|
2352
|
+
/**
|
|
2359
2353
|
* Sets packing information for an inbound plan. This should be called after an inbound plan is created to populate the box level information required for planning and transportation estimates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2360
2354
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2361
2355
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to `setPackingInformation`.
|
|
2362
2356
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse}
|
|
2363
2357
|
*/
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2358
|
+
setPackingInformation (inboundPlanId, body) {
|
|
2359
|
+
return this.setPackingInformationWithHttpInfo(inboundPlanId, body)
|
|
2360
|
+
.then(function (response_and_data) {
|
|
2361
|
+
return response_and_data.data
|
|
2362
|
+
})
|
|
2363
|
+
}
|
|
2371
2364
|
|
|
2372
|
-
|
|
2365
|
+
/**
|
|
2373
2366
|
* Set the preparation details for a list of MSKUs in a specified marketplace. **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 preceding table contains 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).
|
|
2374
2367
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to `setPrepDetails`.
|
|
2375
2368
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse} and HTTP response
|
|
2376
2369
|
*/
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
// verify the required parameter 'body' is set
|
|
2381
|
-
if (body === undefined || body === null) {
|
|
2382
|
-
throw new Error("Missing the required parameter 'body' when calling setPrepDetails");
|
|
2383
|
-
}
|
|
2370
|
+
setPrepDetailsWithHttpInfo (body) {
|
|
2371
|
+
const postBody = body
|
|
2384
2372
|
|
|
2373
|
+
// verify the required parameter 'body' is set
|
|
2374
|
+
if (body === undefined || body === null) {
|
|
2375
|
+
throw new Error("Missing the required parameter 'body' when calling setPrepDetails")
|
|
2376
|
+
}
|
|
2385
2377
|
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2378
|
+
const pathParams = {
|
|
2379
|
+
}
|
|
2380
|
+
const queryParams = {
|
|
2381
|
+
}
|
|
2382
|
+
const headerParams = {
|
|
2383
|
+
}
|
|
2384
|
+
const formParams = {
|
|
2385
|
+
}
|
|
2394
2386
|
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2387
|
+
const contentTypes = ['application/json']
|
|
2388
|
+
const accepts = ['application/json']
|
|
2389
|
+
const returnType = SetPrepDetailsResponse
|
|
2398
2390
|
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2391
|
+
return this.apiClient.callApi('FbaInboundApi-setPrepDetails',
|
|
2392
|
+
'/inbound/fba/2024-03-20/items/prepDetails', 'POST',
|
|
2393
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2394
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-setPrepDetails')
|
|
2395
|
+
)
|
|
2396
|
+
}
|
|
2405
2397
|
|
|
2406
|
-
|
|
2398
|
+
/**
|
|
2407
2399
|
* Set the preparation details for a list of MSKUs in a specified marketplace. **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 preceding table contains 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).
|
|
2408
2400
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to `setPrepDetails`.
|
|
2409
2401
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse}
|
|
2410
2402
|
*/
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2403
|
+
setPrepDetails (body) {
|
|
2404
|
+
return this.setPrepDetailsWithHttpInfo(body)
|
|
2405
|
+
.then(function (response_and_data) {
|
|
2406
|
+
return response_and_data.data
|
|
2407
|
+
})
|
|
2408
|
+
}
|
|
2418
2409
|
|
|
2419
|
-
|
|
2410
|
+
/**
|
|
2420
2411
|
* Updates the name of an existing inbound plan. **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 preceding table contains 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).
|
|
2421
2412
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2422
2413
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to `updateInboundPlanName`.
|
|
2423
2414
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2424
2415
|
*/
|
|
2425
|
-
|
|
2426
|
-
|
|
2416
|
+
updateInboundPlanNameWithHttpInfo (inboundPlanId, body) {
|
|
2417
|
+
const postBody = body
|
|
2427
2418
|
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
// verify the required parameter 'body' is set
|
|
2434
|
-
if (body === undefined || body === null) {
|
|
2435
|
-
throw new Error("Missing the required parameter 'body' when calling updateInboundPlanName");
|
|
2436
|
-
}
|
|
2419
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2420
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2421
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateInboundPlanName")
|
|
2422
|
+
}
|
|
2437
2423
|
|
|
2424
|
+
// verify the required parameter 'body' is set
|
|
2425
|
+
if (body === undefined || body === null) {
|
|
2426
|
+
throw new Error("Missing the required parameter 'body' when calling updateInboundPlanName")
|
|
2427
|
+
}
|
|
2438
2428
|
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2429
|
+
const pathParams = {
|
|
2430
|
+
inboundPlanId
|
|
2431
|
+
}
|
|
2432
|
+
const queryParams = {
|
|
2433
|
+
}
|
|
2434
|
+
const headerParams = {
|
|
2435
|
+
}
|
|
2436
|
+
const formParams = {
|
|
2437
|
+
}
|
|
2448
2438
|
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2439
|
+
const contentTypes = ['application/json']
|
|
2440
|
+
const accepts = ['application/json']
|
|
2441
|
+
const returnType = null
|
|
2452
2442
|
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2443
|
+
return this.apiClient.callApi('FbaInboundApi-updateInboundPlanName',
|
|
2444
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/name', 'PUT',
|
|
2445
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2446
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateInboundPlanName')
|
|
2447
|
+
)
|
|
2448
|
+
}
|
|
2459
2449
|
|
|
2460
|
-
|
|
2450
|
+
/**
|
|
2461
2451
|
* Updates the name of an existing inbound plan. **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 preceding table contains 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).
|
|
2462
2452
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2463
2453
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to `updateInboundPlanName`.
|
|
2464
2454
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2465
2455
|
*/
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2456
|
+
updateInboundPlanName (inboundPlanId, body) {
|
|
2457
|
+
return this.updateInboundPlanNameWithHttpInfo(inboundPlanId, body)
|
|
2458
|
+
.then(function (response_and_data) {
|
|
2459
|
+
return response_and_data.data
|
|
2460
|
+
})
|
|
2461
|
+
}
|
|
2473
2462
|
|
|
2474
|
-
|
|
2463
|
+
/**
|
|
2475
2464
|
* Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2476
2465
|
* @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
2477
2466
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to `updateItemComplianceDetails`.
|
|
2478
2467
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse} and HTTP response
|
|
2479
2468
|
*/
|
|
2480
|
-
|
|
2481
|
-
|
|
2469
|
+
updateItemComplianceDetailsWithHttpInfo (marketplaceId, body) {
|
|
2470
|
+
const postBody = body
|
|
2482
2471
|
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
// verify the required parameter 'body' is set
|
|
2489
|
-
if (body === undefined || body === null) {
|
|
2490
|
-
throw new Error("Missing the required parameter 'body' when calling updateItemComplianceDetails");
|
|
2491
|
-
}
|
|
2472
|
+
// verify the required parameter 'marketplaceId' is set
|
|
2473
|
+
if (marketplaceId === undefined || marketplaceId === null) {
|
|
2474
|
+
throw new Error("Missing the required parameter 'marketplaceId' when calling updateItemComplianceDetails")
|
|
2475
|
+
}
|
|
2492
2476
|
|
|
2477
|
+
// verify the required parameter 'body' is set
|
|
2478
|
+
if (body === undefined || body === null) {
|
|
2479
|
+
throw new Error("Missing the required parameter 'body' when calling updateItemComplianceDetails")
|
|
2480
|
+
}
|
|
2493
2481
|
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2482
|
+
const pathParams = {
|
|
2483
|
+
}
|
|
2484
|
+
const queryParams = {
|
|
2485
|
+
marketplaceId
|
|
2486
|
+
}
|
|
2487
|
+
const headerParams = {
|
|
2488
|
+
}
|
|
2489
|
+
const formParams = {
|
|
2490
|
+
}
|
|
2503
2491
|
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2492
|
+
const contentTypes = ['application/json']
|
|
2493
|
+
const accepts = ['application/json']
|
|
2494
|
+
const returnType = UpdateItemComplianceDetailsResponse
|
|
2507
2495
|
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2496
|
+
return this.apiClient.callApi('FbaInboundApi-updateItemComplianceDetails',
|
|
2497
|
+
'/inbound/fba/2024-03-20/items/compliance', 'PUT',
|
|
2498
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2499
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateItemComplianceDetails')
|
|
2500
|
+
)
|
|
2501
|
+
}
|
|
2514
2502
|
|
|
2515
|
-
|
|
2503
|
+
/**
|
|
2516
2504
|
* Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 6 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2517
2505
|
* @param {String} marketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
2518
2506
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to `updateItemComplianceDetails`.
|
|
2519
2507
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse}
|
|
2520
2508
|
*/
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2509
|
+
updateItemComplianceDetails (marketplaceId, body) {
|
|
2510
|
+
return this.updateItemComplianceDetailsWithHttpInfo(marketplaceId, body)
|
|
2511
|
+
.then(function (response_and_data) {
|
|
2512
|
+
return response_and_data.data
|
|
2513
|
+
})
|
|
2514
|
+
}
|
|
2528
2515
|
|
|
2529
|
-
|
|
2516
|
+
/**
|
|
2530
2517
|
* Updates the name of an existing shipment. **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 preceding table contains 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).
|
|
2531
2518
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2532
2519
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2533
2520
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to `updateShipmentName`.
|
|
2534
2521
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2535
2522
|
*/
|
|
2536
|
-
|
|
2537
|
-
|
|
2523
|
+
updateShipmentNameWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2524
|
+
const postBody = body
|
|
2538
2525
|
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
// verify the required parameter 'shipmentId' is set
|
|
2545
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
2546
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentName");
|
|
2547
|
-
}
|
|
2526
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2527
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2528
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentName")
|
|
2529
|
+
}
|
|
2548
2530
|
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2531
|
+
// verify the required parameter 'shipmentId' is set
|
|
2532
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2533
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentName")
|
|
2534
|
+
}
|
|
2553
2535
|
|
|
2536
|
+
// verify the required parameter 'body' is set
|
|
2537
|
+
if (body === undefined || body === null) {
|
|
2538
|
+
throw new Error("Missing the required parameter 'body' when calling updateShipmentName")
|
|
2539
|
+
}
|
|
2554
2540
|
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2541
|
+
const pathParams = {
|
|
2542
|
+
inboundPlanId,
|
|
2543
|
+
shipmentId
|
|
2544
|
+
}
|
|
2545
|
+
const queryParams = {
|
|
2546
|
+
}
|
|
2547
|
+
const headerParams = {
|
|
2548
|
+
}
|
|
2549
|
+
const formParams = {
|
|
2550
|
+
}
|
|
2565
2551
|
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2552
|
+
const contentTypes = ['application/json']
|
|
2553
|
+
const accepts = ['application/json']
|
|
2554
|
+
const returnType = null
|
|
2569
2555
|
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2556
|
+
return this.apiClient.callApi('FbaInboundApi-updateShipmentName',
|
|
2557
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/name', 'PUT',
|
|
2558
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2559
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentName')
|
|
2560
|
+
)
|
|
2561
|
+
}
|
|
2576
2562
|
|
|
2577
|
-
|
|
2563
|
+
/**
|
|
2578
2564
|
* Updates the name of an existing shipment. **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 preceding table contains 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).
|
|
2579
2565
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2580
2566
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2581
2567
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to `updateShipmentName`.
|
|
2582
2568
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2583
2569
|
*/
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2570
|
+
updateShipmentName (inboundPlanId, shipmentId, body) {
|
|
2571
|
+
return this.updateShipmentNameWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
2572
|
+
.then(function (response_and_data) {
|
|
2573
|
+
return response_and_data.data
|
|
2574
|
+
})
|
|
2575
|
+
}
|
|
2591
2576
|
|
|
2592
|
-
|
|
2577
|
+
/**
|
|
2593
2578
|
* Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source 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 preceding table contains 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).
|
|
2594
2579
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2595
2580
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2596
2581
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to `updateShipmentSourceAddress`.
|
|
2597
2582
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse} and HTTP response
|
|
2598
2583
|
*/
|
|
2599
|
-
|
|
2600
|
-
|
|
2584
|
+
updateShipmentSourceAddressWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2585
|
+
const postBody = body
|
|
2601
2586
|
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2587
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2588
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2589
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentSourceAddress")
|
|
2590
|
+
}
|
|
2606
2591
|
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2592
|
+
// verify the required parameter 'shipmentId' is set
|
|
2593
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2594
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentSourceAddress")
|
|
2595
|
+
}
|
|
2611
2596
|
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2597
|
+
// verify the required parameter 'body' is set
|
|
2598
|
+
if (body === undefined || body === null) {
|
|
2599
|
+
throw new Error("Missing the required parameter 'body' when calling updateShipmentSourceAddress")
|
|
2600
|
+
}
|
|
2616
2601
|
|
|
2602
|
+
const pathParams = {
|
|
2603
|
+
inboundPlanId,
|
|
2604
|
+
shipmentId
|
|
2605
|
+
}
|
|
2606
|
+
const queryParams = {
|
|
2607
|
+
}
|
|
2608
|
+
const headerParams = {
|
|
2609
|
+
}
|
|
2610
|
+
const formParams = {
|
|
2611
|
+
}
|
|
2617
2612
|
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
};
|
|
2622
|
-
let queryParams = {
|
|
2623
|
-
};
|
|
2624
|
-
let headerParams = {
|
|
2625
|
-
};
|
|
2626
|
-
let formParams = {
|
|
2627
|
-
};
|
|
2613
|
+
const contentTypes = ['application/json']
|
|
2614
|
+
const accepts = ['application/json']
|
|
2615
|
+
const returnType = UpdateShipmentSourceAddressResponse
|
|
2628
2616
|
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2617
|
+
return this.apiClient.callApi('FbaInboundApi-updateShipmentSourceAddress',
|
|
2618
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress', 'PUT',
|
|
2619
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2620
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentSourceAddress')
|
|
2621
|
+
)
|
|
2622
|
+
}
|
|
2632
2623
|
|
|
2633
|
-
|
|
2634
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress', 'PUT',
|
|
2635
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2636
|
-
contentTypes, accepts, returnType
|
|
2637
|
-
);
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
/**
|
|
2624
|
+
/**
|
|
2641
2625
|
* Updates the source address of an existing shipment. The shipment source address can only be updated prior to the confirmation of the shipment carriers. As a result of the updated source address, existing transportation options will be invalidated and will need to be regenerated to capture the potential difference in transportation options and quotes due to the new source 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 preceding table contains 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).
|
|
2642
2626
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2643
2627
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2644
2628
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to `updateShipmentSourceAddress`.
|
|
2645
2629
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse}
|
|
2646
2630
|
*/
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2631
|
+
updateShipmentSourceAddress (inboundPlanId, shipmentId, body) {
|
|
2632
|
+
return this.updateShipmentSourceAddressWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
2633
|
+
.then(function (response_and_data) {
|
|
2634
|
+
return response_and_data.data
|
|
2635
|
+
})
|
|
2636
|
+
}
|
|
2653
2637
|
|
|
2654
|
-
|
|
2655
|
-
/**
|
|
2638
|
+
/**
|
|
2656
2639
|
* Updates a shipment's tracking details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2657
2640
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2658
2641
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2659
2642
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to `updateShipmentTrackingDetails`.
|
|
2660
2643
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse} and HTTP response
|
|
2661
2644
|
*/
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
2666
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2667
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentTrackingDetails");
|
|
2668
|
-
}
|
|
2645
|
+
updateShipmentTrackingDetailsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2646
|
+
const postBody = body
|
|
2669
2647
|
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2648
|
+
// verify the required parameter 'inboundPlanId' is set
|
|
2649
|
+
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2650
|
+
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentTrackingDetails")
|
|
2651
|
+
}
|
|
2674
2652
|
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2653
|
+
// verify the required parameter 'shipmentId' is set
|
|
2654
|
+
if (shipmentId === undefined || shipmentId === null) {
|
|
2655
|
+
throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentTrackingDetails")
|
|
2656
|
+
}
|
|
2679
2657
|
|
|
2658
|
+
// verify the required parameter 'body' is set
|
|
2659
|
+
if (body === undefined || body === null) {
|
|
2660
|
+
throw new Error("Missing the required parameter 'body' when calling updateShipmentTrackingDetails")
|
|
2661
|
+
}
|
|
2680
2662
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2663
|
+
const pathParams = {
|
|
2664
|
+
inboundPlanId,
|
|
2665
|
+
shipmentId
|
|
2666
|
+
}
|
|
2667
|
+
const queryParams = {
|
|
2668
|
+
}
|
|
2669
|
+
const headerParams = {
|
|
2670
|
+
}
|
|
2671
|
+
const formParams = {
|
|
2672
|
+
}
|
|
2691
2673
|
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2674
|
+
const contentTypes = ['application/json']
|
|
2675
|
+
const accepts = ['application/json']
|
|
2676
|
+
const returnType = UpdateShipmentTrackingDetailsResponse
|
|
2695
2677
|
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2678
|
+
return this.apiClient.callApi('FbaInboundApi-updateShipmentTrackingDetails',
|
|
2679
|
+
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/trackingDetails', 'PUT',
|
|
2680
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2681
|
+
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentTrackingDetails')
|
|
2682
|
+
)
|
|
2683
|
+
}
|
|
2702
2684
|
|
|
2703
|
-
|
|
2685
|
+
/**
|
|
2704
2686
|
* Updates a shipment's tracking details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
|
|
2705
2687
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2706
2688
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2707
2689
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to `updateShipmentTrackingDetails`.
|
|
2708
2690
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse}
|
|
2709
2691
|
*/
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2692
|
+
updateShipmentTrackingDetails (inboundPlanId, shipmentId, body) {
|
|
2693
|
+
return this.updateShipmentTrackingDetailsWithHttpInfo(inboundPlanId, shipmentId, body)
|
|
2694
|
+
.then(function (response_and_data) {
|
|
2695
|
+
return response_and_data.data
|
|
2696
|
+
})
|
|
2697
|
+
}
|
|
2718
2698
|
}
|