Copyright | (c) 2015 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 of your Merchant Center account. This method supports patch semantics.
See: Content API for Shopping Reference for content.datafeeds.patch
.
- type DatafeedsPatchResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Datafeed :> Patch `[JSON]` Datafeed)))))))
- datafeedsPatch :: Word64 -> Datafeed -> Word64 -> DatafeedsPatch
- data DatafeedsPatch
- dpMerchantId :: Lens' DatafeedsPatch Word64
- dpPayload :: Lens' DatafeedsPatch Datafeed
- dpDatafeedId :: Lens' DatafeedsPatch Word64
- dpDryRun :: Lens' DatafeedsPatch (Maybe Bool)
REST Resource
type DatafeedsPatchResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Datafeed :> Patch `[JSON]` Datafeed))))))) Source
A resource alias for content.datafeeds.patch
method which the
DatafeedsPatch
request conforms to.
Creating a Request
Creates a value of DatafeedsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatafeedsPatch Source
Updates a datafeed of your Merchant Center account. This method supports patch semantics.
See: datafeedsPatch
smart constructor.
Request Lenses
dpPayload :: Lens' DatafeedsPatch Datafeed Source
Multipart request metadata.