Admin SDK Google Workspace 리셀러 서비스를 사용하면 Apps Script에서 Admin SDK 리셀러 API를 사용할 수 있습니다.
이 API를 사용하면 승인된 리셀러 관리자가 고객 주문을 하고 Google Workspace 월별 후불 구독을 관리할 수 있습니다.
참조
이 서비스에 관한 자세한 내용은 Admin SDK Google Workspace Reseller API의 참조 문서를 참고하세요. Apps Script의 모든 고급 서비스와 마찬가지로 Admin SDK Google Workspace 리셀러 서비스는 공개 API와 동일한 객체, 메서드, 매개변수를 사용합니다. 자세한 내용은 메서드 서명이 결정되는 방식을 참고하세요.
/** * Logs the list of subscriptions, including the customer ID, date created, plan * name, and the sku ID. Notice the use of page tokens to access the full list * of results. * @see https://developers.google.com/admin-sdk/reseller/reference/rest/v1/subscriptions/list */functiongetSubscriptions(){letresult;letpageToken;do{result=AdminReseller.Subscriptions.list({pageToken:pageToken});for(constsubofresult.subscriptions){constcreationDate=newDate();creationDate.setUTCSeconds(sub.creationTime);console.log('customer ID: %s, date created: %s, plan name: %s, sku id: %s',sub.customerId,creationDate.toDateString(),sub.plan.planName,sub.skuId);}pageToken=result.nextPageToken;}while(pageToken);}
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-31(UTC)"],[],[]]