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 |
Update a customer resource if one it exists and is owned by the reseller. This method supports patch semantics.
See: Enterprise Apps Reseller API Reference for reseller.customers.patch
.
- type CustomersPatchResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer))))))
- customersPatch :: Customer -> Text -> CustomersPatch
- data CustomersPatch
- cpPayload :: Lens' CustomersPatch Customer
- cpCustomerId :: Lens' CustomersPatch Text
REST Resource
type CustomersPatchResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer)))))) Source #
A resource alias for reseller.customers.patch
method which the
CustomersPatch
request conforms to.
Creating a Request
Creates a value of CustomersPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersPatch Source #
Update a customer resource if one it exists and is owned by the reseller. This method supports patch semantics.
See: customersPatch
smart constructor.
Request Lenses
cpCustomerId :: Lens' CustomersPatch Text Source #
Id of the Customer