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 shipping settings of the account.
See: Content API for Shopping Reference for content.shippingsettings.get
.
Synopsis
- type ShippingSettingsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("shippingsettings" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettings)))))
- shippingSettingsGet :: Word64 -> Word64 -> ShippingSettingsGet
- data ShippingSettingsGet
- shiMerchantId :: Lens' ShippingSettingsGet Word64
- shiAccountId :: Lens' ShippingSettingsGet Word64
REST Resource
type ShippingSettingsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("shippingsettings" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettings))))) Source #
A resource alias for content.shippingsettings.get
method which the
ShippingSettingsGet
request conforms to.
Creating a Request
Creates a value of ShippingSettingsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ShippingSettingsGet Source #
Retrieves the shipping settings of the account.
See: shippingSettingsGet
smart constructor.
Instances
Request Lenses
shiMerchantId :: Lens' ShippingSettingsGet Word64 Source #
The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
shiAccountId :: Lens' ShippingSettingsGet Word64 Source #
The ID of the account for which to get/update shipping settings.