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