Sha256: c8111f2a4e3011de5793915676641d5b99bd4fc87729320a9429b0f1f3cf89fa
Contents?: true
Size: 1.61 KB
Versions: 3
Compression:
Stored size: 1.61 KB
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def sellers_v1(...) APIs::SellersV1.new(...) end end module APIs # Selling Partner API for Sellers # # The [Selling Partner API for Sellers](https://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](https://developer-docs.amazon.com/sp-api/docs/sellers-api-v1-reference) for details about # this API's operations, data types, and schemas. class SellersV1 < API # Returns a list of marketplaces where the seller can list items and information about the seller's participation # in those marketplaces. # # @note This operation can make a static sandbox call. # @param rate_limit [Float] Requests per second # @return [Peddler::Response] The API response def get_marketplace_participations(rate_limit: 0.016) path = "/sellers/v1/marketplaceParticipations" meter(rate_limit).get(path) end # Returns information about a seller account and its marketplaces. # # @note This operation can make a static sandbox call. # @param rate_limit [Float] Requests per second # @return [Peddler::Response] The API response def get_account(rate_limit: 0.016) path = "/sellers/v1/account" meter(rate_limit).get(path) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
peddler-4.1.1 | lib/peddler/apis/sellers_v1.rb |
peddler-4.0.1 | lib/peddler/apis/sellers_v1.rb |
peddler-4.0.0 | lib/peddler/apis/sellers_v1.rb |