Class: MWS::Sellers::Client
- Inherits:
-
Peddler::Client
- Object
- Peddler::Client
- MWS::Sellers::Client
- Defined in:
- lib/mws/sellers/client.rb
Overview
The Sellers API lets sellers retrieve information about their seller account, such as the marketplaces they participate in.
Instance Attribute Summary
Attributes inherited from Peddler::Client
#auth_token, #body, #merchant_id, #path, #primary_marketplace_id, #version
Instance Method Summary collapse
-
#get_service_status ⇒ Peddler::XMLParser
Gets the service status of the API.
-
#list_marketplace_participations ⇒ Peddler::XMLParser
Lists the marketplaces the seller participates in.
-
#list_marketplace_participations_by_next_token(next_token) ⇒ Peddler::XMLParser
Lists the next page of marketplaces the seller participates in.
Methods inherited from Peddler::Client
#aws_endpoint, #defaults, #error_handler, #headers, #initialize, #marketplace, #marketplace_id, #marketplace_id=, on_error, #on_error, #operation, path, #run, version
Constructor Details
This class inherits a constructor from Peddler::Client
Instance Method Details
#get_service_status ⇒ Peddler::XMLParser
Gets the service status of the API
36 37 38 39 |
# File 'lib/mws/sellers/client.rb', line 36 def get_service_status operation('GetServiceStatus') run end |
#list_marketplace_participations ⇒ Peddler::XMLParser
Lists the marketplaces the seller participates in
15 16 17 18 |
# File 'lib/mws/sellers/client.rb', line 15 def list_marketplace_participations operation('ListMarketplaceParticipations') run end |
#list_marketplace_participations_by_next_token(next_token) ⇒ Peddler::XMLParser
Lists the next page of marketplaces the seller participates in
25 26 27 28 29 30 |
# File 'lib/mws/sellers/client.rb', line 25 def list_marketplace_participations_by_next_token(next_token) operation('ListMarketplaceParticipationsByNextToken') .add('NextToken' => next_token) run end |