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 |
Order a new customer's account.
See: Enterprise Apps Reseller API Reference for reseller.customers.insert
.
Synopsis
- type CustomersInsertResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (QueryParam "customerAuthToken" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Post '[JSON] Customer))))))
- customersInsert :: Customer -> CustomersInsert
- data CustomersInsert
- ciPayload :: Lens' CustomersInsert Customer
- ciCustomerAuthToken :: Lens' CustomersInsert (Maybe Text)
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
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:
data CustomersInsert Source #
Order a new customer's account.
See: customersInsert
smart constructor.
Instances
Request Lenses
ciCustomerAuthToken :: Lens' CustomersInsert (Maybe Text) Source #
The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.