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