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