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 account's settings.
See: Enterprise Apps Reseller API Reference for reseller.customers.update
.
Synopsis
- type CustomersUpdateResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Put '[JSON] Customer))))))
- customersUpdate :: Customer -> Text -> CustomersUpdate
- data CustomersUpdate
- cuPayload :: Lens' CustomersUpdate Customer
- cuCustomerId :: Lens' CustomersUpdate Text
REST Resource
type CustomersUpdateResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Put '[JSON] Customer)))))) Source #
A resource alias for reseller.customers.update
method which the
CustomersUpdate
request conforms to.
Creating a Request
Creates a value of CustomersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersUpdate Source #
Update a customer account's settings.
See: customersUpdate
smart constructor.
Instances
Request Lenses
cuCustomerId :: Lens' CustomersUpdate Text Source #
Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.