Class: Peddler::APIs::FulfillmentInbound20240320
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::FulfillmentInbound20240320
- Defined in:
- lib/peddler/apis/fulfillment_inbound_2024_03_20.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/box.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/dates.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/error.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/quote.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/pallet.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/region.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/weight.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/window.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/address.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/carrier.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/tax_rate.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/box_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/incentive.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/dimensions.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/error_list.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/item_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/pagination.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/tax_details.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/inbound_plan.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/pallet_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/weight_range.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/window_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/address_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/msku_quantity.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/packing_option.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_source.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/appointment_slot.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/box_requirements.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/box_update_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/msku_prep_detail.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/placement_option.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/prep_instruction.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_summary.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/tracking_details.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/compliance_detail.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/document_download.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/operation_problem.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/requested_updates.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_item.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/carrier_appointment.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/contact_information.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/freight_information.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/ltl_tracking_detail.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_detail.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/inbound_plan_summary.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_destination.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/appointment_slot_time.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/packing_configuration.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipping_requirements.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/transportation_option.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/content_update_preview.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/custom_placement_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/delivery_window_option.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/msku_prep_detail_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/package_grouping_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/packing_option_summary.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipping_configuration.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/tracking_details_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_item_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/inbound_operation_status.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/placement_option_summary.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/selected_delivery_window.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/set_prep_details_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/transportation_selection.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/ltl_tracking_detail_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/set_prep_details_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/spd_tracking_detail_input.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_prep_details_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/create_inbound_plan_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_inbound_plans_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/cancel_inbound_plan_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/create_inbound_plan_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_shipment_boxes_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_shipment_items_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_shipment_name_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_packing_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/self_ship_appointment_details.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_shipment_pallets_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_packing_option_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_placement_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/set_packing_information_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_inbound_plan_boxes_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_inbound_plan_items_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/set_packing_information_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_inbound_plan_name_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_placement_option_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_packing_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_packing_group_boxes_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_packing_group_items_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_placement_options_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_inbound_plan_pallets_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_placement_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/cancel_self_ship_appointment_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_transportation_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/cancel_self_ship_appointment_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_delivery_window_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_item_compliance_details_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/shipment_transportation_configuration.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_transportation_options_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/create_marketplace_item_labels_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/get_delivery_challan_document_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/schedule_self_ship_appointment_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_item_compliance_details_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_shipment_source_address_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_transportation_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/create_marketplace_item_labels_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_transportation_options_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/schedule_self_ship_appointment_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_item_compliance_details_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_shipment_source_address_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_delivery_window_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_transportation_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/get_self_ship_appointment_slots_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/self_ship_appointment_slots_availability.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_shipment_tracking_details_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_delivery_window_options_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/update_shipment_tracking_details_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_self_ship_appointment_slots_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_self_ship_appointment_slots_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/list_shipment_content_update_previews_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/confirm_shipment_content_update_preview_response.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_shipment_content_update_previews_request.rb,
lib/peddler/apis/fulfillment_inbound_2024_03_20/generate_shipment_content_update_previews_response.rb,
sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Overview
The Selling Partner API for FBA inbound operations.
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.
Defined Under Namespace
Classes: Address, AddressInput, AppointmentSlot, AppointmentSlotTime, Box, BoxInput, BoxRequirements, BoxUpdateInput, CancelInboundPlanResponse, CancelSelfShipAppointmentRequest, CancelSelfShipAppointmentResponse, Carrier, CarrierAppointment, ComplianceDetail, ConfirmDeliveryWindowOptionsResponse, ConfirmPackingOptionResponse, ConfirmPlacementOptionResponse, ConfirmShipmentContentUpdatePreviewResponse, ConfirmTransportationOptionsRequest, ConfirmTransportationOptionsResponse, ContactInformation, ContentUpdatePreview, CreateInboundPlanRequest, CreateInboundPlanResponse, CreateMarketplaceItemLabelsRequest, CreateMarketplaceItemLabelsResponse, CustomPlacementInput, Dates, DeliveryWindowOption, Dimensions, DocumentDownload, Error, ErrorList, FreightInformation, GenerateDeliveryWindowOptionsResponse, GeneratePackingOptionsResponse, GeneratePlacementOptionsRequest, GeneratePlacementOptionsResponse, GenerateSelfShipAppointmentSlotsRequest, GenerateSelfShipAppointmentSlotsResponse, GenerateShipmentContentUpdatePreviewsRequest, GenerateShipmentContentUpdatePreviewsResponse, GenerateTransportationOptionsRequest, GenerateTransportationOptionsResponse, GetDeliveryChallanDocumentResponse, GetSelfShipAppointmentSlotsResponse, InboundOperationStatus, InboundPlan, InboundPlanSummary, Incentive, Item, ItemInput, ListDeliveryWindowOptionsResponse, ListInboundPlanBoxesResponse, ListInboundPlanItemsResponse, ListInboundPlanPalletsResponse, ListInboundPlansResponse, ListItemComplianceDetailsResponse, ListPackingGroupBoxesResponse, ListPackingGroupItemsResponse, ListPackingOptionsResponse, ListPlacementOptionsResponse, ListPrepDetailsResponse, ListShipmentBoxesResponse, ListShipmentContentUpdatePreviewsResponse, ListShipmentItemsResponse, ListShipmentPalletsResponse, ListTransportationOptionsResponse, LtlTrackingDetail, LtlTrackingDetailInput, MskuPrepDetail, MskuPrepDetailInput, MskuQuantity, OperationProblem, PackageGroupingInput, PackingConfiguration, PackingOption, PackingOptionSummary, Pagination, Pallet, PalletInput, PlacementOption, PlacementOptionSummary, PrepInstruction, Quote, Region, RequestedUpdates, ScheduleSelfShipAppointmentRequest, ScheduleSelfShipAppointmentResponse, SelectedDeliveryWindow, SelfShipAppointmentDetails, SelfShipAppointmentSlotsAvailability, SetPackingInformationRequest, SetPackingInformationResponse, SetPrepDetailsRequest, SetPrepDetailsResponse, Shipment, ShipmentDestination, ShipmentSource, ShipmentSummary, ShipmentTransportationConfiguration, ShippingConfiguration, ShippingRequirements, SpdTrackingDetail, SpdTrackingDetailInput, SpdTrackingItem, SpdTrackingItemInput, TaxDetails, TaxRate, TrackingDetails, TrackingDetailsInput, TransportationOption, TransportationSelection, UpdateInboundPlanNameRequest, UpdateItemComplianceDetailsRequest, UpdateItemComplianceDetailsResponse, UpdateShipmentNameRequest, UpdateShipmentSourceAddressRequest, UpdateShipmentSourceAddressResponse, UpdateShipmentTrackingDetailsRequest, UpdateShipmentTrackingDetailsResponse, Weight, WeightRange, Window, WindowInput
Constant Summary
Constants inherited from Peddler::API
Peddler::API::TRANSIENT_STATUSES
Instance Attribute Summary
Attributes inherited from Peddler::API
#access_token, #base_url, #endpoint, #retries
Instance Method Summary collapse
-
#cancel_inbound_plan(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
Cancels an Inbound Plan.
-
#cancel_self_ship_appointment(inbound_plan_id, shipment_id, body, rate_limit: nil) ⇒ Peddler::Response
Cancels a self-ship appointment slot against a shipment.
-
#confirm_delivery_window_options(inbound_plan_id, shipment_id, delivery_window_option_id, rate_limit: 2.0) ⇒ Peddler::Response
Confirms the delivery window option for chosen shipment within an inbound plan.
-
#confirm_packing_option(inbound_plan_id, packing_option_id, rate_limit: 2.0) ⇒ Peddler::Response
Confirms the packing option for an inbound plan.
-
#confirm_placement_option(inbound_plan_id, placement_option_id, rate_limit: 2.0) ⇒ Peddler::Response
Confirms the placement option for an inbound plan.
-
#confirm_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) ⇒ Peddler::Response
Confirm a shipment content update preview and accept the changes in transportation cost.
-
#confirm_transportation_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Confirms all the transportation options for an inbound plan.
-
#create_inbound_plan(body, rate_limit: 2.0) ⇒ Peddler::Response
Creates an inbound plan.
-
#create_marketplace_item_labels(body, rate_limit: 2.0) ⇒ Peddler::Response
For a given marketplace - creates labels for a list of MSKUs.
-
#generate_delivery_window_options(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
Generates available delivery window options for a given shipment.
-
#generate_packing_options(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
Generates available packing options for the inbound plan.
-
#generate_placement_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Generates placement options for the inbound plan.
-
#generate_self_ship_appointment_slots(inbound_plan_id, shipment_id, body, rate_limit: nil) ⇒ Peddler::Response
Initiates the process of generating the appointment slots list.
-
#generate_shipment_content_update_previews(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Generate a shipment content update preview given a set of intended boxes and/or items for a shipment with a confirmed carrier.
-
#generate_transportation_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Generates available transportation options for a given placement option.
-
#get_delivery_challan_document(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
Provide delivery challan document for PCP transportation in IN marketplace.
-
#get_inbound_operation_status(operation_id, rate_limit: 2.0) ⇒ Peddler::Response
Gets the status of the processing of an asynchronous API call.
-
#get_inbound_plan(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
Fetches the top level information about an inbound plan.
-
#get_self_ship_appointment_slots(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: nil) ⇒ Peddler::Response
Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse.
-
#get_shipment(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
Provides the full details for a specific shipment within an inbound plan.
-
#get_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) ⇒ Peddler::Response
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.
-
#list_delivery_window_options(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieves all delivery window options for a shipment.
-
#list_inbound_plan_boxes(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of box packages in an inbound plan.
-
#list_inbound_plan_items(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of item packages in an inbound plan.
-
#list_inbound_plan_pallets(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of pallet packages in an inbound plan.
-
#list_inbound_plans(page_size: 10, pagination_token: nil, status: nil, sort_by: nil, sort_order: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a list of inbound plans with minimal information.
-
#list_item_compliance_details(mskus, marketplace_id, rate_limit: 2.0) ⇒ Peddler::Response
List the inbound compliance details for MSKUs in a given marketplace.
-
#list_packing_group_boxes(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieves a page of boxes from a given packing group.
-
#list_packing_group_items(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieves a page of items in a given packing group.
-
#list_packing_options(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieves a list of all packing options for an inbound plan.
-
#list_placement_options(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a list of all placement options for an inbound plan.
-
#list_prep_details(marketplace_id, mskus, rate_limit: nil) ⇒ Peddler::Response
Get preparation details for a list of MSKUs in a specified marketplace.
-
#list_shipment_boxes(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of box packages in a shipment.
-
#list_shipment_content_update_previews(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieve a paginated list of shipment content update previews for a given shipment.
-
#list_shipment_items(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of item packages in a shipment.
-
#list_shipment_pallets(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Provides a paginated list of pallet packages in a shipment.
-
#list_transportation_options(inbound_plan_id, page_size: 10, pagination_token: nil, placement_option_id: nil, shipment_id: nil, rate_limit: 2.0) ⇒ Peddler::Response
Retrieves all transportation options for a shipment.
-
#schedule_self_ship_appointment(inbound_plan_id, shipment_id, slot_id, body, rate_limit: nil) ⇒ Peddler::Response
Confirms or reschedules a self-ship appointment slot against a shipment.
-
#set_packing_information(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Sets packing information for an inbound plan.
-
#set_prep_details(body, rate_limit: 2.0) ⇒ Peddler::Response
Set the preparation details for a list of MSKUs in a specified marketplace.
-
#update_inbound_plan_name(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Updates the name of an existing inbound plan.
-
#update_item_compliance_details(marketplace_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Update compliance details for a list of MSKUs.
-
#update_shipment_name(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Updates the name of an existing shipment.
-
#update_shipment_source_address(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Updates the source address of an existing shipment.
-
#update_shipment_tracking_details(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
Updates a shipment's tracking details.
Methods inherited from Peddler::API
#cannot_sandbox!, #delete, #endpoint_uri, #get, #host_header, #http, #initialize, #must_sandbox!, #parse_base_url, #patch, #percent_encode, #post, #put, #request, #sandbox, #sandbox?, #stringify_array, #timestamp, #user_agent
Constructor Details
This class inherits a constructor from Peddler::API
Instance Method Details
#cancel_inbound_plan(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
94 95 96 97 98 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 94 def cancel_inbound_plan(inbound_plan_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/cancellation" parser = -> { CancelInboundPlanResponse } put(path, rate_limit:, parser:) end |
#cancel_self_ship_appointment(inbound_plan_id, shipment_id, body, rate_limit: nil) ⇒ Peddler::Response
This operation can make a static sandbox call.
Cancels a self-ship appointment slot against a shipment. Only available in the following marketplaces: MX, BR, EG, SA, AE, IN.
548 549 550 551 552 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 548 def cancel_self_ship_appointment(inbound_plan_id, shipment_id, body, rate_limit: nil) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/selfShipAppointmentCancellation" parser = -> { CancelSelfShipAppointmentResponse } put(path, body:, rate_limit:, parser:) end |
#confirm_delivery_window_options(inbound_plan_id, shipment_id, delivery_window_option_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
477 478 479 480 481 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 477 def (inbound_plan_id, shipment_id, delivery_window_option_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/deliveryWindowOptions/#{percent_encode(delivery_window_option_id)}/confirmation" parser = -> { ConfirmDeliveryWindowOptionsResponse } post(path, rate_limit:, parser:) end |
#confirm_packing_option(inbound_plan_id, packing_option_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Confirms the packing option for an inbound plan.
233 234 235 236 237 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 233 def confirm_packing_option(inbound_plan_id, packing_option_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingOptions/#{percent_encode(packing_option_id)}/confirmation" parser = -> { ConfirmPackingOptionResponse } post(path, rate_limit:, parser:) end |
#confirm_placement_option(inbound_plan_id, placement_option_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Confirms the placement option for an inbound plan. Once confirmed, it cannot be changed for the Inbound Plan.
302 303 304 305 306 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 302 def confirm_placement_option(inbound_plan_id, placement_option_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/placementOptions/#{percent_encode(placement_option_id)}/confirmation" parser = -> { ConfirmPlacementOptionResponse } post(path, rate_limit:, parser:) end |
#confirm_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Confirm a shipment content update preview and accept the changes in transportation cost.
407 408 409 410 411 412 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 407 def confirm_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/contentUpdatePreviews/#{percent_encode(content_update_preview_id)}/confirmation" parser = -> { ConfirmShipmentContentUpdatePreviewResponse } post(path, rate_limit:, parser:) end |
#confirm_transportation_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
691 692 693 694 695 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 691 def (inbound_plan_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/transportationOptions/confirmation" parser = -> { ConfirmTransportationOptionsResponse } post(path, body:, rate_limit:, parser:) end |
#create_inbound_plan(body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Creates an inbound plan. An inbound plan contains all the necessary information to send shipments into Amazon's fufillment network.
48 49 50 51 52 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 48 def create_inbound_plan(body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans" parser = -> { CreateInboundPlanResponse } post(path, body:, rate_limit:, parser:) end |
#create_marketplace_item_labels(body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
For a given marketplace - creates labels for a list of MSKUs.
749 750 751 752 753 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 749 def create_marketplace_item_labels(body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/items/labels" parser = -> { CreateMarketplaceItemLabelsResponse } post(path, body:, rate_limit:, parser:) end |
#generate_delivery_window_options(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Generates available delivery window options for a given shipment.
458 459 460 461 462 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 458 def (inbound_plan_id, shipment_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/deliveryWindowOptions" parser = -> { GenerateDeliveryWindowOptionsResponse } post(path, rate_limit:, parser:) end |
#generate_packing_options(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Generates available packing options for the inbound plan.
220 221 222 223 224 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 220 def (inbound_plan_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingOptions" parser = -> { GeneratePackingOptionsResponse } post(path, rate_limit:, parser:) end |
#generate_placement_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Generates placement options for the inbound plan.
288 289 290 291 292 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 288 def (inbound_plan_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/placementOptions" parser = -> { GeneratePlacementOptionsResponse } post(path, body:, rate_limit:, parser:) end |
#generate_self_ship_appointment_slots(inbound_plan_id, shipment_id, body, rate_limit: nil) ⇒ Peddler::Response
This operation can make a static sandbox call.
Initiates the process of generating the appointment slots list. Only available in the following marketplaces: MX, BR, EG, SA, AE, IN.
588 589 590 591 592 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 588 def generate_self_ship_appointment_slots(inbound_plan_id, shipment_id, body, rate_limit: nil) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/selfShipAppointmentSlots" parser = -> { GenerateSelfShipAppointmentSlotsResponse } post(path, body:, rate_limit:, parser:) end |
#generate_shipment_content_update_previews(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
377 378 379 380 381 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 377 def generate_shipment_content_update_previews(inbound_plan_id, shipment_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/contentUpdatePreviews" parser = -> { GenerateShipmentContentUpdatePreviewsResponse } post(path, body:, rate_limit:, parser:) end |
#generate_transportation_options(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Generates available transportation options for a given placement option.
677 678 679 680 681 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 677 def (inbound_plan_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/transportationOptions" parser = -> { GenerateTransportationOptionsResponse } post(path, body:, rate_limit:, parser:) end |
#get_delivery_challan_document(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provide delivery challan document for PCP transportation in IN marketplace.
421 422 423 424 425 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 421 def get_delivery_challan_document(inbound_plan_id, shipment_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/deliveryChallanDocument" parser = -> { GetDeliveryChallanDocumentResponse } get(path, rate_limit:, parser:) end |
#get_inbound_operation_status(operation_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Gets the status of the processing of an asynchronous API call.
801 802 803 804 805 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 801 def get_inbound_operation_status(operation_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/operations/#{percent_encode(operation_id)}" parser = -> { InboundOperationStatus } get(path, rate_limit:, parser:) end |
#get_inbound_plan(inbound_plan_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Fetches the top level information about an inbound plan.
60 61 62 63 64 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 60 def get_inbound_plan(inbound_plan_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}" parser = -> { InboundPlan } get(path, rate_limit:, parser:) end |
#get_self_ship_appointment_slots(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: nil) ⇒ Peddler::Response
This operation can make a static sandbox call.
Retrieves a list of available self-ship appointment slots used to drop off a shipment at a warehouse. Only available in the following marketplaces: MX, BR, EG, SA, AE, IN.
568 569 570 571 572 573 574 575 576 577 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 568 def get_self_ship_appointment_slots(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: nil) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/selfShipAppointmentSlots" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { GetSelfShipAppointmentSlotsResponse } get(path, params:, rate_limit:, parser:) end |
#get_shipment(inbound_plan_id, shipment_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
316 317 318 319 320 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 316 def get_shipment(inbound_plan_id, shipment_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}" parser = -> { Shipment } get(path, rate_limit:, parser:) end |
#get_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
393 394 395 396 397 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 393 def get_shipment_content_update_preview(inbound_plan_id, shipment_id, content_update_preview_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/contentUpdatePreviews/#{percent_encode(content_update_preview_id)}" parser = -> { ContentUpdatePreview } get(path, rate_limit:, parser:) end |
#list_delivery_window_options(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Retrieves all delivery window options for a shipment. Delivery window options must first be generated by the
generateDeliveryWindowOptions operation before becoming available.
440 441 442 443 444 445 446 447 448 449 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 440 def (inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/deliveryWindowOptions" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListDeliveryWindowOptionsResponse } get(path, params:, rate_limit:, parser:) end |
#list_inbound_plan_boxes(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a paginated list of box packages in an inbound plan.
76 77 78 79 80 81 82 83 84 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 76 def list_inbound_plan_boxes(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/boxes" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListInboundPlanBoxesResponse } get(path, params:, rate_limit:, parser:) end |
#list_inbound_plan_items(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a paginated list of item packages in an inbound plan.
110 111 112 113 114 115 116 117 118 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 110 def list_inbound_plan_items(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/items" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListInboundPlanItemsResponse } get(path, params:, rate_limit:, parser:) end |
#list_inbound_plan_pallets(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
250 251 252 253 254 255 256 257 258 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 250 def list_inbound_plan_pallets(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/pallets" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListInboundPlanPalletsResponse } get(path, params:, rate_limit:, parser:) end |
#list_inbound_plans(page_size: 10, pagination_token: nil, status: nil, sort_by: nil, sort_order: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a list of inbound plans with minimal information.
27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 27 def list_inbound_plans(page_size: 10, pagination_token: nil, status: nil, sort_by: nil, sort_order: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans" params = { "pageSize" => page_size, "paginationToken" => pagination_token, "status" => status, "sortBy" => sort_by, "sortOrder" => sort_order, }.compact parser = -> { ListInboundPlansResponse } get(path, params:, rate_limit:, parser:) end |
#list_item_compliance_details(mskus, marketplace_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
List the inbound compliance details for MSKUs in a given marketplace.
Note: MSKUs that contain certain characters must be encoded. For more information, refer to URL Encoding.
The following characters must be double percent encoded:
%-+-,
Examples: An MSKU value of test%msku is encoded as test%2525msku. An MSKU value of test,msku is
encoded as test%252Cmsku.
715 716 717 718 719 720 721 722 723 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 715 def list_item_compliance_details(mskus, marketplace_id, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/items/compliance" params = { "mskus" => stringify_array(mskus), "marketplaceId" => marketplace_id, }.compact parser = -> { ListItemComplianceDetailsResponse } get(path, params:, rate_limit:, parser:) end |
#list_packing_group_boxes(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
145 146 147 148 149 150 151 152 153 154 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 145 def list_packing_group_boxes(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingGroups/#{percent_encode(packing_group_id)}/boxes" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListPackingGroupBoxesResponse } get(path, params:, rate_limit:, parser:) end |
#list_packing_group_items(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
168 169 170 171 172 173 174 175 176 177 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 168 def list_packing_group_items(inbound_plan_id, packing_group_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingGroups/#{percent_encode(packing_group_id)}/items" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListPackingGroupItemsResponse } get(path, params:, rate_limit:, parser:) end |
#list_packing_options(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Retrieves a list of all packing options for an inbound plan. Packing options must first be generated by the corresponding operation before becoming available.
204 205 206 207 208 209 210 211 212 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 204 def (inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingOptions" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListPackingOptionsResponse } get(path, params:, rate_limit:, parser:) end |
#list_placement_options(inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a list of all placement options for an inbound plan. Placement options must first be generated by the corresponding operation before becoming available.
271 272 273 274 275 276 277 278 279 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 271 def (inbound_plan_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/placementOptions" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListPlacementOptionsResponse } get(path, params:, rate_limit:, parser:) end |
#list_prep_details(marketplace_id, mskus, rate_limit: nil) ⇒ Peddler::Response
This operation can make a static sandbox call.
Get preparation details for a list of MSKUs in a specified marketplace.
Note: MSKUs that contain certain characters must be encoded. For more information, refer to URL Encoding.
The following characters must be double percent encoded:
%-+-,
Examples: An MSKU value of test%msku is encoded as test%2525msku. An MSKU value of test,msku is
encoded as test%252Cmsku.
773 774 775 776 777 778 779 780 781 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 773 def list_prep_details(marketplace_id, mskus, rate_limit: nil) path = "/inbound/fba/2024-03-20/items/prepDetails" params = { "marketplaceId" => marketplace_id, "mskus" => stringify_array(mskus), }.compact parser = -> { ListPrepDetailsResponse } get(path, params:, rate_limit:, parser:) end |
#list_shipment_boxes(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a paginated list of box packages in a shipment.
333 334 335 336 337 338 339 340 341 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 333 def list_shipment_boxes(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/boxes" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListShipmentBoxesResponse } get(path, params:, rate_limit:, parser:) end |
#list_shipment_content_update_previews(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
356 357 358 359 360 361 362 363 364 365 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 356 def list_shipment_content_update_previews(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/contentUpdatePreviews" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListShipmentContentUpdatePreviewsResponse } get(path, params:, rate_limit:, parser:) end |
#list_shipment_items(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Provides a paginated list of item packages in a shipment.
494 495 496 497 498 499 500 501 502 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 494 def list_shipment_items(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/items" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListShipmentItemsResponse } get(path, params:, rate_limit:, parser:) end |
#list_shipment_pallets(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
529 530 531 532 533 534 535 536 537 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 529 def list_shipment_pallets(inbound_plan_id, shipment_id, page_size: 10, pagination_token: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/pallets" params = { "pageSize" => page_size, "paginationToken" => pagination_token, }.compact parser = -> { ListShipmentPalletsResponse } get(path, params:, rate_limit:, parser:) end |
#list_transportation_options(inbound_plan_id, page_size: 10, pagination_token: nil, placement_option_id: nil, shipment_id: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Retrieves all transportation options for a shipment. Transportation options must first be generated by the
generateTransportationOptions operation before becoming available.
657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 657 def (inbound_plan_id, page_size: 10, pagination_token: nil, placement_option_id: nil, shipment_id: nil, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/transportationOptions" params = { "pageSize" => page_size, "paginationToken" => pagination_token, "placementOptionId" => placement_option_id, "shipmentId" => shipment_id, }.compact parser = -> { ListTransportationOptionsResponse } get(path, params:, rate_limit:, parser:) end |
#schedule_self_ship_appointment(inbound_plan_id, shipment_id, slot_id, body, rate_limit: nil) ⇒ Peddler::Response
This operation can make a static sandbox call.
Confirms or reschedules a self-ship appointment slot against a shipment. Only available in the following marketplaces: MX, BR, EG, SA, AE, IN.
604 605 606 607 608 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 604 def schedule_self_ship_appointment(inbound_plan_id, shipment_id, slot_id, body, rate_limit: nil) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/selfShipAppointmentSlots/#{percent_encode(slot_id)}/schedule" parser = -> { ScheduleSelfShipAppointmentResponse } post(path, body:, rate_limit:, parser:) end |
#set_packing_information(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
187 188 189 190 191 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 187 def set_packing_information(inbound_plan_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/packingInformation" parser = -> { SetPackingInformationResponse } post(path, body:, rate_limit:, parser:) end |
#set_prep_details(body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Set the preparation details for a list of MSKUs in a specified marketplace.
789 790 791 792 793 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 789 def set_prep_details(body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/items/prepDetails" parser = -> { SetPrepDetailsResponse } post(path, body:, rate_limit:, parser:) end |
#update_inbound_plan_name(inbound_plan_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Updates the name of an existing inbound plan.
127 128 129 130 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 127 def update_inbound_plan_name(inbound_plan_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/name" put(path, body:, rate_limit:) end |
#update_item_compliance_details(marketplace_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Update compliance details for a list of MSKUs. The details provided here are only used for the India (IN - A21TJRUUN4KGV) marketplace compliance validation.
734 735 736 737 738 739 740 741 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 734 def update_item_compliance_details(marketplace_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/items/compliance" params = { "marketplaceId" => marketplace_id, }.compact parser = -> { UpdateItemComplianceDetailsResponse } put(path, body:, params:, rate_limit:, parser:) end |
#update_shipment_name(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Updates the name of an existing shipment.
512 513 514 515 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 512 def update_shipment_name(inbound_plan_id, shipment_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/name" put(path, body:, rate_limit:) end |
#update_shipment_source_address(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
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.
621 622 623 624 625 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 621 def update_shipment_source_address(inbound_plan_id, shipment_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/sourceAddress" parser = -> { UpdateShipmentSourceAddressResponse } put(path, body:, rate_limit:, parser:) end |
#update_shipment_tracking_details(inbound_plan_id, shipment_id, body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a static sandbox call.
Updates a shipment's tracking details.
635 636 637 638 639 |
# File 'lib/peddler/apis/fulfillment_inbound_2024_03_20.rb', line 635 def update_shipment_tracking_details(inbound_plan_id, shipment_id, body, rate_limit: 2.0) path = "/inbound/fba/2024-03-20/inboundPlans/#{percent_encode(inbound_plan_id)}/shipments/#{percent_encode(shipment_id)}/trackingDetails" parser = -> { UpdateShipmentTrackingDetailsResponse } put(path, body:, rate_limit:, parser:) end |