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.Insert

Contents

Description

Uploads a product to your Merchant Center account.

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

Synopsis

REST Resource

type ProductsInsertResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Product :> Post `[JSON]` Product)))))) Source

A resource alias for content.products.insert method which the ProductsInsert request conforms to.

Creating a Request

productsInsert Source

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

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

Request Lenses

piMerchantId :: Lens' ProductsInsert Word64 Source

The ID of the managing account.

piPayload :: Lens' ProductsInsert Product Source

Multipart request metadata.

piDryRun :: Lens' ProductsInsert (Maybe Bool) Source

Flag to run the request in dry-run mode.