Class: Peddler::APIs::ExternalFulfillmentLocation20260730
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::ExternalFulfillmentLocation20260730
- Defined in:
- lib/peddler/apis/external_fulfillment_location_2026_07_30.rb,
lib/peddler/apis/external_fulfillment_location_2026_07_30/error.rb,
lib/peddler/apis/external_fulfillment_location_2026_07_30/error_list.rb,
lib/peddler/apis/external_fulfillment_location_2026_07_30/location_id_map.rb,
lib/peddler/apis/external_fulfillment_location_2026_07_30/create_sandbox_location_request.rb,
lib/peddler/apis/external_fulfillment_location_2026_07_30/create_sandbox_location_response.rb,
sig/peddler/apis/external_fulfillment_location_2026_07_30.rbs
Overview
The Selling Partner API for Amazon External Fulfillment Location Management
You can use the External Fulfillment Location API to manage locations in the sandbox environment for end-to-end testing. This API is available only in the sandbox environment.
Defined Under Namespace
Classes: CreateSandboxLocationRequest, CreateSandboxLocationResponse, Error, ErrorList, LocationIdMap
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
-
#create_sandbox_location(body) ⇒ Peddler::Response
Creates a sandbox location and merchant in the test environment.
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
#create_sandbox_location(body) ⇒ Peddler::Response
This operation can make a dynamic sandbox call.
Creates a sandbox location and merchant in the test environment. This operation is available only in the sandbox environment and is used for onboarding test locations. Idempotency is ensured on locationName.
20 21 22 23 24 25 26 |
# File 'lib/peddler/apis/external_fulfillment_location_2026_07_30.rb', line 20 def create_sandbox_location(body) must_sandbox! path = "/externalFulfillment/2026-07-30/location" parser = -> { CreateSandboxLocationResponse } post(path, body:, parser:) end |