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. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.
See: Content API for Shopping Reference for content.accountshipping.get
.
- type AccountshippingGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountShipping)))))
- accountshippingGet :: Word64 -> Word64 -> AccountshippingGet
- data AccountshippingGet
- acccMerchantId :: Lens' AccountshippingGet Word64
- acccAccountId :: Lens' AccountshippingGet Word64
REST Resource
type AccountshippingGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountShipping))))) Source #
A resource alias for content.accountshipping.get
method which the
AccountshippingGet
request conforms to.
Creating a Request
Creates a value of AccountshippingGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountshippingGet Source #
Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.
See: accountshippingGet
smart constructor.
Request Lenses
acccMerchantId :: Lens' AccountshippingGet Word64 Source #
The ID of the managing account.
acccAccountId :: Lens' AccountshippingGet Word64 Source #
The ID of the account for which to get/update account shipping settings.