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 supported carriers and carrier services for an account.
See: Content API for Shopping Reference for content.shippingsettings.getsupportedcarriers
.
Synopsis
- type ShippingSettingsGetsupportedcarriersResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("supportedCarriers" :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettingsGetSupportedCarriersResponse))))
- shippingSettingsGetsupportedcarriers :: Word64 -> ShippingSettingsGetsupportedcarriers
- data ShippingSettingsGetsupportedcarriers
- sMerchantId :: Lens' ShippingSettingsGetsupportedcarriers Word64
REST Resource
type ShippingSettingsGetsupportedcarriersResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("supportedCarriers" :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettingsGetSupportedCarriersResponse)))) Source #
A resource alias for content.shippingsettings.getsupportedcarriers
method which the
ShippingSettingsGetsupportedcarriers
request conforms to.
Creating a Request
shippingSettingsGetsupportedcarriers Source #
Creates a value of ShippingSettingsGetsupportedcarriers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ShippingSettingsGetsupportedcarriers Source #
Retrieves supported carriers and carrier services for an account.
See: shippingSettingsGetsupportedcarriers
smart constructor.
Instances
Request Lenses
sMerchantId :: Lens' ShippingSettingsGetsupportedcarriers Word64 Source #
The ID of the account for which to retrieve the supported carriers.