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 |
Lists the shipping settings of the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.shippingsettings.list
.
Synopsis
- type ShippingSettingsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("shippingsettings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettingsListResponse))))))
- shippingSettingsList :: Word64 -> ShippingSettingsList
- data ShippingSettingsList
- sslMerchantId :: Lens' ShippingSettingsList Word64
- sslPageToken :: Lens' ShippingSettingsList (Maybe Text)
- sslMaxResults :: Lens' ShippingSettingsList (Maybe Word32)
REST Resource
type ShippingSettingsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("shippingsettings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ShippingSettingsListResponse)))))) Source #
A resource alias for content.shippingsettings.list
method which the
ShippingSettingsList
request conforms to.
Creating a Request
Creates a value of ShippingSettingsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ShippingSettingsList Source #
Lists the shipping settings of the sub-accounts in your Merchant Center account.
See: shippingSettingsList
smart constructor.
Instances
Request Lenses
sslMerchantId :: Lens' ShippingSettingsList Word64 Source #
The ID of the managing account. This must be a multi-client account.
sslPageToken :: Lens' ShippingSettingsList (Maybe Text) Source #
The token returned by the previous request.
sslMaxResults :: Lens' ShippingSettingsList (Maybe Word32) Source #
The maximum number of shipping settings to return in the response, used for paging.