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 |
Retrieves a product from your Merchant Center account.
See: Content API for Shopping Reference for content.products.get
.
- type ProductsGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product)))))
- productsGet :: Word64 -> Text -> ProductsGet
- data ProductsGet
- pggMerchantId :: Lens' ProductsGet Word64
- pggProductId :: Lens' ProductsGet Text
REST Resource
type ProductsGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product))))) Source #
A resource alias for content.products.get
method which the
ProductsGet
request conforms to.
Creating a Request
Creates a value of ProductsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsGet Source #
Retrieves a product from your Merchant Center account.
See: productsGet
smart constructor.
Request Lenses
pggMerchantId :: Lens' ProductsGet Word64 Source #
The ID of the managing account.
pggProductId :: Lens' ProductsGet Text Source #
The ID of the product.