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
.
Synopsis
- type ProductstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (QueryParams "destinations" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductstatusesListResponse)))))))
- productstatusesList :: Word64 -> ProductstatusesList
- data ProductstatusesList
- plMerchantId :: Lens' ProductstatusesList Word64
- plDestinations :: Lens' ProductstatusesList [Text]
- plPageToken :: Lens' ProductstatusesList (Maybe Text)
- plMaxResults :: Lens' ProductstatusesList (Maybe Word32)
REST Resource
type ProductstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (QueryParams "destinations" Text :> (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.
Instances
Request Lenses
plMerchantId :: Lens' ProductstatusesList Word64 Source #
The ID of the account that contains the products. This account cannot be a multi-client account.
plDestinations :: Lens' ProductstatusesList [Text] Source #
If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.
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.