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 |
Retrieves the status of a datafeed from your Merchant Center account.
See: Content API for Shopping Reference for content.datafeedstatuses.get
.
Synopsis
- type DatafeedstatusesGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeedstatuses" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "country" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DatafeedStatus)))))))
- datafeedstatusesGet :: Word64 -> Word64 -> DatafeedstatusesGet
- data DatafeedstatusesGet
- dggMerchantId :: Lens' DatafeedstatusesGet Word64
- dggCountry :: Lens' DatafeedstatusesGet (Maybe Text)
- dggDatafeedId :: Lens' DatafeedstatusesGet Word64
- dggLanguage :: Lens' DatafeedstatusesGet (Maybe Text)
REST Resource
type DatafeedstatusesGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeedstatuses" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "country" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DatafeedStatus))))))) Source #
A resource alias for content.datafeedstatuses.get
method which the
DatafeedstatusesGet
request conforms to.
Creating a Request
Creates a value of DatafeedstatusesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatafeedstatusesGet Source #
Retrieves the status of a datafeed from your Merchant Center account.
See: datafeedstatusesGet
smart constructor.
Instances
Request Lenses
dggMerchantId :: Lens' DatafeedstatusesGet Word64 Source #
The ID of the account that manages the datafeed. This account cannot be a multi-client account.
dggCountry :: Lens' DatafeedstatusesGet (Maybe Text) Source #
The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.
dggDatafeedId :: Lens' DatafeedstatusesGet Word64 Source #
The ID of the datafeed.
dggLanguage :: Lens' DatafeedstatusesGet (Maybe Text) Source #
The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.