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/Transfers a subscription for the customer.

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


REST Resource

type SubscriptionsInsertResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (QueryParam "customerAuthToken" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Subscription :> Post `[JSON]` Subscription)))))))) Source

A resource alias for reseller.subscriptions.insert method which the SubscriptionsInsert request conforms to.

Creating a Request

subscriptionsInsert Source

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

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

Request Lenses

siPayload :: Lens' SubscriptionsInsert Subscription Source

Multipart request metadata.

siCustomerAuthToken :: Lens' SubscriptionsInsert (Maybe Text) Source

An auth token needed for transferring a subscription. Can be generated at https://www.google.com/a/cpanel/customer-domain/TransferToken. Optional.