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