Questions tagged [google-reseller-api]

59 questions
1
vote
0 answers

Invalid credentials using PHP with the Google apps reseller api

I'm trying to build a couple of webpages to gather info about our GApps customers. I have all the code needed to get an Oauth token and it even seems to work (at least i can read all my calendar events using the calendar API). When i try to access…
Luca
  • 11
  • 4
0
votes
0 answers

Sneaker Price Comparison model

i would like to build a sneaker price comparison website to let my audience find the best online reseller to buy the sneaker at the specific time when they are comparing for the specific model of sneaker and size they want. in order to do so we need…
0
votes
1 answer

How to use google reseller api using service account

I want to access Google reseller api to get customers and subscriptions using google service account key but not able to do it. Below is my code snippet: async function runSample() { const auth = new google.auth.GoogleAuth({ keyFile:…
0
votes
1 answer

Transfer a customer to your reseller account

I am trying to transfer a customer domain to my reseller account. I have transfer token generated In the below screen, if I give the domain and transfer token, I will have a customer created with all the details. How to do this using the…
0
votes
2 answers

Uncaught TypeError: Cannot read property 'signIn' of null (When running the code on localhost!)

I ran this code on "js.do" and it worked without any issues. When I ran it on a localhost, however, I got the following error: "Uncaught TypeError: Cannot read property 'signIn' of null".
0
votes
1 answer

How to retrieve only the number of seats for all the subscriptions of my customers? (Google Workplace Reseller)

I am using the following JS code to retrieve seats details for all the subscriptions of my customers. gapi.client.reseller.subscriptions.list() .then(function(response) { // Handle the results here (response.result has the parsed body). …
0
votes
1 answer

Google Reseller API to know if a CustomerId (domain) is my reseller customer

I have an app, through which Google G Suite customers can transfer their billing to my reseller console. Now if someone tries to transfer a domain which is already under my account, how can I identify that and return a corresponding message. I am…
vedbhawsar
  • 75
  • 8
0
votes
1 answer

Re-seller API - insufficient permissions

I'm trying to create a new customer and attach a G-Suite subscription to the customer, but seem to be unable to do this. Where am I currently: Can create a google client object Can check if a customer already exists with that domain Can create a…
0
votes
0 answers

G-Suite Reseller Sandbox

I'm trying to integrate a WooCommerce store, to allow our customers to easily purchase new subscriptions in the g-suit environment. So far I have been using the following, for all information regarding the g-suit…
0
votes
0 answers

G-Suite API to purchase licenses for resellers

I have made an extensive research on the reseller flow and found the following APIs Reseller API - covers the flow for creating customers, assigning license to customers. This document tells that 'A reseller buys user licenses from Google and…
0
votes
2 answers

Creating G Suite subscription

While creating a subscription for customer using "G Suite Reseller API" POST https://www.googleapis.com/apps/reseller/v1/customers/customerId/subscriptions can we specify : plan.planName as "ANNUAL_MONTHLY_PAY", and renewalSettings.renewalType as …
Jagabandhu
  • 11
  • 2
0
votes
1 answer

Adding first user to newly provisioned customer through reseller API not allowed

We are setting up an easy way to provision new G Suite customers and our project is already capable of creating customers and the respective subscriptions. But users only get some welcome mail from Google and are being told to login. When trying to…
0
votes
2 answers

Re-activate a suspended G Suite subscription at the end of its annual commitment interval

We have a system that manages our G Suite Reseller via the API. Given a G Suite subscription that has been suspended because it has already passed its annual commitment period (and its renewal setting is set to "CANCEL" i.e. be suspended after its…
0
votes
1 answer

Getting 'Google_Service_Exception' using with reseller api scope

Getting 'Google_Service_Exception' using the reseller API scope: Fatal error: Uncaught exception 'Google_Service_Exception' with message '{ "error": { "errors": [ { "domain": "global", "reason": "insufficientPermissions", "message": "Insufficient…
Ganesh
  • 1
  • 1
0
votes
1 answer

Get G Suite seat pricing (especially with discounts)

Using the Google Reseller API I am making a tool to order new licenses (increase seats) for G Suite users. Now I have the current prices in my database, which works fine, but it doesn't account for specials, such as the upgrade from G Suite Basic to…
Xyzer
  • 111
  • 7