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 datafeeds in your Merchant Center account.
See: Content API for Shopping Reference for content.datafeedstatuses.list
.
Synopsis
- type DatafeedstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeedstatuses" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DatafeedstatusesListResponse))))))
- datafeedstatusesList :: Word64 -> DatafeedstatusesList
- data DatafeedstatusesList
- dlMerchantId :: Lens' DatafeedstatusesList Word64
- dlPageToken :: Lens' DatafeedstatusesList (Maybe Text)
- dlMaxResults :: Lens' DatafeedstatusesList (Maybe Word32)
REST Resource
type DatafeedstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeedstatuses" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DatafeedstatusesListResponse)))))) Source #
A resource alias for content.datafeedstatuses.list
method which the
DatafeedstatusesList
request conforms to.
Creating a Request
Creates a value of DatafeedstatusesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatafeedstatusesList Source #
Lists the statuses of the datafeeds in your Merchant Center account.
See: datafeedstatusesList
smart constructor.
Instances
Request Lenses
dlMerchantId :: Lens' DatafeedstatusesList Word64 Source #
The ID of the account that manages the datafeeds. This account cannot be a multi-client account.
dlPageToken :: Lens' DatafeedstatusesList (Maybe Text) Source #
The token returned by the previous request.
dlMaxResults :: Lens' DatafeedstatusesList (Maybe Word32) Source #
The maximum number of products to return in the response, used for paging.