Class: Peddler::API::SellersV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::API::SellersV1
- Defined in:
- lib/peddler/api/sellers_v1.rb
Overview
Selling Partner API for Sellers
The [Selling Partner API for Sellers](developer-docs.amazon.com/sp-api/docs/sellers-api-v1-reference) (Sellers API) provides essential information about seller accounts, such as: - The marketplaces a seller can list in - The default language and currency of a marketplace - Whether the seller has suspended listings Refer to the [Sellers API reference](developer-docs.amazon.com/sp-api/docs/sellers-api-v1-reference) for details about this API’s operations, data types, and schemas.
Instance Attribute Summary
Attributes inherited from Peddler::API
Instance Method Summary collapse
-
#get_account(rate_limit: 0.016) ⇒ Hash
Returns information about a seller account and its marketplaces.
-
#get_marketplace_participations(rate_limit: 0.016) ⇒ Hash
Returns a list of marketplaces where the seller can list items and information about the seller’s participation in those marketplaces.
Methods inherited from Peddler::API
#cannot_sandbox!, #endpoint_uri, #http, #initialize, #meter, #must_sandbox!, #retriable, #sandbox, #sandbox?, #use, #via
Constructor Details
This class inherits a constructor from Peddler::API
Instance Method Details
#get_account(rate_limit: 0.016) ⇒ Hash
This operation can make a static sandbox call.
Returns information about a seller account and its marketplaces.
38 39 40 41 42 |
# File 'lib/peddler/api/sellers_v1.rb', line 38 def get_account(rate_limit: 0.016) path = "/sellers/v1/account" meter(rate_limit).get(path) end |
#get_marketplace_participations(rate_limit: 0.016) ⇒ Hash
This operation can make a static sandbox call.
Returns a list of marketplaces where the seller can list items and information about the seller’s participation in those marketplaces.
27 28 29 30 31 |
# File 'lib/peddler/api/sellers_v1.rb', line 27 def get_marketplace_participations(rate_limit: 0.016) path = "/sellers/v1/marketplaceParticipations" meter(rate_limit).get(path) end |