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