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 statuses of the products in your Merchant Center account.
See: Content API for Shopping Reference for content.productstatuses.list
.
- type ProductstatusesListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (QueryParam "includeInvalidInsertedItems" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductstatusesListResponse)))))))
- productstatusesList :: Word64 -> ProductstatusesList
- data ProductstatusesList
- plMerchantId :: Lens' ProductstatusesList Word64
- plIncludeInvalidInsertedItems :: Lens' ProductstatusesList (Maybe Bool)
- plPageToken :: Lens' ProductstatusesList (Maybe Text)
- plMaxResults :: Lens' ProductstatusesList (Maybe Word32)
REST Resource
type ProductstatusesListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (QueryParam "includeInvalidInsertedItems" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductstatusesListResponse))))))) Source #
A resource alias for content.productstatuses.list
method which the
ProductstatusesList
request conforms to.
Creating a Request
Creates a value of ProductstatusesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProductstatusesList Source #
Lists the statuses of the products in your Merchant Center account.
See: productstatusesList
smart constructor.
Request Lenses
plMerchantId :: Lens' ProductstatusesList Word64 Source #
The ID of the managing account.
plIncludeInvalidInsertedItems :: Lens' ProductstatusesList (Maybe Bool) Source #
Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).
plPageToken :: Lens' ProductstatusesList (Maybe Text) Source #
The token returned by the previous request.
plMaxResults :: Lens' ProductstatusesList (Maybe Word32) Source #
The maximum number of product statuses to return in the response, used for paging.