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, #marketplace, #merchant_id
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
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
38 39 40 41 |
# File 'lib/mws/sellers/client.rb', line 38 def get_service_status operation('GetServiceStatus') run end |
#list_marketplace_participations ⇒ Peddler::XMLParser
Lists the marketplaces the seller participates in
17 18 19 20 |
# File 'lib/mws/sellers/client.rb', line 17 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
27 28 29 30 31 32 |
# File 'lib/mws/sellers/client.rb', line 27 def list_marketplace_participations_by_next_token(next_token) operation('ListMarketplaceParticipationsByNextToken') .add('NextToken' => next_token) run end |