Skip to content

Commit

Permalink
Merge pull request #1531 from iw-an/get-account
Browse files Browse the repository at this point in the history
  • Loading branch information
saleweaver committed Sep 13, 2024
2 parents c73d583 + ba2d149 commit 8ef15d6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions sp_api/api/sellers/sellers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,33 @@ def get_marketplace_participation(self, **kwargs) -> ApiResponse:
"""
return self._request(kwargs.pop('path'), add_marketplace=False)

@sp_endpoint("/sellers/v1/account")
def get_account(self, **kwargs) -> ApiResponse:
"""
get_account(self, **kwargs) -> ApiResponse
Returns information about a seller account and its marketplaces.
**Usage Plan:**
====================================== ==============
Rate (requests per second) Burst
====================================== ==============
.016 15
====================================== ==============
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
Examples:
literal blocks::
res = Sellers().get_account()
Args:
**kwargs:
Returns:
GetAccountResponse:
"""
return self._request(kwargs.pop('path'), add_marketplace=False)

0 comments on commit 8ef15d6

Please sign in to comment.