Method: subscriptions.get

customers.get a specific subscription.

The subscriptionId can be found using the Retrieve all reseller subscriptions method.

For more information about retrieving a specific subscription, see the information descrived in manage subscriptions.

HTTP request

GET https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.

subscriptionId

string

This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Subscription.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/apps.order
  • https://www.googleapis.com/auth/apps.order.readonly

For more information, see the OAuth 2.0 Overview.