@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0 → 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/helper/DefaultRateLimitMap.mjs +31 -12
- package/index.js +0 -1
- package/package.json +2 -2
- package/sample-node-app/index.js +1 -1
- package/src/apluscontent_v2020_11_01/ApiClient.js +479 -488
- package/src/apluscontent_v2020_11_01/api/AplusContentApi.js +508 -532
- 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 +479 -488
- package/src/appintegrations_v2024_04_01/api/AppIntegrationsApi.js +143 -153
- 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 +479 -488
- package/src/applications_v2023_11_30/api/ApplicationsApi.js +56 -62
- 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 +479 -488
- package/src/awd_v2024_05_09/api/AwdApi.js +458 -484
- 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 +479 -488
- package/src/catalogitems_v2022_04_01/api/CatalogApi.js +124 -132
- 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 +479 -488
- package/src/datakiosk_v2023_11_15/api/QueriesApi.js +216 -230
- 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 +479 -488
- package/src/easyship_v2022_03_23/api/EasyShipApi.js +214 -228
- 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 +479 -488
- package/src/fbaeligibility_v1/api/FbaInboundApi.js +68 -74
- 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 +479 -488
- package/src/fbainventory_v1/api/FbaInventoryApi.js +208 -220
- 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 +479 -488
- package/src/feeds_v2021_06_30/api/FeedsApi.js +256 -272
- 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 +479 -488
- package/src/finances_v0/api/DefaultApi.js +172 -184
- 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 +479 -488
- package/src/fulfillmentinbound_v0/api/FbaInboundApi.js +309 -325
- 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 +479 -488
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +1893 -1987
- 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 +479 -488
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +593 -625
- 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 +479 -488
- package/src/invoices_v2024_06_19/api/InvoicesApi.js +317 -335
- 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 +479 -488
- package/src/invoicing_v0/api/ShipmentInvoiceApi.js +146 -156
- 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 +479 -488
- package/src/listingsitems_v2021_08_01/api/ListingsApi.js +324 -338
- 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 +479 -488
- package/src/listingsrestrictions_v2021_08_01/api/ListingsApi.js +75 -81
- 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 +479 -488
- package/src/merchantfulfillment_v0/api/MerchantFulfillmentApi.js +216 -230
- 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 +479 -488
- package/src/messaging_v1/api/MessagingApi.js +686 -716
- 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 +479 -488
- package/src/notifications_v1/api/NotificationsApi.js +347 -367
- 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 +479 -488
- package/src/orders_v0/api/OrdersV0Api.js +406 -428
- package/src/orders_v0/api/ShipmentApi.js +66 -72
- 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 +479 -488
- package/src/pricing_v0/api/ProductPricingApi.js +306 -322
- 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 +479 -488
- package/src/pricing_v2022_05_01/api/ProductPricingApi.js +103 -111
- 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 +479 -488
- package/src/productfees_v0/api/FeesApi.js +160 -170
- 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 +479 -488
- package/src/producttypedefinitions_v2020_09_01/api/DefinitionsApi.js +120 -128
- 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 +479 -488
- package/src/replenishment_v2022_11_07/api/OffersApi.js +95 -103
- package/src/replenishment_v2022_11_07/api/SellingpartnersApi.js +59 -65
- 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 +479 -488
- package/src/reports_v2021_06_30/api/ReportsApi.js +349 -371
- 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 +479 -488
- package/src/sales_v1/api/SalesApi.js +78 -84
- 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 +479 -488
- package/src/sellers_v1/api/SellersApi.js +90 -98
- 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 +479 -488
- package/src/services_v1/api/ServiceApi.js +847 -885
- 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 +478 -487
- package/src/shipping_v2/api/ShippingApi.js +911 -955
- 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 +479 -488
- package/src/solicitations_v1/api/SolicitationsApi.js +114 -122
- 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 +479 -488
- package/src/supplysources_v2020_07_01/api/SupplySourcesApi.js +257 -273
- 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 +480 -489
- package/src/tokens_v2021_03_01/api/TokensApi.js +63 -69
- 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 +479 -488
- package/src/transfers_v2024_06_01/api/DefaultApi.js +105 -113
- 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 +479 -488
- package/src/uploads_v2020_11_01/api/UploadsApi.js +73 -79
- 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 +479 -488
- package/src/vehicles_v2024_11_01/api/AutomotiveApi.js +70 -76
- package/src/vehicles_v2024_11_01/api/VehiclesApi.js +70 -76
- 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 +479 -488
- package/src/vendordfinventory_v1/api/UpdateInventoryApi.js +66 -72
- 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 +479 -488
- package/src/vendordforders_v2021_12_28/api/VendorOrdersApi.js +152 -162
- 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 +479 -488
- package/src/vendordfpayments_v1/api/VendorInvoiceApi.js +61 -67
- 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 +479 -488
- package/src/vendordfshipping_v2021_12_28/api/CreateContainerLabelApi.js +62 -68
- package/src/vendordfshipping_v2021_12_28/api/CustomerInvoicesApi.js +114 -122
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingApi.js +176 -188
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi.js +195 -207
- 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 +479 -488
- package/src/vendordftransactions_v2021_12_28/api/VendorTransactionApi.js +63 -69
- 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 +479 -488
- package/src/vendorinvoices_v1/api/VendorPaymentsApi.js +61 -67
- 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 +479 -488
- package/src/vendororders_v1/api/VendorOrdersApi.js +183 -195
- 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 +479 -488
- package/src/vendorshipments_v1/api/VendorShippingApi.js +189 -201
- 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 +479 -488
- package/src/vendortransactionstatus_v1/api/VendorTransactionApi.js +61 -67
- 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/src/finances_2024_06_19/ApiClient.js +0 -832
- package/src/finances_2024_06_19/api/DefaultApi.js +0 -128
- 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,69 +11,69 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
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'
|
|
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'
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* FbaInbound service.
|
|
@@ -81,1086 +81,1047 @@ import {DefaultRateLimitFetcher} from '../../../helper/DefaultRateLimitFetcher.m
|
|
|
81
81
|
* @version 2024-03-20
|
|
82
82
|
*/
|
|
83
83
|
export class FbaInboundApi {
|
|
84
|
+
// Private memeber stores the default rate limiters
|
|
85
|
+
#defaultRateLimiterMap
|
|
84
86
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Constructs a new FbaInboundApi.
|
|
87
|
+
/**
|
|
88
|
+
* Constructs a new FbaInboundApi.
|
|
90
89
|
* @alias module:fulfillmentinbound_v2024_03_20/api/FbaInboundApi
|
|
91
90
|
* @class
|
|
92
91
|
* @param {module:fulfillmentinbound_v2024_03_20/ApiClient} [apiClient] Optional API client implementation to use,
|
|
93
92
|
* default to {@link module:fulfillmentinbound_v2024_03_20/ApiClient#instance} if unspecified.
|
|
94
93
|
*/
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
constructor (apiClient) {
|
|
95
|
+
this.apiClient = apiClient || ApiClient.instance
|
|
96
|
+
this.initializeDefaultRateLimiterMap()
|
|
97
|
+
}
|
|
99
98
|
|
|
100
|
-
|
|
99
|
+
/**
|
|
101
100
|
* Initialize rate limiters for API operations
|
|
102
101
|
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
+
/**
|
|
161
160
|
* Get rate limiter for a specific operation
|
|
162
161
|
* @param {String} operation name
|
|
163
162
|
*/
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
getRateLimiter (operation) {
|
|
164
|
+
return this.#defaultRateLimiterMap.get(operation)
|
|
165
|
+
}
|
|
167
166
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
/**
|
|
167
|
+
/**
|
|
171
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).
|
|
172
169
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
173
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
|
|
174
171
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
179
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
180
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelInboundPlan");
|
|
181
|
-
}
|
|
172
|
+
cancelInboundPlanWithHttpInfo (inboundPlanId) {
|
|
173
|
+
const postBody = null
|
|
182
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
|
+
}
|
|
183
179
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
180
|
+
const pathParams = {
|
|
181
|
+
inboundPlanId
|
|
182
|
+
}
|
|
183
|
+
const queryParams = {
|
|
184
|
+
}
|
|
185
|
+
const headerParams = {
|
|
186
|
+
}
|
|
187
|
+
const formParams = {
|
|
188
|
+
}
|
|
193
189
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
190
|
+
const contentTypes = []
|
|
191
|
+
const accepts = ['application/json']
|
|
192
|
+
const returnType = CancelInboundPlanResponse
|
|
197
193
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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
|
+
}
|
|
204
200
|
|
|
205
|
-
|
|
201
|
+
/**
|
|
206
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).
|
|
207
203
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
208
204
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse}
|
|
209
205
|
*/
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
206
|
+
cancelInboundPlan (inboundPlanId) {
|
|
207
|
+
return this.cancelInboundPlanWithHttpInfo(inboundPlanId)
|
|
208
|
+
.then(function (response_and_data) {
|
|
209
|
+
return response_and_data.data
|
|
210
|
+
})
|
|
211
|
+
}
|
|
216
212
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
* 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).
|
|
220
215
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
221
216
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
222
217
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
|
|
223
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
|
|
224
219
|
*/
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
229
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
230
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling cancelSelfShipAppointment");
|
|
231
|
-
}
|
|
220
|
+
cancelSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
221
|
+
const postBody = body
|
|
232
222
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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
|
+
}
|
|
237
227
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
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
|
+
}
|
|
242
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
|
+
}
|
|
243
237
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
238
|
+
const pathParams = {
|
|
239
|
+
inboundPlanId,
|
|
240
|
+
shipmentId
|
|
241
|
+
}
|
|
242
|
+
const queryParams = {
|
|
243
|
+
}
|
|
244
|
+
const headerParams = {
|
|
245
|
+
}
|
|
246
|
+
const formParams = {
|
|
247
|
+
}
|
|
254
248
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
249
|
+
const contentTypes = ['application/json']
|
|
250
|
+
const accepts = ['application/json']
|
|
251
|
+
const returnType = CancelSelfShipAppointmentResponse
|
|
258
252
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
+
}
|
|
265
259
|
|
|
266
|
-
|
|
267
|
-
* 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).
|
|
268
262
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
269
263
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
270
264
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest} body The body of the request to `cancelSelfShipAppointment`.
|
|
271
265
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse}
|
|
272
266
|
*/
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
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
|
+
}
|
|
280
273
|
|
|
281
|
-
|
|
274
|
+
/**
|
|
282
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).
|
|
283
276
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
284
277
|
* @param {String} shipmentId The shipment to confirm the delivery window option for.
|
|
285
278
|
* @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
|
|
286
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
|
|
287
280
|
*/
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
/**
|
|
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
|
+
/**
|
|
331
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).
|
|
332
324
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
333
325
|
* @param {String} shipmentId The shipment to confirm the delivery window option for.
|
|
334
326
|
* @param {String} deliveryWindowOptionId The id of the delivery window option to be confirmed.
|
|
335
327
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse}
|
|
336
328
|
*/
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
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
|
+
}
|
|
344
335
|
|
|
345
|
-
|
|
336
|
+
/**
|
|
346
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).
|
|
347
338
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
348
339
|
* @param {String} packingOptionId Identifier of a packing option.
|
|
349
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
|
|
350
341
|
*/
|
|
351
|
-
|
|
352
|
-
|
|
342
|
+
confirmPackingOptionWithHttpInfo (inboundPlanId, packingOptionId) {
|
|
343
|
+
const postBody = null
|
|
353
344
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
// verify the required parameter 'packingOptionId' is set
|
|
360
|
-
if (packingOptionId === undefined || packingOptionId === null) {
|
|
361
|
-
throw new Error("Missing the required parameter 'packingOptionId' when calling confirmPackingOption");
|
|
362
|
-
}
|
|
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
|
+
}
|
|
363
349
|
|
|
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
|
+
}
|
|
364
354
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
355
|
+
const pathParams = {
|
|
356
|
+
inboundPlanId,
|
|
357
|
+
packingOptionId
|
|
358
|
+
}
|
|
359
|
+
const queryParams = {
|
|
360
|
+
}
|
|
361
|
+
const headerParams = {
|
|
362
|
+
}
|
|
363
|
+
const formParams = {
|
|
364
|
+
}
|
|
375
365
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
366
|
+
const contentTypes = []
|
|
367
|
+
const accepts = ['application/json']
|
|
368
|
+
const returnType = ConfirmPackingOptionResponse
|
|
379
369
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
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
|
+
}
|
|
386
376
|
|
|
387
|
-
|
|
377
|
+
/**
|
|
388
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).
|
|
389
379
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
390
380
|
* @param {String} packingOptionId Identifier of a packing option.
|
|
391
381
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse}
|
|
392
382
|
*/
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
383
|
+
confirmPackingOption (inboundPlanId, packingOptionId) {
|
|
384
|
+
return this.confirmPackingOptionWithHttpInfo(inboundPlanId, packingOptionId)
|
|
385
|
+
.then(function (response_and_data) {
|
|
386
|
+
return response_and_data.data
|
|
387
|
+
})
|
|
388
|
+
}
|
|
400
389
|
|
|
401
|
-
|
|
390
|
+
/**
|
|
402
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).
|
|
403
392
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
404
393
|
* @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
|
|
405
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
|
|
406
395
|
*/
|
|
407
|
-
|
|
408
|
-
|
|
396
|
+
confirmPlacementOptionWithHttpInfo (inboundPlanId, placementOptionId) {
|
|
397
|
+
const postBody = null
|
|
409
398
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
// verify the required parameter 'placementOptionId' is set
|
|
416
|
-
if (placementOptionId === undefined || placementOptionId === null) {
|
|
417
|
-
throw new Error("Missing the required parameter 'placementOptionId' when calling confirmPlacementOption");
|
|
418
|
-
}
|
|
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
|
+
}
|
|
419
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
|
+
}
|
|
420
408
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
409
|
+
const pathParams = {
|
|
410
|
+
inboundPlanId,
|
|
411
|
+
placementOptionId
|
|
412
|
+
}
|
|
413
|
+
const queryParams = {
|
|
414
|
+
}
|
|
415
|
+
const headerParams = {
|
|
416
|
+
}
|
|
417
|
+
const formParams = {
|
|
418
|
+
}
|
|
431
419
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
420
|
+
const contentTypes = []
|
|
421
|
+
const accepts = ['application/json']
|
|
422
|
+
const returnType = ConfirmPlacementOptionResponse
|
|
435
423
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
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
|
+
}
|
|
442
430
|
|
|
443
|
-
|
|
431
|
+
/**
|
|
444
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).
|
|
445
433
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
446
434
|
* @param {String} placementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
|
|
447
435
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse}
|
|
448
436
|
*/
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
437
|
+
confirmPlacementOption (inboundPlanId, placementOptionId) {
|
|
438
|
+
return this.confirmPlacementOptionWithHttpInfo(inboundPlanId, placementOptionId)
|
|
439
|
+
.then(function (response_and_data) {
|
|
440
|
+
return response_and_data.data
|
|
441
|
+
})
|
|
442
|
+
}
|
|
456
443
|
|
|
457
|
-
|
|
444
|
+
/**
|
|
458
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).
|
|
459
446
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
460
447
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
461
448
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
462
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
|
|
463
450
|
*/
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
/**
|
|
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
|
+
/**
|
|
507
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).
|
|
508
494
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
509
495
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
510
496
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
511
497
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse}
|
|
512
498
|
*/
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
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
|
+
}
|
|
519
505
|
|
|
520
|
-
|
|
521
|
-
/**
|
|
506
|
+
/**
|
|
522
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).
|
|
523
508
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
524
509
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
|
|
525
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
|
|
526
511
|
*/
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
531
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
532
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling confirmTransportationOptions");
|
|
533
|
-
}
|
|
512
|
+
confirmTransportationOptionsWithHttpInfo (inboundPlanId, body) {
|
|
513
|
+
const postBody = body
|
|
534
514
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
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
|
+
}
|
|
539
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
|
+
}
|
|
540
524
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
525
|
+
const pathParams = {
|
|
526
|
+
inboundPlanId
|
|
527
|
+
}
|
|
528
|
+
const queryParams = {
|
|
529
|
+
}
|
|
530
|
+
const headerParams = {
|
|
531
|
+
}
|
|
532
|
+
const formParams = {
|
|
533
|
+
}
|
|
550
534
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
535
|
+
const contentTypes = ['application/json']
|
|
536
|
+
const accepts = ['application/json']
|
|
537
|
+
const returnType = ConfirmTransportationOptionsResponse
|
|
554
538
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
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
|
+
}
|
|
561
545
|
|
|
562
|
-
|
|
546
|
+
/**
|
|
563
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).
|
|
564
548
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
565
549
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest} body The body of the request to `confirmTransportationOptions`.
|
|
566
550
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse}
|
|
567
551
|
*/
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
552
|
+
confirmTransportationOptions (inboundPlanId, body) {
|
|
553
|
+
return this.confirmTransportationOptionsWithHttpInfo(inboundPlanId, body)
|
|
554
|
+
.then(function (response_and_data) {
|
|
555
|
+
return response_and_data.data
|
|
556
|
+
})
|
|
557
|
+
}
|
|
574
558
|
|
|
575
|
-
|
|
576
|
-
/**
|
|
559
|
+
/**
|
|
577
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).
|
|
578
561
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
|
|
579
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
|
|
580
563
|
*/
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
// verify the required parameter 'body' is set
|
|
585
|
-
if (body === undefined || body === null) {
|
|
586
|
-
throw new Error("Missing the required parameter 'body' when calling createInboundPlan");
|
|
587
|
-
}
|
|
564
|
+
createInboundPlanWithHttpInfo (body) {
|
|
565
|
+
const postBody = body
|
|
588
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
|
+
}
|
|
589
571
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
572
|
+
const pathParams = {
|
|
573
|
+
}
|
|
574
|
+
const queryParams = {
|
|
575
|
+
}
|
|
576
|
+
const headerParams = {
|
|
577
|
+
}
|
|
578
|
+
const formParams = {
|
|
579
|
+
}
|
|
598
580
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
581
|
+
const contentTypes = ['application/json']
|
|
582
|
+
const accepts = ['application/json']
|
|
583
|
+
const returnType = CreateInboundPlanResponse
|
|
602
584
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
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
|
+
}
|
|
609
591
|
|
|
610
|
-
|
|
592
|
+
/**
|
|
611
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).
|
|
612
594
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest} body The body of the request to `createInboundPlan`.
|
|
613
595
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse}
|
|
614
596
|
*/
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
597
|
+
createInboundPlan (body) {
|
|
598
|
+
return this.createInboundPlanWithHttpInfo(body)
|
|
599
|
+
.then(function (response_and_data) {
|
|
600
|
+
return response_and_data.data
|
|
601
|
+
})
|
|
602
|
+
}
|
|
622
603
|
|
|
623
|
-
|
|
604
|
+
/**
|
|
624
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).
|
|
625
606
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
|
|
626
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
|
|
627
608
|
*/
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
// verify the required parameter 'body' is set
|
|
632
|
-
if (body === undefined || body === null) {
|
|
633
|
-
throw new Error("Missing the required parameter 'body' when calling createMarketplaceItemLabels");
|
|
634
|
-
}
|
|
609
|
+
createMarketplaceItemLabelsWithHttpInfo (body) {
|
|
610
|
+
const postBody = body
|
|
635
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
|
+
}
|
|
636
616
|
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
617
|
+
const pathParams = {
|
|
618
|
+
}
|
|
619
|
+
const queryParams = {
|
|
620
|
+
}
|
|
621
|
+
const headerParams = {
|
|
622
|
+
}
|
|
623
|
+
const formParams = {
|
|
624
|
+
}
|
|
645
625
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
626
|
+
const contentTypes = ['application/json']
|
|
627
|
+
const accepts = ['application/json']
|
|
628
|
+
const returnType = CreateMarketplaceItemLabelsResponse
|
|
649
629
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
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
|
+
}
|
|
656
636
|
|
|
657
|
-
|
|
637
|
+
/**
|
|
658
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).
|
|
659
639
|
* @param {module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest} body The body of the request to `createMarketplaceItemLabels`.
|
|
660
640
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse}
|
|
661
641
|
*/
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
642
|
+
createMarketplaceItemLabels (body) {
|
|
643
|
+
return this.createMarketplaceItemLabelsWithHttpInfo(body)
|
|
644
|
+
.then(function (response_and_data) {
|
|
645
|
+
return response_and_data.data
|
|
646
|
+
})
|
|
647
|
+
}
|
|
668
648
|
|
|
669
|
-
|
|
670
|
-
/**
|
|
649
|
+
/**
|
|
671
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).
|
|
672
651
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
673
652
|
* @param {String} shipmentId The shipment to generate delivery window options for.
|
|
674
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
|
|
675
654
|
*/
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
680
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
681
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateDeliveryWindowOptions");
|
|
682
|
-
}
|
|
655
|
+
generateDeliveryWindowOptionsWithHttpInfo (inboundPlanId, shipmentId) {
|
|
656
|
+
const postBody = null
|
|
683
657
|
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
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
|
+
}
|
|
688
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
|
+
}
|
|
689
667
|
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
668
|
+
const pathParams = {
|
|
669
|
+
inboundPlanId,
|
|
670
|
+
shipmentId
|
|
671
|
+
}
|
|
672
|
+
const queryParams = {
|
|
673
|
+
}
|
|
674
|
+
const headerParams = {
|
|
675
|
+
}
|
|
676
|
+
const formParams = {
|
|
677
|
+
}
|
|
700
678
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
679
|
+
const contentTypes = []
|
|
680
|
+
const accepts = ['application/json']
|
|
681
|
+
const returnType = GenerateDeliveryWindowOptionsResponse
|
|
704
682
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
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
|
+
}
|
|
711
689
|
|
|
712
|
-
|
|
690
|
+
/**
|
|
713
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).
|
|
714
692
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
715
693
|
* @param {String} shipmentId The shipment to generate delivery window options for.
|
|
716
694
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse}
|
|
717
695
|
*/
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
696
|
+
generateDeliveryWindowOptions (inboundPlanId, shipmentId) {
|
|
697
|
+
return this.generateDeliveryWindowOptionsWithHttpInfo(inboundPlanId, shipmentId)
|
|
698
|
+
.then(function (response_and_data) {
|
|
699
|
+
return response_and_data.data
|
|
700
|
+
})
|
|
701
|
+
}
|
|
724
702
|
|
|
725
|
-
|
|
726
|
-
/**
|
|
703
|
+
/**
|
|
727
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).
|
|
728
705
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
729
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
|
|
730
707
|
*/
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
735
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
736
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePackingOptions");
|
|
737
|
-
}
|
|
708
|
+
generatePackingOptionsWithHttpInfo (inboundPlanId) {
|
|
709
|
+
const postBody = null
|
|
738
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
|
+
}
|
|
739
715
|
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
716
|
+
const pathParams = {
|
|
717
|
+
inboundPlanId
|
|
718
|
+
}
|
|
719
|
+
const queryParams = {
|
|
720
|
+
}
|
|
721
|
+
const headerParams = {
|
|
722
|
+
}
|
|
723
|
+
const formParams = {
|
|
724
|
+
}
|
|
749
725
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
726
|
+
const contentTypes = []
|
|
727
|
+
const accepts = ['application/json']
|
|
728
|
+
const returnType = GeneratePackingOptionsResponse
|
|
753
729
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
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
|
+
}
|
|
760
736
|
|
|
761
|
-
|
|
737
|
+
/**
|
|
762
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).
|
|
763
739
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
764
740
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse}
|
|
765
741
|
*/
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
742
|
+
generatePackingOptions (inboundPlanId) {
|
|
743
|
+
return this.generatePackingOptionsWithHttpInfo(inboundPlanId)
|
|
744
|
+
.then(function (response_and_data) {
|
|
745
|
+
return response_and_data.data
|
|
746
|
+
})
|
|
747
|
+
}
|
|
773
748
|
|
|
774
|
-
|
|
749
|
+
/**
|
|
775
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).
|
|
776
751
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
777
752
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
|
|
778
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
|
|
779
754
|
*/
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
784
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
785
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generatePlacementOptions");
|
|
786
|
-
}
|
|
755
|
+
generatePlacementOptionsWithHttpInfo (inboundPlanId, body) {
|
|
756
|
+
const postBody = body
|
|
787
757
|
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
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
|
+
}
|
|
792
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
|
+
}
|
|
793
767
|
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
768
|
+
const pathParams = {
|
|
769
|
+
inboundPlanId
|
|
770
|
+
}
|
|
771
|
+
const queryParams = {
|
|
772
|
+
}
|
|
773
|
+
const headerParams = {
|
|
774
|
+
}
|
|
775
|
+
const formParams = {
|
|
776
|
+
}
|
|
803
777
|
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
778
|
+
const contentTypes = ['application/json']
|
|
779
|
+
const accepts = ['application/json']
|
|
780
|
+
const returnType = GeneratePlacementOptionsResponse
|
|
807
781
|
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
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
|
+
}
|
|
814
788
|
|
|
815
|
-
|
|
789
|
+
/**
|
|
816
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).
|
|
817
791
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
818
792
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest} body The body of the request to `generatePlacementOptions`.
|
|
819
793
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse}
|
|
820
794
|
*/
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
795
|
+
generatePlacementOptions (inboundPlanId, body) {
|
|
796
|
+
return this.generatePlacementOptionsWithHttpInfo(inboundPlanId, body)
|
|
797
|
+
.then(function (response_and_data) {
|
|
798
|
+
return response_and_data.data
|
|
799
|
+
})
|
|
800
|
+
}
|
|
827
801
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
* 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).
|
|
831
804
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
832
805
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
833
806
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
|
|
834
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
|
|
835
808
|
*/
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
840
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
841
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateSelfShipAppointmentSlots");
|
|
842
|
-
}
|
|
809
|
+
generateSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
810
|
+
const postBody = body
|
|
843
811
|
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
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
|
+
}
|
|
848
816
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
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
|
+
}
|
|
853
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
|
+
}
|
|
854
826
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
827
|
+
const pathParams = {
|
|
828
|
+
inboundPlanId,
|
|
829
|
+
shipmentId
|
|
830
|
+
}
|
|
831
|
+
const queryParams = {
|
|
832
|
+
}
|
|
833
|
+
const headerParams = {
|
|
834
|
+
}
|
|
835
|
+
const formParams = {
|
|
836
|
+
}
|
|
865
837
|
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
838
|
+
const contentTypes = ['application/json']
|
|
839
|
+
const accepts = ['application/json']
|
|
840
|
+
const returnType = GenerateSelfShipAppointmentSlotsResponse
|
|
869
841
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
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
|
+
}
|
|
876
848
|
|
|
877
|
-
|
|
878
|
-
* 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).
|
|
879
851
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
880
852
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
881
853
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest} body The body of the request to `generateSelfShipAppointmentSlots`.
|
|
882
854
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse}
|
|
883
855
|
*/
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
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
|
+
}
|
|
891
862
|
|
|
892
|
-
|
|
863
|
+
/**
|
|
893
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).
|
|
894
865
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
895
866
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
896
867
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
|
|
897
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
|
|
898
869
|
*/
|
|
899
|
-
|
|
900
|
-
|
|
870
|
+
generateShipmentContentUpdatePreviewsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
871
|
+
const postBody = body
|
|
901
872
|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
// verify the required parameter 'shipmentId' is set
|
|
908
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
909
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling generateShipmentContentUpdatePreviews");
|
|
910
|
-
}
|
|
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
|
+
}
|
|
911
877
|
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
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
|
+
}
|
|
916
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
|
+
}
|
|
917
887
|
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
888
|
+
const pathParams = {
|
|
889
|
+
inboundPlanId,
|
|
890
|
+
shipmentId
|
|
891
|
+
}
|
|
892
|
+
const queryParams = {
|
|
893
|
+
}
|
|
894
|
+
const headerParams = {
|
|
895
|
+
}
|
|
896
|
+
const formParams = {
|
|
897
|
+
}
|
|
928
898
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
899
|
+
const contentTypes = ['application/json']
|
|
900
|
+
const accepts = ['application/json']
|
|
901
|
+
const returnType = GenerateShipmentContentUpdatePreviewsResponse
|
|
932
902
|
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
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
|
+
}
|
|
939
909
|
|
|
940
|
-
|
|
910
|
+
/**
|
|
941
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).
|
|
942
912
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
943
913
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
944
914
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest} body The body of the request to `generateShipmentContentUpdatePreviews`.
|
|
945
915
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse}
|
|
946
916
|
*/
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
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
|
+
}
|
|
953
923
|
|
|
954
|
-
|
|
955
|
-
/**
|
|
924
|
+
/**
|
|
956
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).
|
|
957
926
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
958
927
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
|
|
959
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
|
|
960
929
|
*/
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
965
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
966
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling generateTransportationOptions");
|
|
967
|
-
}
|
|
930
|
+
generateTransportationOptionsWithHttpInfo (inboundPlanId, body) {
|
|
931
|
+
const postBody = body
|
|
968
932
|
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
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
|
+
}
|
|
973
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
|
+
}
|
|
974
942
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
943
|
+
const pathParams = {
|
|
944
|
+
inboundPlanId
|
|
945
|
+
}
|
|
946
|
+
const queryParams = {
|
|
947
|
+
}
|
|
948
|
+
const headerParams = {
|
|
949
|
+
}
|
|
950
|
+
const formParams = {
|
|
951
|
+
}
|
|
984
952
|
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
953
|
+
const contentTypes = ['application/json']
|
|
954
|
+
const accepts = ['application/json']
|
|
955
|
+
const returnType = GenerateTransportationOptionsResponse
|
|
988
956
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
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
|
+
}
|
|
995
963
|
|
|
996
|
-
|
|
964
|
+
/**
|
|
997
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).
|
|
998
966
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
999
967
|
* @param {module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest} body The body of the request to `generateTransportationOptions`.
|
|
1000
968
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse}
|
|
1001
969
|
*/
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
970
|
+
generateTransportationOptions (inboundPlanId, body) {
|
|
971
|
+
return this.generateTransportationOptionsWithHttpInfo(inboundPlanId, body)
|
|
972
|
+
.then(function (response_and_data) {
|
|
973
|
+
return response_and_data.data
|
|
974
|
+
})
|
|
975
|
+
}
|
|
1008
976
|
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
977
|
+
/**
|
|
1011
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).
|
|
1012
979
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1013
980
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1014
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
|
|
1015
982
|
*/
|
|
1016
|
-
|
|
1017
|
-
|
|
983
|
+
getDeliveryChallanDocumentWithHttpInfo (inboundPlanId, shipmentId) {
|
|
984
|
+
const postBody = null
|
|
1018
985
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
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
|
+
}
|
|
1023
990
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
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
|
+
}
|
|
1028
995
|
|
|
996
|
+
const pathParams = {
|
|
997
|
+
inboundPlanId,
|
|
998
|
+
shipmentId
|
|
999
|
+
}
|
|
1000
|
+
const queryParams = {
|
|
1001
|
+
}
|
|
1002
|
+
const headerParams = {
|
|
1003
|
+
}
|
|
1004
|
+
const formParams = {
|
|
1005
|
+
}
|
|
1029
1006
|
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
};
|
|
1034
|
-
let queryParams = {
|
|
1035
|
-
};
|
|
1036
|
-
let headerParams = {
|
|
1037
|
-
};
|
|
1038
|
-
let formParams = {
|
|
1039
|
-
};
|
|
1007
|
+
const contentTypes = []
|
|
1008
|
+
const accepts = ['application/json']
|
|
1009
|
+
const returnType = GetDeliveryChallanDocumentResponse
|
|
1040
1010
|
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
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
|
+
}
|
|
1044
1017
|
|
|
1045
|
-
|
|
1046
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/deliveryChallanDocument', 'GET',
|
|
1047
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1048
|
-
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-getDeliveryChallanDocument')
|
|
1049
|
-
);
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1018
|
+
/**
|
|
1053
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).
|
|
1054
1020
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1055
1021
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1056
1022
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse}
|
|
1057
1023
|
*/
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1024
|
+
getDeliveryChallanDocument (inboundPlanId, shipmentId) {
|
|
1025
|
+
return this.getDeliveryChallanDocumentWithHttpInfo(inboundPlanId, shipmentId)
|
|
1026
|
+
.then(function (response_and_data) {
|
|
1027
|
+
return response_and_data.data
|
|
1028
|
+
})
|
|
1029
|
+
}
|
|
1064
1030
|
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1031
|
+
/**
|
|
1067
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).
|
|
1068
1033
|
* @param {String} operationId Identifier of an asynchronous operation.
|
|
1069
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
|
|
1070
1035
|
*/
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
// verify the required parameter 'operationId' is set
|
|
1075
|
-
if (operationId === undefined || operationId === null) {
|
|
1076
|
-
throw new Error("Missing the required parameter 'operationId' when calling getInboundOperationStatus");
|
|
1077
|
-
}
|
|
1036
|
+
getInboundOperationStatusWithHttpInfo (operationId) {
|
|
1037
|
+
const postBody = null
|
|
1078
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
|
+
}
|
|
1079
1043
|
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1044
|
+
const pathParams = {
|
|
1045
|
+
operationId
|
|
1046
|
+
}
|
|
1047
|
+
const queryParams = {
|
|
1048
|
+
}
|
|
1049
|
+
const headerParams = {
|
|
1050
|
+
}
|
|
1051
|
+
const formParams = {
|
|
1052
|
+
}
|
|
1089
1053
|
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1054
|
+
const contentTypes = []
|
|
1055
|
+
const accepts = ['application/json']
|
|
1056
|
+
const returnType = InboundOperationStatus
|
|
1093
1057
|
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
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
|
+
}
|
|
1100
1064
|
|
|
1101
|
-
|
|
1065
|
+
/**
|
|
1102
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).
|
|
1103
1067
|
* @param {String} operationId Identifier of an asynchronous operation.
|
|
1104
1068
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundOperationStatus}
|
|
1105
1069
|
*/
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1070
|
+
getInboundOperationStatus (operationId) {
|
|
1071
|
+
return this.getInboundOperationStatusWithHttpInfo(operationId)
|
|
1072
|
+
.then(function (response_and_data) {
|
|
1073
|
+
return response_and_data.data
|
|
1074
|
+
})
|
|
1075
|
+
}
|
|
1113
1076
|
|
|
1114
|
-
|
|
1077
|
+
/**
|
|
1115
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).
|
|
1116
1079
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1117
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
|
|
1118
1081
|
*/
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1123
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1124
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling getInboundPlan");
|
|
1125
|
-
}
|
|
1082
|
+
getInboundPlanWithHttpInfo (inboundPlanId) {
|
|
1083
|
+
const postBody = null
|
|
1126
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
|
+
}
|
|
1127
1089
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1090
|
+
const pathParams = {
|
|
1091
|
+
inboundPlanId
|
|
1092
|
+
}
|
|
1093
|
+
const queryParams = {
|
|
1094
|
+
}
|
|
1095
|
+
const headerParams = {
|
|
1096
|
+
}
|
|
1097
|
+
const formParams = {
|
|
1098
|
+
}
|
|
1137
1099
|
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1100
|
+
const contentTypes = []
|
|
1101
|
+
const accepts = ['application/json']
|
|
1102
|
+
const returnType = InboundPlan
|
|
1141
1103
|
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
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
|
+
}
|
|
1148
1110
|
|
|
1149
|
-
|
|
1111
|
+
/**
|
|
1150
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).
|
|
1151
1113
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1152
1114
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/InboundPlan}
|
|
1153
1115
|
*/
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1116
|
+
getInboundPlan (inboundPlanId) {
|
|
1117
|
+
return this.getInboundPlanWithHttpInfo(inboundPlanId)
|
|
1118
|
+
.then(function (response_and_data) {
|
|
1119
|
+
return response_and_data.data
|
|
1120
|
+
})
|
|
1121
|
+
}
|
|
1161
1122
|
|
|
1162
|
-
|
|
1163
|
-
* 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).
|
|
1164
1125
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1165
1126
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1166
1127
|
* @param {Object} opts Optional parameters
|
|
@@ -1168,47 +1129,46 @@ export class FbaInboundApi {
|
|
|
1168
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.
|
|
1169
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
|
|
1170
1131
|
*/
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1132
|
+
getSelfShipAppointmentSlotsWithHttpInfo (inboundPlanId, shipmentId, opts) {
|
|
1133
|
+
opts = opts || {}
|
|
1134
|
+
const postBody = null
|
|
1174
1135
|
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
// verify the required parameter 'shipmentId' is set
|
|
1181
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
1182
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling getSelfShipAppointmentSlots");
|
|
1183
|
-
}
|
|
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
|
+
}
|
|
1184
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
|
+
}
|
|
1185
1145
|
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
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
|
+
}
|
|
1198
1158
|
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1159
|
+
const contentTypes = []
|
|
1160
|
+
const accepts = ['application/json']
|
|
1161
|
+
const returnType = GetSelfShipAppointmentSlotsResponse
|
|
1202
1162
|
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
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
|
+
}
|
|
1209
1169
|
|
|
1210
|
-
|
|
1211
|
-
* 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).
|
|
1212
1172
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1213
1173
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1214
1174
|
* @param {Object} opts Optional parameters
|
|
@@ -1216,135 +1176,130 @@ export class FbaInboundApi {
|
|
|
1216
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.
|
|
1217
1177
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse}
|
|
1218
1178
|
*/
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
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
|
+
}
|
|
1226
1185
|
|
|
1227
|
-
|
|
1186
|
+
/**
|
|
1228
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).
|
|
1229
1188
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1230
1189
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1231
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
|
|
1232
1191
|
*/
|
|
1233
|
-
|
|
1234
|
-
|
|
1192
|
+
getShipmentWithHttpInfo (inboundPlanId, shipmentId) {
|
|
1193
|
+
const postBody = null
|
|
1235
1194
|
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
// verify the required parameter 'shipmentId' is set
|
|
1242
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
1243
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling getShipment");
|
|
1244
|
-
}
|
|
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
|
+
}
|
|
1245
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
|
+
}
|
|
1246
1204
|
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1205
|
+
const pathParams = {
|
|
1206
|
+
inboundPlanId,
|
|
1207
|
+
shipmentId
|
|
1208
|
+
}
|
|
1209
|
+
const queryParams = {
|
|
1210
|
+
}
|
|
1211
|
+
const headerParams = {
|
|
1212
|
+
}
|
|
1213
|
+
const formParams = {
|
|
1214
|
+
}
|
|
1257
1215
|
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1216
|
+
const contentTypes = []
|
|
1217
|
+
const accepts = ['application/json']
|
|
1218
|
+
const returnType = Shipment
|
|
1261
1219
|
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
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
|
+
}
|
|
1268
1226
|
|
|
1269
|
-
|
|
1227
|
+
/**
|
|
1270
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).
|
|
1271
1229
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1272
1230
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1273
1231
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/Shipment}
|
|
1274
1232
|
*/
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1233
|
+
getShipment (inboundPlanId, shipmentId) {
|
|
1234
|
+
return this.getShipmentWithHttpInfo(inboundPlanId, shipmentId)
|
|
1235
|
+
.then(function (response_and_data) {
|
|
1236
|
+
return response_and_data.data
|
|
1237
|
+
})
|
|
1238
|
+
}
|
|
1282
1239
|
|
|
1283
|
-
|
|
1240
|
+
/**
|
|
1284
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).
|
|
1285
1242
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1286
1243
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1287
1244
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
1288
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
|
|
1289
1246
|
*/
|
|
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
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
/**
|
|
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
|
+
/**
|
|
1333
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).
|
|
1334
1290
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1335
1291
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
1336
1292
|
* @param {String} contentUpdatePreviewId Identifier of a content update preview.
|
|
1337
1293
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview}
|
|
1338
1294
|
*/
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
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
|
+
}
|
|
1345
1301
|
|
|
1346
|
-
|
|
1347
|
-
/**
|
|
1302
|
+
/**
|
|
1348
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).
|
|
1349
1304
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1350
1305
|
* @param {String} shipmentId The shipment to get delivery window options for.
|
|
@@ -1353,46 +1308,45 @@ export class FbaInboundApi {
|
|
|
1353
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.
|
|
1354
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
|
|
1355
1310
|
*/
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
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
|
+
/**
|
|
1396
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).
|
|
1397
1351
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1398
1352
|
* @param {String} shipmentId The shipment to get delivery window options for.
|
|
@@ -1401,15 +1355,14 @@ export class FbaInboundApi {
|
|
|
1401
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.
|
|
1402
1356
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse}
|
|
1403
1357
|
*/
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
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
|
+
}
|
|
1410
1364
|
|
|
1411
|
-
|
|
1412
|
-
/**
|
|
1365
|
+
/**
|
|
1413
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).
|
|
1414
1367
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1415
1368
|
* @param {Object} opts Optional parameters
|
|
@@ -1417,40 +1370,39 @@ export class FbaInboundApi {
|
|
|
1417
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.
|
|
1418
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
|
|
1419
1372
|
*/
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1373
|
+
listInboundPlanBoxesWithHttpInfo (inboundPlanId, opts) {
|
|
1374
|
+
opts = opts || {}
|
|
1375
|
+
const postBody = null
|
|
1423
1376
|
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
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
|
+
}
|
|
1428
1381
|
|
|
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
|
+
}
|
|
1429
1393
|
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
let queryParams = {
|
|
1434
|
-
'pageSize': opts['pageSize'],
|
|
1435
|
-
'paginationToken': opts['paginationToken']
|
|
1436
|
-
};
|
|
1437
|
-
let headerParams = {
|
|
1438
|
-
};
|
|
1439
|
-
let formParams = {
|
|
1440
|
-
};
|
|
1394
|
+
const contentTypes = []
|
|
1395
|
+
const accepts = ['application/json']
|
|
1396
|
+
const returnType = ListInboundPlanBoxesResponse
|
|
1441
1397
|
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
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
|
+
}
|
|
1445
1404
|
|
|
1446
|
-
|
|
1447
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/boxes', 'GET',
|
|
1448
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
1449
|
-
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-listInboundPlanBoxes')
|
|
1450
|
-
);
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
/**
|
|
1405
|
+
/**
|
|
1454
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).
|
|
1455
1407
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1456
1408
|
* @param {Object} opts Optional parameters
|
|
@@ -1458,15 +1410,14 @@ export class FbaInboundApi {
|
|
|
1458
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.
|
|
1459
1411
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse}
|
|
1460
1412
|
*/
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1413
|
+
listInboundPlanBoxes (inboundPlanId, opts) {
|
|
1414
|
+
return this.listInboundPlanBoxesWithHttpInfo(inboundPlanId, opts)
|
|
1415
|
+
.then(function (response_and_data) {
|
|
1416
|
+
return response_and_data.data
|
|
1417
|
+
})
|
|
1418
|
+
}
|
|
1467
1419
|
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1420
|
+
/**
|
|
1470
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).
|
|
1471
1422
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1472
1423
|
* @param {Object} opts Optional parameters
|
|
@@ -1474,40 +1425,39 @@ export class FbaInboundApi {
|
|
|
1474
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.
|
|
1475
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
|
|
1476
1427
|
*/
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1482
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1483
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanItems");
|
|
1484
|
-
}
|
|
1428
|
+
listInboundPlanItemsWithHttpInfo (inboundPlanId, opts) {
|
|
1429
|
+
opts = opts || {}
|
|
1430
|
+
const postBody = null
|
|
1485
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
|
+
}
|
|
1486
1436
|
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
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
|
+
}
|
|
1498
1448
|
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1449
|
+
const contentTypes = []
|
|
1450
|
+
const accepts = ['application/json']
|
|
1451
|
+
const returnType = ListInboundPlanItemsResponse
|
|
1502
1452
|
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
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
|
+
}
|
|
1509
1459
|
|
|
1510
|
-
|
|
1460
|
+
/**
|
|
1511
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).
|
|
1512
1462
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1513
1463
|
* @param {Object} opts Optional parameters
|
|
@@ -1515,15 +1465,14 @@ export class FbaInboundApi {
|
|
|
1515
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.
|
|
1516
1466
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse}
|
|
1517
1467
|
*/
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1468
|
+
listInboundPlanItems (inboundPlanId, opts) {
|
|
1469
|
+
return this.listInboundPlanItemsWithHttpInfo(inboundPlanId, opts)
|
|
1470
|
+
.then(function (response_and_data) {
|
|
1471
|
+
return response_and_data.data
|
|
1472
|
+
})
|
|
1473
|
+
}
|
|
1525
1474
|
|
|
1526
|
-
|
|
1475
|
+
/**
|
|
1527
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).
|
|
1528
1477
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1529
1478
|
* @param {Object} opts Optional parameters
|
|
@@ -1531,40 +1480,39 @@ export class FbaInboundApi {
|
|
|
1531
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.
|
|
1532
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
|
|
1533
1482
|
*/
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1539
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1540
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listInboundPlanPallets");
|
|
1541
|
-
}
|
|
1483
|
+
listInboundPlanPalletsWithHttpInfo (inboundPlanId, opts) {
|
|
1484
|
+
opts = opts || {}
|
|
1485
|
+
const postBody = null
|
|
1542
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
|
+
}
|
|
1543
1491
|
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
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
|
+
}
|
|
1555
1503
|
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1504
|
+
const contentTypes = []
|
|
1505
|
+
const accepts = ['application/json']
|
|
1506
|
+
const returnType = ListInboundPlanPalletsResponse
|
|
1559
1507
|
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
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
|
+
}
|
|
1566
1514
|
|
|
1567
|
-
|
|
1515
|
+
/**
|
|
1568
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).
|
|
1569
1517
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1570
1518
|
* @param {Object} opts Optional parameters
|
|
@@ -1572,15 +1520,14 @@ export class FbaInboundApi {
|
|
|
1572
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.
|
|
1573
1521
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse}
|
|
1574
1522
|
*/
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1523
|
+
listInboundPlanPallets (inboundPlanId, opts) {
|
|
1524
|
+
return this.listInboundPlanPalletsWithHttpInfo(inboundPlanId, opts)
|
|
1525
|
+
.then(function (response_and_data) {
|
|
1526
|
+
return response_and_data.data
|
|
1527
|
+
})
|
|
1528
|
+
}
|
|
1581
1529
|
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1530
|
+
/**
|
|
1584
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).
|
|
1585
1532
|
* @param {Object} opts Optional parameters
|
|
1586
1533
|
* @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
|
|
@@ -1590,37 +1537,36 @@ export class FbaInboundApi {
|
|
|
1590
1537
|
* @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
|
|
1591
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
|
|
1592
1539
|
*/
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
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
|
+
/**
|
|
1624
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).
|
|
1625
1571
|
* @param {Object} opts Optional parameters
|
|
1626
1572
|
* @param {Number} opts.pageSize The number of inbound plans to return in the response matching the given query. (default to 10)
|
|
@@ -1630,71 +1576,68 @@ export class FbaInboundApi {
|
|
|
1630
1576
|
* @param {module:fulfillmentinbound_v2024_03_20/model/String} opts.sortOrder The sort order.
|
|
1631
1577
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse}
|
|
1632
1578
|
*/
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1579
|
+
listInboundPlans (opts) {
|
|
1580
|
+
return this.listInboundPlansWithHttpInfo(opts)
|
|
1581
|
+
.then(function (response_and_data) {
|
|
1582
|
+
return response_and_data.data
|
|
1583
|
+
})
|
|
1584
|
+
}
|
|
1639
1585
|
|
|
1640
|
-
|
|
1641
|
-
/**
|
|
1586
|
+
/**
|
|
1642
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).
|
|
1643
1588
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1644
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).
|
|
1645
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
|
|
1646
1591
|
*/
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
// verify the required parameter 'mskus' is set
|
|
1651
|
-
if (mskus === undefined || mskus === null) {
|
|
1652
|
-
throw new Error("Missing the required parameter 'mskus' when calling listItemComplianceDetails");
|
|
1653
|
-
}
|
|
1592
|
+
listItemComplianceDetailsWithHttpInfo (mskus, marketplaceId) {
|
|
1593
|
+
const postBody = null
|
|
1654
1594
|
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
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
|
+
}
|
|
1659
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
|
+
}
|
|
1660
1604
|
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
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
|
+
}
|
|
1671
1615
|
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1616
|
+
const contentTypes = []
|
|
1617
|
+
const accepts = ['application/json']
|
|
1618
|
+
const returnType = ListItemComplianceDetailsResponse
|
|
1675
1619
|
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
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
|
+
}
|
|
1682
1626
|
|
|
1683
|
-
|
|
1627
|
+
/**
|
|
1684
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).
|
|
1685
1629
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1686
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).
|
|
1687
1631
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse}
|
|
1688
1632
|
*/
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1633
|
+
listItemComplianceDetails (mskus, marketplaceId) {
|
|
1634
|
+
return this.listItemComplianceDetailsWithHttpInfo(mskus, marketplaceId)
|
|
1635
|
+
.then(function (response_and_data) {
|
|
1636
|
+
return response_and_data.data
|
|
1637
|
+
})
|
|
1638
|
+
}
|
|
1695
1639
|
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1640
|
+
/**
|
|
1698
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).
|
|
1699
1642
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1700
1643
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1703,46 +1646,45 @@ export class FbaInboundApi {
|
|
|
1703
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.
|
|
1704
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
|
|
1705
1648
|
*/
|
|
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
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
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
|
+
/**
|
|
1746
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).
|
|
1747
1689
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1748
1690
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1751,15 +1693,14 @@ export class FbaInboundApi {
|
|
|
1751
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.
|
|
1752
1694
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse}
|
|
1753
1695
|
*/
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
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
|
+
}
|
|
1760
1702
|
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1703
|
+
/**
|
|
1763
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).
|
|
1764
1705
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1765
1706
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1768,46 +1709,45 @@ export class FbaInboundApi {
|
|
|
1768
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.
|
|
1769
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
|
|
1770
1711
|
*/
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
/**
|
|
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
|
+
/**
|
|
1811
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).
|
|
1812
1752
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1813
1753
|
* @param {String} packingGroupId Identifier of a packing group.
|
|
@@ -1816,15 +1756,14 @@ export class FbaInboundApi {
|
|
|
1816
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.
|
|
1817
1757
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse}
|
|
1818
1758
|
*/
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
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
|
+
}
|
|
1826
1765
|
|
|
1827
|
-
|
|
1766
|
+
/**
|
|
1828
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).
|
|
1829
1768
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1830
1769
|
* @param {Object} opts Optional parameters
|
|
@@ -1832,40 +1771,39 @@ export class FbaInboundApi {
|
|
|
1832
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.
|
|
1833
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
|
|
1834
1773
|
*/
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1840
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1841
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPackingOptions");
|
|
1842
|
-
}
|
|
1774
|
+
listPackingOptionsWithHttpInfo (inboundPlanId, opts) {
|
|
1775
|
+
opts = opts || {}
|
|
1776
|
+
const postBody = null
|
|
1843
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
|
+
}
|
|
1844
1782
|
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
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
|
+
}
|
|
1856
1794
|
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1795
|
+
const contentTypes = []
|
|
1796
|
+
const accepts = ['application/json']
|
|
1797
|
+
const returnType = ListPackingOptionsResponse
|
|
1860
1798
|
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
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
|
+
}
|
|
1867
1805
|
|
|
1868
|
-
|
|
1806
|
+
/**
|
|
1869
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).
|
|
1870
1808
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1871
1809
|
* @param {Object} opts Optional parameters
|
|
@@ -1873,15 +1811,14 @@ export class FbaInboundApi {
|
|
|
1873
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.
|
|
1874
1812
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse}
|
|
1875
1813
|
*/
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1814
|
+
listPackingOptions (inboundPlanId, opts) {
|
|
1815
|
+
return this.listPackingOptionsWithHttpInfo(inboundPlanId, opts)
|
|
1816
|
+
.then(function (response_and_data) {
|
|
1817
|
+
return response_and_data.data
|
|
1818
|
+
})
|
|
1819
|
+
}
|
|
1882
1820
|
|
|
1883
|
-
|
|
1884
|
-
/**
|
|
1821
|
+
/**
|
|
1885
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).
|
|
1886
1823
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1887
1824
|
* @param {Object} opts Optional parameters
|
|
@@ -1889,40 +1826,39 @@ export class FbaInboundApi {
|
|
|
1889
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.
|
|
1890
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
|
|
1891
1828
|
*/
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
1897
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
1898
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling listPlacementOptions");
|
|
1899
|
-
}
|
|
1829
|
+
listPlacementOptionsWithHttpInfo (inboundPlanId, opts) {
|
|
1830
|
+
opts = opts || {}
|
|
1831
|
+
const postBody = null
|
|
1900
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
|
+
}
|
|
1901
1837
|
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
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
|
+
}
|
|
1913
1849
|
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1850
|
+
const contentTypes = []
|
|
1851
|
+
const accepts = ['application/json']
|
|
1852
|
+
const returnType = ListPlacementOptionsResponse
|
|
1917
1853
|
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
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
|
+
}
|
|
1924
1860
|
|
|
1925
|
-
|
|
1861
|
+
/**
|
|
1926
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).
|
|
1927
1863
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
1928
1864
|
* @param {Object} opts Optional parameters
|
|
@@ -1930,71 +1866,68 @@ export class FbaInboundApi {
|
|
|
1930
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.
|
|
1931
1867
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse}
|
|
1932
1868
|
*/
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1869
|
+
listPlacementOptions (inboundPlanId, opts) {
|
|
1870
|
+
return this.listPlacementOptionsWithHttpInfo(inboundPlanId, opts)
|
|
1871
|
+
.then(function (response_and_data) {
|
|
1872
|
+
return response_and_data.data
|
|
1873
|
+
})
|
|
1874
|
+
}
|
|
1940
1875
|
|
|
1941
|
-
|
|
1876
|
+
/**
|
|
1942
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).
|
|
1943
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).
|
|
1944
1879
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1945
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
|
|
1946
1881
|
*/
|
|
1947
|
-
|
|
1948
|
-
|
|
1882
|
+
listPrepDetailsWithHttpInfo (marketplaceId, mskus) {
|
|
1883
|
+
const postBody = null
|
|
1949
1884
|
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
// verify the required parameter 'mskus' is set
|
|
1956
|
-
if (mskus === undefined || mskus === null) {
|
|
1957
|
-
throw new Error("Missing the required parameter 'mskus' when calling listPrepDetails");
|
|
1958
|
-
}
|
|
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
|
+
}
|
|
1959
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
|
+
}
|
|
1960
1894
|
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
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
|
+
}
|
|
1971
1905
|
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1906
|
+
const contentTypes = []
|
|
1907
|
+
const accepts = ['application/json']
|
|
1908
|
+
const returnType = ListPrepDetailsResponse
|
|
1975
1909
|
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
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
|
+
}
|
|
1982
1916
|
|
|
1983
|
-
|
|
1917
|
+
/**
|
|
1984
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).
|
|
1985
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).
|
|
1986
1920
|
* @param {Array.<String>} mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
|
|
1987
1921
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse}
|
|
1988
1922
|
*/
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1923
|
+
listPrepDetails (marketplaceId, mskus) {
|
|
1924
|
+
return this.listPrepDetailsWithHttpInfo(marketplaceId, mskus)
|
|
1925
|
+
.then(function (response_and_data) {
|
|
1926
|
+
return response_and_data.data
|
|
1927
|
+
})
|
|
1928
|
+
}
|
|
1995
1929
|
|
|
1996
|
-
|
|
1997
|
-
/**
|
|
1930
|
+
/**
|
|
1998
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).
|
|
1999
1932
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2000
1933
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2003,46 +1936,45 @@ export class FbaInboundApi {
|
|
|
2003
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.
|
|
2004
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
|
|
2005
1938
|
*/
|
|
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
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
/**
|
|
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
|
+
/**
|
|
2046
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).
|
|
2047
1979
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2048
1980
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2051,15 +1983,14 @@ export class FbaInboundApi {
|
|
|
2051
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.
|
|
2052
1984
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse}
|
|
2053
1985
|
*/
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
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
|
+
}
|
|
2060
1992
|
|
|
2061
|
-
|
|
2062
|
-
/**
|
|
1993
|
+
/**
|
|
2063
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).
|
|
2064
1995
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2065
1996
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2068,46 +1999,45 @@ export class FbaInboundApi {
|
|
|
2068
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.
|
|
2069
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
|
|
2070
2001
|
*/
|
|
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
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
/**
|
|
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
|
+
/**
|
|
2111
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).
|
|
2112
2042
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2113
2043
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2116,15 +2046,14 @@ export class FbaInboundApi {
|
|
|
2116
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.
|
|
2117
2047
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse}
|
|
2118
2048
|
*/
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
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
|
+
}
|
|
2126
2055
|
|
|
2127
|
-
|
|
2056
|
+
/**
|
|
2128
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).
|
|
2129
2058
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2130
2059
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2133,46 +2062,45 @@ export class FbaInboundApi {
|
|
|
2133
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.
|
|
2134
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
|
|
2135
2064
|
*/
|
|
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
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
/**
|
|
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
|
+
/**
|
|
2176
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).
|
|
2177
2105
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2178
2106
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2181,15 +2109,14 @@ export class FbaInboundApi {
|
|
|
2181
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.
|
|
2182
2110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse}
|
|
2183
2111
|
*/
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
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
|
+
}
|
|
2191
2118
|
|
|
2192
|
-
|
|
2119
|
+
/**
|
|
2193
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).
|
|
2194
2121
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2195
2122
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2198,46 +2125,45 @@ export class FbaInboundApi {
|
|
|
2198
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.
|
|
2199
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
|
|
2200
2127
|
*/
|
|
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
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
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
|
+
/**
|
|
2241
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).
|
|
2242
2168
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2243
2169
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
@@ -2246,15 +2172,14 @@ export class FbaInboundApi {
|
|
|
2246
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.
|
|
2247
2173
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse}
|
|
2248
2174
|
*/
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
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
|
+
}
|
|
2256
2181
|
|
|
2257
|
-
|
|
2182
|
+
/**
|
|
2258
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).
|
|
2259
2184
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2260
2185
|
* @param {Object} opts Optional parameters
|
|
@@ -2264,42 +2189,41 @@ export class FbaInboundApi {
|
|
|
2264
2189
|
* @param {String} opts.shipmentId The shipment to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
|
|
2265
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
|
|
2266
2191
|
*/
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
/**
|
|
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
|
+
/**
|
|
2303
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).
|
|
2304
2228
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2305
2229
|
* @param {Object} opts Optional parameters
|
|
@@ -2309,484 +2233,466 @@ export class FbaInboundApi {
|
|
|
2309
2233
|
* @param {String} opts.shipmentId The shipment to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
|
|
2310
2234
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse}
|
|
2311
2235
|
*/
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2236
|
+
listTransportationOptions (inboundPlanId, opts) {
|
|
2237
|
+
return this.listTransportationOptionsWithHttpInfo(inboundPlanId, opts)
|
|
2238
|
+
.then(function (response_and_data) {
|
|
2239
|
+
return response_and_data.data
|
|
2240
|
+
})
|
|
2241
|
+
}
|
|
2319
2242
|
|
|
2320
|
-
|
|
2321
|
-
* 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).
|
|
2322
2245
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2323
2246
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2324
2247
|
* @param {String} slotId An identifier to a self-ship appointment slot.
|
|
2325
2248
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to `scheduleSelfShipAppointment`.
|
|
2326
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
|
|
2327
2250
|
*/
|
|
2328
|
-
|
|
2329
|
-
|
|
2251
|
+
scheduleSelfShipAppointmentWithHttpInfo (inboundPlanId, shipmentId, slotId, body) {
|
|
2252
|
+
const postBody = body
|
|
2330
2253
|
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
// verify the required parameter 'shipmentId' is set
|
|
2337
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
2338
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling scheduleSelfShipAppointment");
|
|
2339
|
-
}
|
|
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
|
+
}
|
|
2340
2258
|
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
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
|
+
}
|
|
2345
2263
|
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
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
|
+
}
|
|
2350
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
|
+
}
|
|
2351
2273
|
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2274
|
+
const pathParams = {
|
|
2275
|
+
inboundPlanId,
|
|
2276
|
+
shipmentId,
|
|
2277
|
+
slotId
|
|
2278
|
+
}
|
|
2279
|
+
const queryParams = {
|
|
2280
|
+
}
|
|
2281
|
+
const headerParams = {
|
|
2282
|
+
}
|
|
2283
|
+
const formParams = {
|
|
2284
|
+
}
|
|
2363
2285
|
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2286
|
+
const contentTypes = ['application/json']
|
|
2287
|
+
const accepts = ['application/json']
|
|
2288
|
+
const returnType = ScheduleSelfShipAppointmentResponse
|
|
2367
2289
|
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
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
|
+
}
|
|
2374
2296
|
|
|
2375
|
-
|
|
2376
|
-
* 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).
|
|
2377
2299
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2378
2300
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2379
2301
|
* @param {String} slotId An identifier to a self-ship appointment slot.
|
|
2380
2302
|
* @param {module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest} body The body of the request to `scheduleSelfShipAppointment`.
|
|
2381
2303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse}
|
|
2382
2304
|
*/
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
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
|
+
}
|
|
2390
2311
|
|
|
2391
|
-
|
|
2312
|
+
/**
|
|
2392
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).
|
|
2393
2314
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2394
2315
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to `setPackingInformation`.
|
|
2395
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
|
|
2396
2317
|
*/
|
|
2397
|
-
|
|
2398
|
-
|
|
2318
|
+
setPackingInformationWithHttpInfo (inboundPlanId, body) {
|
|
2319
|
+
const postBody = body
|
|
2399
2320
|
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
// verify the required parameter 'body' is set
|
|
2406
|
-
if (body === undefined || body === null) {
|
|
2407
|
-
throw new Error("Missing the required parameter 'body' when calling setPackingInformation");
|
|
2408
|
-
}
|
|
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
|
+
}
|
|
2409
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
|
+
}
|
|
2410
2330
|
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2331
|
+
const pathParams = {
|
|
2332
|
+
inboundPlanId
|
|
2333
|
+
}
|
|
2334
|
+
const queryParams = {
|
|
2335
|
+
}
|
|
2336
|
+
const headerParams = {
|
|
2337
|
+
}
|
|
2338
|
+
const formParams = {
|
|
2339
|
+
}
|
|
2420
2340
|
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2341
|
+
const contentTypes = ['application/json']
|
|
2342
|
+
const accepts = ['application/json']
|
|
2343
|
+
const returnType = SetPackingInformationResponse
|
|
2424
2344
|
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
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
|
+
}
|
|
2431
2351
|
|
|
2432
|
-
|
|
2352
|
+
/**
|
|
2433
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).
|
|
2434
2354
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2435
2355
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest} body The body of the request to `setPackingInformation`.
|
|
2436
2356
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse}
|
|
2437
2357
|
*/
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2358
|
+
setPackingInformation (inboundPlanId, body) {
|
|
2359
|
+
return this.setPackingInformationWithHttpInfo(inboundPlanId, body)
|
|
2360
|
+
.then(function (response_and_data) {
|
|
2361
|
+
return response_and_data.data
|
|
2362
|
+
})
|
|
2363
|
+
}
|
|
2445
2364
|
|
|
2446
|
-
|
|
2365
|
+
/**
|
|
2447
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).
|
|
2448
2367
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to `setPrepDetails`.
|
|
2449
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
|
|
2450
2369
|
*/
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
// verify the required parameter 'body' is set
|
|
2455
|
-
if (body === undefined || body === null) {
|
|
2456
|
-
throw new Error("Missing the required parameter 'body' when calling setPrepDetails");
|
|
2457
|
-
}
|
|
2370
|
+
setPrepDetailsWithHttpInfo (body) {
|
|
2371
|
+
const postBody = body
|
|
2458
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
|
+
}
|
|
2459
2377
|
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2378
|
+
const pathParams = {
|
|
2379
|
+
}
|
|
2380
|
+
const queryParams = {
|
|
2381
|
+
}
|
|
2382
|
+
const headerParams = {
|
|
2383
|
+
}
|
|
2384
|
+
const formParams = {
|
|
2385
|
+
}
|
|
2468
2386
|
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2387
|
+
const contentTypes = ['application/json']
|
|
2388
|
+
const accepts = ['application/json']
|
|
2389
|
+
const returnType = SetPrepDetailsResponse
|
|
2472
2390
|
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
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
|
+
}
|
|
2479
2397
|
|
|
2480
|
-
|
|
2398
|
+
/**
|
|
2481
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).
|
|
2482
2400
|
* @param {module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest} body The body of the request to `setPrepDetails`.
|
|
2483
2401
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse}
|
|
2484
2402
|
*/
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2403
|
+
setPrepDetails (body) {
|
|
2404
|
+
return this.setPrepDetailsWithHttpInfo(body)
|
|
2405
|
+
.then(function (response_and_data) {
|
|
2406
|
+
return response_and_data.data
|
|
2407
|
+
})
|
|
2408
|
+
}
|
|
2492
2409
|
|
|
2493
|
-
|
|
2410
|
+
/**
|
|
2494
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).
|
|
2495
2412
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2496
2413
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to `updateInboundPlanName`.
|
|
2497
2414
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2498
2415
|
*/
|
|
2499
|
-
|
|
2500
|
-
|
|
2416
|
+
updateInboundPlanNameWithHttpInfo (inboundPlanId, body) {
|
|
2417
|
+
const postBody = body
|
|
2501
2418
|
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
// verify the required parameter 'body' is set
|
|
2508
|
-
if (body === undefined || body === null) {
|
|
2509
|
-
throw new Error("Missing the required parameter 'body' when calling updateInboundPlanName");
|
|
2510
|
-
}
|
|
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
|
+
}
|
|
2511
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
|
+
}
|
|
2512
2428
|
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2429
|
+
const pathParams = {
|
|
2430
|
+
inboundPlanId
|
|
2431
|
+
}
|
|
2432
|
+
const queryParams = {
|
|
2433
|
+
}
|
|
2434
|
+
const headerParams = {
|
|
2435
|
+
}
|
|
2436
|
+
const formParams = {
|
|
2437
|
+
}
|
|
2522
2438
|
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2439
|
+
const contentTypes = ['application/json']
|
|
2440
|
+
const accepts = ['application/json']
|
|
2441
|
+
const returnType = null
|
|
2526
2442
|
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
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
|
+
}
|
|
2533
2449
|
|
|
2534
|
-
|
|
2450
|
+
/**
|
|
2535
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).
|
|
2536
2452
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2537
2453
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest} body The body of the request to `updateInboundPlanName`.
|
|
2538
2454
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2539
2455
|
*/
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2456
|
+
updateInboundPlanName (inboundPlanId, body) {
|
|
2457
|
+
return this.updateInboundPlanNameWithHttpInfo(inboundPlanId, body)
|
|
2458
|
+
.then(function (response_and_data) {
|
|
2459
|
+
return response_and_data.data
|
|
2460
|
+
})
|
|
2461
|
+
}
|
|
2547
2462
|
|
|
2548
|
-
|
|
2463
|
+
/**
|
|
2549
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).
|
|
2550
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).
|
|
2551
2466
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to `updateItemComplianceDetails`.
|
|
2552
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
|
|
2553
2468
|
*/
|
|
2554
|
-
|
|
2555
|
-
|
|
2469
|
+
updateItemComplianceDetailsWithHttpInfo (marketplaceId, body) {
|
|
2470
|
+
const postBody = body
|
|
2556
2471
|
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
// verify the required parameter 'body' is set
|
|
2563
|
-
if (body === undefined || body === null) {
|
|
2564
|
-
throw new Error("Missing the required parameter 'body' when calling updateItemComplianceDetails");
|
|
2565
|
-
}
|
|
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
|
+
}
|
|
2566
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
|
+
}
|
|
2567
2481
|
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2482
|
+
const pathParams = {
|
|
2483
|
+
}
|
|
2484
|
+
const queryParams = {
|
|
2485
|
+
marketplaceId
|
|
2486
|
+
}
|
|
2487
|
+
const headerParams = {
|
|
2488
|
+
}
|
|
2489
|
+
const formParams = {
|
|
2490
|
+
}
|
|
2577
2491
|
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2492
|
+
const contentTypes = ['application/json']
|
|
2493
|
+
const accepts = ['application/json']
|
|
2494
|
+
const returnType = UpdateItemComplianceDetailsResponse
|
|
2581
2495
|
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
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
|
+
}
|
|
2588
2502
|
|
|
2589
|
-
|
|
2503
|
+
/**
|
|
2590
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).
|
|
2591
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).
|
|
2592
2506
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest} body The body of the request to `updateItemComplianceDetails`.
|
|
2593
2507
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse}
|
|
2594
2508
|
*/
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2509
|
+
updateItemComplianceDetails (marketplaceId, body) {
|
|
2510
|
+
return this.updateItemComplianceDetailsWithHttpInfo(marketplaceId, body)
|
|
2511
|
+
.then(function (response_and_data) {
|
|
2512
|
+
return response_and_data.data
|
|
2513
|
+
})
|
|
2514
|
+
}
|
|
2602
2515
|
|
|
2603
|
-
|
|
2516
|
+
/**
|
|
2604
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).
|
|
2605
2518
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2606
2519
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2607
2520
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to `updateShipmentName`.
|
|
2608
2521
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2609
2522
|
*/
|
|
2610
|
-
|
|
2611
|
-
|
|
2523
|
+
updateShipmentNameWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2524
|
+
const postBody = body
|
|
2612
2525
|
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
// verify the required parameter 'shipmentId' is set
|
|
2619
|
-
if (shipmentId === undefined || shipmentId === null) {
|
|
2620
|
-
throw new Error("Missing the required parameter 'shipmentId' when calling updateShipmentName");
|
|
2621
|
-
}
|
|
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
|
+
}
|
|
2622
2530
|
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
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
|
+
}
|
|
2627
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
|
+
}
|
|
2628
2540
|
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2541
|
+
const pathParams = {
|
|
2542
|
+
inboundPlanId,
|
|
2543
|
+
shipmentId
|
|
2544
|
+
}
|
|
2545
|
+
const queryParams = {
|
|
2546
|
+
}
|
|
2547
|
+
const headerParams = {
|
|
2548
|
+
}
|
|
2549
|
+
const formParams = {
|
|
2550
|
+
}
|
|
2639
2551
|
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2552
|
+
const contentTypes = ['application/json']
|
|
2553
|
+
const accepts = ['application/json']
|
|
2554
|
+
const returnType = null
|
|
2643
2555
|
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
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
|
+
}
|
|
2650
2562
|
|
|
2651
|
-
|
|
2563
|
+
/**
|
|
2652
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).
|
|
2653
2565
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2654
2566
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2655
2567
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest} body The body of the request to `updateShipmentName`.
|
|
2656
2568
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
2657
2569
|
*/
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
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
|
+
}
|
|
2665
2576
|
|
|
2666
|
-
|
|
2577
|
+
/**
|
|
2667
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).
|
|
2668
2579
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2669
2580
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2670
2581
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to `updateShipmentSourceAddress`.
|
|
2671
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
|
|
2672
2583
|
*/
|
|
2673
|
-
|
|
2674
|
-
|
|
2584
|
+
updateShipmentSourceAddressWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2585
|
+
const postBody = body
|
|
2675
2586
|
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
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
|
+
}
|
|
2680
2591
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
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
|
+
}
|
|
2685
2596
|
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
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
|
+
}
|
|
2690
2601
|
|
|
2602
|
+
const pathParams = {
|
|
2603
|
+
inboundPlanId,
|
|
2604
|
+
shipmentId
|
|
2605
|
+
}
|
|
2606
|
+
const queryParams = {
|
|
2607
|
+
}
|
|
2608
|
+
const headerParams = {
|
|
2609
|
+
}
|
|
2610
|
+
const formParams = {
|
|
2611
|
+
}
|
|
2691
2612
|
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
};
|
|
2696
|
-
let queryParams = {
|
|
2697
|
-
};
|
|
2698
|
-
let headerParams = {
|
|
2699
|
-
};
|
|
2700
|
-
let formParams = {
|
|
2701
|
-
};
|
|
2613
|
+
const contentTypes = ['application/json']
|
|
2614
|
+
const accepts = ['application/json']
|
|
2615
|
+
const returnType = UpdateShipmentSourceAddressResponse
|
|
2702
2616
|
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
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
|
+
}
|
|
2706
2623
|
|
|
2707
|
-
|
|
2708
|
-
'/inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/shipments/{shipmentId}/sourceAddress', 'PUT',
|
|
2709
|
-
pathParams, queryParams, headerParams, formParams, postBody,
|
|
2710
|
-
contentTypes, accepts, returnType, this.getRateLimiter('FbaInboundApi-updateShipmentSourceAddress')
|
|
2711
|
-
);
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
/**
|
|
2624
|
+
/**
|
|
2715
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).
|
|
2716
2626
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2717
2627
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2718
2628
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest} body The body of the request to `updateShipmentSourceAddress`.
|
|
2719
2629
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse}
|
|
2720
2630
|
*/
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
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
|
+
}
|
|
2727
2637
|
|
|
2728
|
-
|
|
2729
|
-
/**
|
|
2638
|
+
/**
|
|
2730
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).
|
|
2731
2640
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2732
2641
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2733
2642
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to `updateShipmentTrackingDetails`.
|
|
2734
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
|
|
2735
2644
|
*/
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
// verify the required parameter 'inboundPlanId' is set
|
|
2740
|
-
if (inboundPlanId === undefined || inboundPlanId === null) {
|
|
2741
|
-
throw new Error("Missing the required parameter 'inboundPlanId' when calling updateShipmentTrackingDetails");
|
|
2742
|
-
}
|
|
2645
|
+
updateShipmentTrackingDetailsWithHttpInfo (inboundPlanId, shipmentId, body) {
|
|
2646
|
+
const postBody = body
|
|
2743
2647
|
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
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
|
+
}
|
|
2748
2652
|
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
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
|
+
}
|
|
2753
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
|
+
}
|
|
2754
2662
|
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2663
|
+
const pathParams = {
|
|
2664
|
+
inboundPlanId,
|
|
2665
|
+
shipmentId
|
|
2666
|
+
}
|
|
2667
|
+
const queryParams = {
|
|
2668
|
+
}
|
|
2669
|
+
const headerParams = {
|
|
2670
|
+
}
|
|
2671
|
+
const formParams = {
|
|
2672
|
+
}
|
|
2765
2673
|
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2674
|
+
const contentTypes = ['application/json']
|
|
2675
|
+
const accepts = ['application/json']
|
|
2676
|
+
const returnType = UpdateShipmentTrackingDetailsResponse
|
|
2769
2677
|
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
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
|
+
}
|
|
2776
2684
|
|
|
2777
|
-
|
|
2685
|
+
/**
|
|
2778
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).
|
|
2779
2687
|
* @param {String} inboundPlanId Identifier of an inbound plan.
|
|
2780
2688
|
* @param {String} shipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
|
|
2781
2689
|
* @param {module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest} body The body of the request to `updateShipmentTrackingDetails`.
|
|
2782
2690
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse}
|
|
2783
2691
|
*/
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
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
|
+
}
|
|
2792
2698
|
}
|