gogol-apps-reseller-0.0.1: Google Enterprise Apps Reseller SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Creates a customer resource if one does not already exist.

See: Enterprise Apps Reseller API Reference for reseller.customers.insert.


REST Resource

type CustomersInsertResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (QueryParam "customerAuthToken" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Customer :> Post `[JSON]` Customer)))))) Source

A resource alias for reseller.customers.insert method which the CustomersInsert request conforms to.

Creating a Request

customersInsert Source

Creates a value of CustomersInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ciPayload :: Lens' CustomersInsert Customer Source

Multipart request metadata.

ciCustomerAuthToken :: Lens' CustomersInsert (Maybe Text) Source

An auth token needed for inserting a customer for which domain already exists. Can be generated at https://www.google.com/a/cpanel//TransferToken. Optional.