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