Sha256: 47ba8fd432f774a94d9a0441ef9767863610ed9a0d2da90eeaec8d2633bc1018
Contents?: true
Size: 1.38 KB
Versions: 4
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true require 'peddler/client' module MWS module Sellers # The Sellers API lets sellers retrieve information about their seller # account, such as the marketplaces they participate in. class Client < ::Peddler::Client version '2011-07-01' path "/Sellers/#{version}" # Lists the marketplaces the seller participates in # # @see http://docs.developer.amazonservices.com/en_US/sellers/Sellers_ListMarketplaceParticipations.html # @return [Peddler::XMLParser] def list_marketplace_participations operation('ListMarketplaceParticipations') run end # Lists the next page of marketplaces the seller participates in # # @see http://docs.developer.amazonservices.com/en_US/sellers/Sellers_ListMarketplaceParticipationsByNextToken.html # @param [String] next_token # @return [Peddler::XMLParser] def list_marketplace_participations_by_next_token(next_token) operation('ListMarketplaceParticipationsByNextToken') .add('NextToken' => next_token) run end # Gets the service status of the API # # @see http://docs.developer.amazonservices.com/en_US/sellers/Sellers_GetServiceStatus.html # @return [Peddler::XMLParser] def get_service_status operation('GetServiceStatus') run end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
peddler-1.6.7 | lib/mws/sellers/client.rb |
peddler-1.6.6 | lib/mws/sellers/client.rb |
peddler-1.6.5 | lib/mws/sellers/client.rb |
peddler-1.6.4 | lib/mws/sellers/client.rb |