- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Create or transfer a subscription.
Create a subscription for a customer's account that you ordered using the Order a new customer account method. For more information about creating a subscription for different payment plans, see manage subscriptions.\
If you did not order the customer's account using the customer insert method, use the customer's customerAuthToken
when creating a subscription for that customer.
If transferring a G Suite subscription with an associated Google Drive or Google Vault subscription, use the batch operation to transfer all of these subscriptions. For more information, see how to transfer subscriptions.
HTTP request
POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a |
Query parameters
Parameters | |
---|---|
customerAuthToken |
The |
Request body
The request body contains an instance of Subscription
.
Response body
If successful, the response body contains a newly created instance of Subscription
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the OAuth 2.0 Overview.