class Peddler::APIs::Vehicles20241101
The Selling Partner API
for Automotive.
The Selling Partner API
for Automotive provides programmatic access to information needed by selling partners to provide compatibility information about their listed products.
Public Instance Methods
Source
# File lib/peddler/apis/vehicles_2024_11_01.rb, line 27 def get_vehicles(marketplace_id, vehicle_type, page_token: nil, updated_after: nil) path = "/catalog/2024-11-01/automotive/vehicles" params = { "pageToken" => page_token, "marketplaceId" => marketplace_id, "vehicleType" => vehicle_type, "updatedAfter" => updated_after, }.compact get(path, params:) end
Get the latest collection of vehicles
@note This operation can make a static sandbox call. @param page_token [String] A token to fetch a certain page when there are multiple pages worth of results. @param marketplace_id [String] An identifier for the marketplace in which the resource operates. @param vehicle_type [String] An identifier for vehicle type. @param updated_after [String] Date in ISO 8601 format, if provided only vehicles which are modified/added to
Amazon's catalog after this date will be returned.
@return [Peddler::Response] The API
response