gogol-shopping-content-0.0.1: Google Content API for Shopping SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Content.Products.Delete

Contents

Description

Deletes a product from your Merchant Center account.

See: Content API for Shopping Reference for content.products.delete.

Synopsis

REST Resource

type ProductsDeleteResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (Capture "productId" Text :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))))) Source

A resource alias for content.products.delete method which the ProductsDelete request conforms to.

Creating a Request

productsDelete Source

Creates a value of ProductsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

pdMerchantId :: Lens' ProductsDelete Word64 Source

The ID of the managing account.

pdProductId :: Lens' ProductsDelete Text Source

The ID of the product.

pdDryRun :: Lens' ProductsDelete (Maybe Bool) Source

Flag to run the request in dry-run mode.