Class: Peddler::APIs::FulfillmentOutbound20200701
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::FulfillmentOutbound20200701
- Defined in:
- lib/peddler/apis/fulfillment_outbound_2020_07_01.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fee.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/error.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/amount.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/origin.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/weight.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/address.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/feature.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/features.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fee_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/date_range.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/error_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/destination.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_sku.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/return_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/string_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/cod_settings.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_offer.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/locker_details.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_event.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_policy.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_window.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_message.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/feature_settings.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/return_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_address.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_document.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_return_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/product_identifier.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_features_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/invalid_item_reason.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/invalid_return_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/payment_information.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/reason_code_details.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/tracking_event_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_information.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_offers_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_preferences.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_window_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/return_authorization.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_features_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/delivery_document_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_sku_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_return_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/notification_email_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/scheduled_delivery_info.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_sku_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/invalid_return_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/package_tracking_details.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/payment_information_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/reason_code_details_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_delivery_offers_terms.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/return_authorization_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_delivery_offers_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/unfulfillable_preview_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/variable_precision_address.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_order_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_delivery_offers_product.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_delivery_offers_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_shipment.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_package.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_delivery_offers_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_inventory_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_order_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/shipping_speed_category_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_item.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_feature_inventory_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_order_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/list_return_reason_codes_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/unfulfillable_preview_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_return_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/cancel_fulfillment_order_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_return_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_preview_shipment_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/fulfillment_shipment_package_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_fulfillment_preview_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/list_return_reason_codes_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_order_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/create_fulfillment_return_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/list_all_fulfillment_orders_result.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/update_fulfillment_order_item_list.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/list_all_fulfillment_orders_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/get_package_tracking_details_response.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/submit_fulfillment_order_status_update_request.rb,
lib/peddler/apis/fulfillment_outbound_2020_07_01/submit_fulfillment_order_status_update_response.rb,
sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs
Overview
Selling Partner APIs for Fulfillment Outbound
The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
Defined Under Namespace
Classes: Address, Amount, CODSettings, CancelFulfillmentOrderResponse, CreateFulfillmentOrderItem, CreateFulfillmentOrderItemList, CreateFulfillmentOrderRequest, CreateFulfillmentOrderResponse, CreateFulfillmentReturnRequest, CreateFulfillmentReturnResponse, CreateFulfillmentReturnResult, CreateReturnItem, CreateReturnItemList, DateRange, DeliveryDocument, DeliveryDocumentList, DeliveryInformation, DeliveryMessage, DeliveryOffer, DeliveryOffersList, DeliveryPolicy, DeliveryPreferences, DeliveryWindow, DeliveryWindowList, Destination, DropOffLocation, Error, ErrorList, Feature, FeatureSKU, FeatureSettings, Features, Fee, FeeList, FulfillmentOrder, FulfillmentOrderItem, FulfillmentOrderItemList, FulfillmentPreview, FulfillmentPreviewItem, FulfillmentPreviewItemList, FulfillmentPreviewList, FulfillmentPreviewShipment, FulfillmentPreviewShipmentList, FulfillmentShipment, FulfillmentShipmentItem, FulfillmentShipmentItemList, FulfillmentShipmentList, FulfillmentShipmentPackage, FulfillmentShipmentPackageList, GetDeliveryOffersProduct, GetDeliveryOffersRequest, GetDeliveryOffersResponse, GetDeliveryOffersResult, GetDeliveryOffersTerms, GetFeatureInventoryResponse, GetFeatureInventoryResult, GetFeatureSKUResponse, GetFeatureSKUResult, GetFeaturesResponse, GetFeaturesResult, GetFulfillmentOrderResponse, GetFulfillmentOrderResult, GetFulfillmentPreviewItem, GetFulfillmentPreviewItemList, GetFulfillmentPreviewRequest, GetFulfillmentPreviewResponse, GetFulfillmentPreviewResult, GetPackageTrackingDetailsResponse, InvalidItemReason, InvalidReturnItem, InvalidReturnItemList, ListAllFulfillmentOrdersResponse, ListAllFulfillmentOrdersResult, ListReturnReasonCodesResponse, ListReturnReasonCodesResult, LockerDetails, NotificationEmailList, Origin, PackageTrackingDetails, PaymentInformation, PaymentInformationList, ProductIdentifier, ReasonCodeDetails, ReasonCodeDetailsList, ReturnAuthorization, ReturnAuthorizationList, ReturnItem, ReturnItemList, ScheduledDeliveryInfo, ShippingSpeedCategoryList, StringList, SubmitFulfillmentOrderStatusUpdateRequest, SubmitFulfillmentOrderStatusUpdateResponse, TrackingAddress, TrackingEvent, TrackingEventList, UnfulfillablePreviewItem, UnfulfillablePreviewItemList, UpdateFulfillmentOrderItem, UpdateFulfillmentOrderItemList, UpdateFulfillmentOrderRequest, UpdateFulfillmentOrderResponse, VariablePrecisionAddress, Weight
Instance Attribute Summary
Attributes inherited from Peddler::API
#access_token, #endpoint, #retries
Instance Method Summary collapse
-
#cancel_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier.
-
#create_fulfillment_order(body, rate_limit: 2.0) ⇒ Peddler::Response
Requests that Amazon ship items from the seller's inventory in Amazon's fulfillment network to a destination address.
-
#create_fulfillment_return(body, seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
Creates a fulfillment return.
-
#delivery_offers(body, rate_limit: 5.0) ⇒ Peddler::Response
Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify.
-
#get_feature_inventory(marketplace_id, feature_name, next_token: nil, query_start_date: nil, rate_limit: 2.0) ⇒ Peddler::Response
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
-
#get_feature_sku(marketplace_id, feature_name, seller_sku, rate_limit: 2.0) ⇒ Peddler::Response
Returns the number of items with the
sellerSkuyou specify that can have orders fulfilled using the specified feature. -
#get_features(marketplace_id, rate_limit: 2.0) ⇒ Peddler::Response
Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature.
-
#get_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
Returns the fulfillment order indicated by the specified order identifier.
-
#get_fulfillment_preview(body, rate_limit: 2.0) ⇒ Peddler::Response
Returns a list of fulfillment order previews based on shipping criteria that you specify.
-
#get_package_tracking_details(package_number, rate_limit: 2.0) ⇒ Peddler::Response
Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.
-
#list_all_fulfillment_orders(query_start_date: nil, next_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the
nextTokenparameter. -
#list_return_reason_codes(seller_sku, marketplace_id: nil, seller_fulfillment_order_id: nil, language: nil, rate_limit: 2.0) ⇒ Peddler::Response
Returns a list of return reason codes for a seller SKU in a given marketplace.
-
#submit_fulfillment_order_status_update(seller_fulfillment_order_id, body) ⇒ Peddler::Response
Requests that Amazon update the status of an order in the sandbox testing environment.
-
#update_fulfillment_order(body, seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
Updates and/or requests shipment for a fulfillment order with an order hold on it.
Methods inherited from Peddler::API
#cannot_sandbox!, #delete, #endpoint_uri, #get, #http, #initialize, #must_sandbox!, #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_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier.
167 168 169 170 171 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 167 def cancel_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders/#{percent_encode(seller_fulfillment_order_id)}/cancel" parser = -> { CancelFulfillmentOrderResponse } put(path, rate_limit:, parser:) end |
#create_fulfillment_order(body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Requests that Amazon ship items from the seller's inventory in Amazon's fulfillment network to a destination address.
67 68 69 70 71 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 67 def create_fulfillment_order(body, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders" parser = -> { CreateFulfillmentOrderResponse } post(path, body:, rate_limit:, parser:) end |
#create_fulfillment_return(body, seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Creates a fulfillment return.
126 127 128 129 130 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 126 def create_fulfillment_return(body, seller_fulfillment_order_id, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders/#{percent_encode(seller_fulfillment_order_id)}/return" parser = -> { CreateFulfillmentReturnResponse } put(path, body:, rate_limit:, parser:) end |
#delivery_offers(body, rate_limit: 5.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify.
34 35 36 37 38 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 34 def delivery_offers(body, rate_limit: 5.0) path = "/fba/outbound/2020-07-01/deliveryOffers" parser = -> { GetDeliveryOffersResponse } post(path, body:, rate_limit:, parser:) end |
#get_feature_inventory(marketplace_id, feature_name, next_token: nil, query_start_date: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
221 222 223 224 225 226 227 228 229 230 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 221 def get_feature_inventory(marketplace_id, feature_name, next_token: nil, query_start_date: nil, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/features/inventory/#{percent_encode(feature_name)}" params = { "marketplaceId" => marketplace_id, "nextToken" => next_token, "queryStartDate" => query_start_date, }.compact parser = -> { GetFeatureInventoryResponse } get(path, params:, rate_limit:, parser:) end |
#get_feature_sku(marketplace_id, feature_name, seller_sku, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns the number of items with the sellerSku you specify that can have orders fulfilled using the specified
feature. Note that if the sellerSku isn't eligible, the response will contain an empty skuInfo object. The
parameters for this operation may contain special characters that require URL encoding. To avoid errors with
SKUs when encoding URLs, refer to URL Encoding.
244 245 246 247 248 249 250 251 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 244 def get_feature_sku(marketplace_id, feature_name, seller_sku, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/features/inventory/#{percent_encode(feature_name)}/#{percent_encode(seller_sku)}" params = { "marketplaceId" => marketplace_id, }.compact parser = -> { GetFeatureSKUResponse } get(path, params:, rate_limit:, parser:) end |
#get_features(marketplace_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature.
199 200 201 202 203 204 205 206 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 199 def get_features(marketplace_id, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/features" params = { "marketplaceId" => marketplace_id, }.compact parser = -> { GetFeaturesResponse } get(path, params:, rate_limit:, parser:) end |
#get_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns the fulfillment order indicated by the specified order identifier.
139 140 141 142 143 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 139 def get_fulfillment_order(seller_fulfillment_order_id, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders/#{percent_encode(seller_fulfillment_order_id)}" parser = -> { GetFulfillmentOrderResponse } get(path, rate_limit:, parser:) end |
#get_fulfillment_preview(body, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns a list of fulfillment order previews based on shipping criteria that you specify.
21 22 23 24 25 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 21 def get_fulfillment_preview(body, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders/preview" parser = -> { GetFulfillmentPreviewResponse } post(path, body:, rate_limit:, parser:) end |
#get_package_tracking_details(package_number, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.
81 82 83 84 85 86 87 88 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 81 def get_package_tracking_details(package_number, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/tracking" params = { "packageNumber" => package_number, }.compact parser = -> { GetPackageTrackingDetailsResponse } get(path, params:, rate_limit:, parser:) end |
#list_all_fulfillment_orders(query_start_date: nil, next_token: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the
nextToken parameter.
50 51 52 53 54 55 56 57 58 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 50 def list_all_fulfillment_orders(query_start_date: nil, next_token: nil, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders" params = { "queryStartDate" => query_start_date, "nextToken" => next_token, }.compact parser = -> { ListAllFulfillmentOrdersResponse } get(path, params:, rate_limit:, parser:) end |
#list_return_reason_codes(seller_sku, marketplace_id: nil, seller_fulfillment_order_id: nil, language: nil, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to URL Encoding.
104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 104 def list_return_reason_codes(seller_sku, marketplace_id: nil, seller_fulfillment_order_id: nil, language: nil, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/returnReasonCodes" params = { "sellerSku" => seller_sku, "marketplaceId" => marketplace_id, "sellerFulfillmentOrderId" => seller_fulfillment_order_id, "language" => language, }.compact parser = -> { ListReturnReasonCodesResponse } get(path, params:, rate_limit:, parser:) end |
#submit_fulfillment_order_status_update(seller_fulfillment_order_id, body) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to Fulfillment Outbound Dynamic Sandbox Guide and Selling Partner API sandbox for more information.
184 185 186 187 188 189 190 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 184 def submit_fulfillment_order_status_update(seller_fulfillment_order_id, body) must_sandbox! path = "/fba/outbound/2020-07-01/fulfillmentOrders/#{percent_encode(seller_fulfillment_order_id)}/status" parser = -> { SubmitFulfillmentOrderStatusUpdateResponse } put(path, body:, parser:) end |
#update_fulfillment_order(body, seller_fulfillment_order_id, rate_limit: 2.0) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Updates and/or requests shipment for a fulfillment order with an order hold on it.
153 154 155 156 157 |
# File 'lib/peddler/apis/fulfillment_outbound_2020_07_01.rb', line 153 def update_fulfillment_order(body, seller_fulfillment_order_id, rate_limit: 2.0) path = "/fba/outbound/2020-07-01/fulfillmentOrders/#{percent_encode(seller_fulfillment_order_id)}" parser = -> { UpdateFulfillmentOrderResponse } put(path, body:, rate_limit:, parser:) end |