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 |
Lists the products in your Merchant Center account.
See: Content API for Shopping Reference for content.products.list
.
Synopsis
- type ProductsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductsListResponse))))))
- productsList :: Word64 -> ProductsList
- data ProductsList
- pllMerchantId :: Lens' ProductsList Word64
- pllPageToken :: Lens' ProductsList (Maybe Text)
- pllMaxResults :: Lens' ProductsList (Maybe Word32)
REST Resource
type ProductsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductsListResponse)))))) Source #
A resource alias for content.products.list
method which the
ProductsList
request conforms to.
Creating a Request
Creates a value of ProductsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductsList Source #
Lists the products in your Merchant Center account.
See: productsList
smart constructor.
Instances
Request Lenses
pllMerchantId :: Lens' ProductsList Word64 Source #
The ID of the account that contains the products. This account cannot be a multi-client account.
pllPageToken :: Lens' ProductsList (Maybe Text) Source #
The token returned by the previous request.
pllMaxResults :: Lens' ProductsList (Maybe Word32) Source #
The maximum number of products to return in the response, used for paging.