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 |
Invokes a fetch for the datafeed in your Merchant Center account.
See: Content API for Shopping Reference for content.datafeeds.fetchnow
.
Synopsis
- type DatafeedsFetchnowResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> ("fetchNow" :> (QueryParam "alt" AltJSON :> Post '[JSON] DatafeedsFetchNowResponse))))))
- datafeedsFetchnow :: Word64 -> Word64 -> DatafeedsFetchnow
- data DatafeedsFetchnow
- dfMerchantId :: Lens' DatafeedsFetchnow Word64
- dfDatafeedId :: Lens' DatafeedsFetchnow Word64
REST Resource
type DatafeedsFetchnowResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> ("fetchNow" :> (QueryParam "alt" AltJSON :> Post '[JSON] DatafeedsFetchNowResponse)))))) Source #
A resource alias for content.datafeeds.fetchnow
method which the
DatafeedsFetchnow
request conforms to.
Creating a Request
Creates a value of DatafeedsFetchnow
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatafeedsFetchnow Source #
Invokes a fetch for the datafeed in your Merchant Center account.
See: datafeedsFetchnow
smart constructor.
Instances
Request Lenses
dfMerchantId :: Lens' DatafeedsFetchnow Word64 Source #
The ID of the account that manages the datafeed. This account cannot be a multi-client account.
dfDatafeedId :: Lens' DatafeedsFetchnow Word64 Source #
The ID of the datafeed to be fetched.