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