Liking cljdoc? Tell your friends :D

happygapi.reseller.subscriptions

Enterprise Apps Reseller API: subscriptions. Creates and manages your customers and their subscriptions. See: https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions

Enterprise Apps Reseller API: subscriptions.
Creates and manages your customers and their subscriptions.
See: https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions
raw docstring

activate$clj

(activate$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/activate

Required parameters: customerId, subscriptionId

Optional parameters: none

Activates a subscription previously suspended by the reseller

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/activate

Required parameters: customerId, subscriptionId

Optional parameters: none

Activates a subscription previously suspended by the reseller
sourceraw docstring

changePlan$clj

(changePlan$ auth parameters body)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changePlan

Required parameters: customerId, subscriptionId

Optional parameters: none

Body:

{:dealCode string, :kind string, :planName string, :purchaseOrderId string, :seats {:kind string, :licensedNumberOfSeats integer, :maximumNumberOfSeats integer, :numberOfSeats integer}}

Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changePlan

Required parameters: customerId, subscriptionId

Optional parameters: none

Body: 

{:dealCode string,
 :kind string,
 :planName string,
 :purchaseOrderId string,
 :seats {:kind string,
         :licensedNumberOfSeats integer,
         :maximumNumberOfSeats integer,
         :numberOfSeats integer}}

Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments.
sourceraw docstring

changeRenewalSettings$clj

(changeRenewalSettings$ auth parameters body)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changeRenewalSettings

Required parameters: customerId, subscriptionId

Optional parameters: none

Body:

{:kind string, :renewalType string}

Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changeRenewalSettings

Required parameters: customerId, subscriptionId

Optional parameters: none

Body: 

{:kind string, :renewalType string}

Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only.
sourceraw docstring

changeSeats$clj

(changeSeats$ auth parameters body)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changeSeats

Required parameters: customerId, subscriptionId

Optional parameters: none

Body:

{:kind string, :licensedNumberOfSeats integer, :maximumNumberOfSeats integer, :numberOfSeats integer}

Update a subscription's user license settings.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/changeSeats

Required parameters: customerId, subscriptionId

Optional parameters: none

Body: 

{:kind string,
 :licensedNumberOfSeats integer,
 :maximumNumberOfSeats integer,
 :numberOfSeats integer}

Update a subscription's user license settings.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/delete

Required parameters: customerId, deletionType, subscriptionId

Optional parameters: none

Cancel, suspend, or transfer a subscription to direct.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/delete

Required parameters: customerId, deletionType, subscriptionId

Optional parameters: none

Cancel, suspend, or transfer a subscription to direct.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/get

Required parameters: customerId, subscriptionId

Optional parameters: none

Get a specific subscription.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/get

Required parameters: customerId, subscriptionId

Optional parameters: none

Get a specific subscription.
sourceraw docstring

insert$clj

(insert$ auth parameters body)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/insert

Required parameters: customerId

Optional parameters: customerAuthToken

Body:

{:skuName string, :creationTime string, :purchaseOrderId string, :billingMethod string, :trialSettings {:isInTrial boolean, :trialEndTime string}, :suspensionReasons [string], :resourceUiUrl string, :customerId string, :transferInfo {:minimumTransferableSeats integer, :transferabilityExpirationTime string}, :customerDomain string, :status string, :kind string, :skuId string, :seats {:kind string, :licensedNumberOfSeats integer, :maximumNumberOfSeats integer, :numberOfSeats integer}, :plan {:commitmentInterval {:endTime string, :startTime string}, :isCommitmentPlan boolean, :planName string}, :renewalSettings {:kind string, :renewalType string}, :dealCode string, :subscriptionId string}

Create or transfer a subscription.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/insert

Required parameters: customerId

Optional parameters: customerAuthToken

Body: 

{:skuName string,
 :creationTime string,
 :purchaseOrderId string,
 :billingMethod string,
 :trialSettings {:isInTrial boolean, :trialEndTime string},
 :suspensionReasons [string],
 :resourceUiUrl string,
 :customerId string,
 :transferInfo {:minimumTransferableSeats integer,
                :transferabilityExpirationTime string},
 :customerDomain string,
 :status string,
 :kind string,
 :skuId string,
 :seats {:kind string,
         :licensedNumberOfSeats integer,
         :maximumNumberOfSeats integer,
         :numberOfSeats integer},
 :plan {:commitmentInterval {:endTime string, :startTime string},
        :isCommitmentPlan boolean,
        :planName string},
 :renewalSettings {:kind string, :renewalType string},
 :dealCode string,
 :subscriptionId string}

Create or transfer a subscription.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/list

Required parameters: none

Optional parameters: customerAuthToken, customerId, customerNamePrefix, maxResults, pageToken

List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/list

Required parameters: none

Optional parameters: customerAuthToken, customerId, customerNamePrefix, maxResults, pageToken

List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions.
sourceraw docstring

startPaidService$clj

(startPaidService$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/startPaidService

Required parameters: customerId, subscriptionId

Optional parameters: none

Immediately move a 30-day free trial subscription to a paid service subscription.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/startPaidService

Required parameters: customerId, subscriptionId

Optional parameters: none

Immediately move a 30-day free trial subscription to a paid service subscription.
sourceraw docstring

suspend$clj

(suspend$ auth parameters)

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/suspend

Required parameters: customerId, subscriptionId

Optional parameters: none

Suspends an active subscription.

https://developers.google.com/google-apps/reseller/api/reference/rest/v1/subscriptions/suspend

Required parameters: customerId, subscriptionId

Optional parameters: none

Suspends an active subscription.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close