Copyright | (c) 2015 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.accountshipping.list
.
- type AccountshippingListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AccountshippingListResponse))))))
- accountshippingList :: Word64 -> AccountshippingList
- data AccountshippingList
- al1MerchantId :: Lens' AccountshippingList Word64
- al1PageToken :: Lens' AccountshippingList (Maybe Text)
- al1MaxResults :: Lens' AccountshippingList (Maybe Word32)
REST Resource
type AccountshippingListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AccountshippingListResponse)))))) Source
A resource alias for content.accountshipping.list
method which the
AccountshippingList
request conforms to.
Creating a Request
Creates a value of AccountshippingList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountshippingList Source
Lists the shipping settings of the sub-accounts in your Merchant Center account.
See: accountshippingList
smart constructor.
Request Lenses
al1MerchantId :: Lens' AccountshippingList Word64 Source
The ID of the managing account.
al1PageToken :: Lens' AccountshippingList (Maybe Text) Source
The token returned by the previous request.
al1MaxResults :: Lens' AccountshippingList (Maybe Word32) Source
The maximum number of shipping settings to return in the response, used for paging.