API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Customers
  2. Resellernotify
  3. Subscriptions

Customers

For Customers Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/apps/reseller/v1, unless otherwise noted
get GET  /customers/customerId Get a customer account.
insert POST  /customers Order a new customer's account.
patch PATCH  /customers/customerId Update a customer account's settings. This method supports patch semantics.
update PUT  /customers/customerId Update a customer account's settings.

Resellernotify

For Resellernotify Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/apps/reseller/v1, unless otherwise noted
getwatchdetails GET  /resellernotify/getwatchdetails Returns all the details of the watch corresponding to the reseller.
register POST  /resellernotify/register Registers a Reseller for receiving notifications.
unregister POST  /resellernotify/unregister Unregisters a Reseller for receiving notifications.

Subscriptions

For Subscriptions Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/apps/reseller/v1, unless otherwise noted
activate POST  /customers/customerId/subscriptions/subscriptionId/activate Activates a subscription previously suspended by the reseller
changePlan POST  /customers/customerId/subscriptions/subscriptionId/changePlan 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.
changeRenewalSettings POST  /customers/customerId/subscriptions/subscriptionId/changeRenewalSettings Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only.
changeSeats POST  /customers/customerId/subscriptions/subscriptionId/changeSeats Update a subscription's user license settings.
delete DELETE  /customers/customerId/subscriptions/subscriptionId?deletionType=cancel or suspend Cancel, suspend or transfer a subscription to direct.

Required query parameters: deletionType

get GET  /customers/customerId/subscriptions/subscriptionId Get a specific subscription.
insert POST  /customers/customerId/subscriptions Create or transfer a subscription.
list GET  /subscriptions 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.
startPaidService POST  /customers/customerId/subscriptions/subscriptionId/startPaidService Immediately move a 30-day free trial subscription to a paid service subscription.
suspend POST  /customers/customerId/subscriptions/subscriptionId/suspend Suspends an active subscription.

Enviar comentarios sobre…

G Suite Reseller API
G Suite Reseller API