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 |
Lists the statuses of the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.accountstatuses.list
.
Synopsis
- type AccountstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (QueryParams "destinations" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountstatusesListResponse)))))))
- accountstatusesList :: Word64 -> AccountstatusesList
- data AccountstatusesList
- a2MerchantId :: Lens' AccountstatusesList Word64
- a2Destinations :: Lens' AccountstatusesList [Text]
- a2PageToken :: Lens' AccountstatusesList (Maybe Text)
- a2MaxResults :: Lens' AccountstatusesList (Maybe Word32)
REST Resource
type AccountstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (QueryParams "destinations" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountstatusesListResponse))))))) Source #
A resource alias for content.accountstatuses.list
method which the
AccountstatusesList
request conforms to.
Creating a Request
Creates a value of AccountstatusesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountstatusesList Source #
Lists the statuses of the sub-accounts in your Merchant Center account.
See: accountstatusesList
smart constructor.
Instances
Request Lenses
a2MerchantId :: Lens' AccountstatusesList Word64 Source #
The ID of the managing account. This must be a multi-client account.
a2Destinations :: Lens' AccountstatusesList [Text] Source #
If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.
a2PageToken :: Lens' AccountstatusesList (Maybe Text) Source #
The token returned by the previous request.
a2MaxResults :: Lens' AccountstatusesList (Maybe Word32) Source #
The maximum number of account statuses to return in the response, used for paging.