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 a datafeed configuration from your Merchant Center account.
See: Content API for Shopping Reference for content.datafeeds.get
.
Synopsis
- type DatafeedsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Datafeed)))))
- datafeedsGet :: Word64 -> Word64 -> DatafeedsGet
- data DatafeedsGet
- dgMerchantId :: Lens' DatafeedsGet Word64
- dgDatafeedId :: Lens' DatafeedsGet Word64
REST Resource
type DatafeedsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Datafeed))))) Source #
A resource alias for content.datafeeds.get
method which the
DatafeedsGet
request conforms to.
Creating a Request
Creates a value of DatafeedsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatafeedsGet Source #
Retrieves a datafeed configuration from your Merchant Center account.
See: datafeedsGet
smart constructor.
Instances
Request Lenses
dgMerchantId :: Lens' DatafeedsGet Word64 Source #
The ID of the account that manages the datafeed. This account cannot be a multi-client account.
dgDatafeedId :: Lens' DatafeedsGet Word64 Source #
The ID of the datafeed.