Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the status of a Merchant Center account.
See: Content API for Shopping Reference for content.accountstatuses.get
.
- type AccountstatusesGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountStatus)))))
- accountstatusesGet :: Word64 -> Word64 -> AccountstatusesGet
- data AccountstatusesGet
- ag1MerchantId :: Lens' AccountstatusesGet Word64
- ag1AccountId :: Lens' AccountstatusesGet Word64
REST Resource
type AccountstatusesGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountStatus))))) Source #
A resource alias for content.accountstatuses.get
method which the
AccountstatusesGet
request conforms to.
Creating a Request
Creates a value of AccountstatusesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountstatusesGet Source #
Retrieves the status of a Merchant Center account.
See: accountstatusesGet
smart constructor.
Request Lenses
ag1MerchantId :: Lens' AccountstatusesGet Word64 Source #
The ID of the managing account.
ag1AccountId :: Lens' AccountstatusesGet Word64 Source #
The ID of the account.