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 |
Updates the shipping settings of the account.
See: Content API for Shopping Reference for content.accountshipping.update
.
- type AccountshippingUpdateResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountShipping :> Put '[JSON] AccountShipping)))))))
- accountshippingUpdate :: Word64 -> AccountShipping -> Word64 -> AccountshippingUpdate
- data AccountshippingUpdate
- auMerchantId :: Lens' AccountshippingUpdate Word64
- auPayload :: Lens' AccountshippingUpdate AccountShipping
- auAccountId :: Lens' AccountshippingUpdate Word64
- auDryRun :: Lens' AccountshippingUpdate (Maybe Bool)
REST Resource
type AccountshippingUpdateResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accountshipping" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountShipping :> Put '[JSON] AccountShipping))))))) Source #
A resource alias for content.accountshipping.update
method which the
AccountshippingUpdate
request conforms to.
Creating a Request
accountshippingUpdate Source #
Creates a value of AccountshippingUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountshippingUpdate Source #
Updates the shipping settings of the account.
See: accountshippingUpdate
smart constructor.
Request Lenses
auMerchantId :: Lens' AccountshippingUpdate Word64 Source #
The ID of the managing account.
auPayload :: Lens' AccountshippingUpdate AccountShipping Source #
Multipart request metadata.
auAccountId :: Lens' AccountshippingUpdate Word64 Source #
The ID of the account for which to get/update account shipping settings.