Copyright | (c) 2015 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 "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ProductstatusesListResponse))))))
- productstatusesList :: Word64 -> ProductstatusesList
- data ProductstatusesList
- plMerchantId :: Lens' ProductstatusesList Word64
- plPageToken :: Lens' ProductstatusesList (Maybe Text)
- plMaxResults :: Lens' ProductstatusesList (Maybe Word32)
REST Resource
type ProductstatusesListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (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.
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.