קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שירות המפיץ של Admin SDK Google Workspace מאפשר לכם להשתמש ב-Admin SDK Reseller API ב-Apps Script.
ה-API הזה מאפשר לאדמינים מורשים של מפיצים לבצע הזמנות של לקוחות ולנהל Google Workspace מינויים חודשיים לתשלום לאחר קבלת השירות.
חומרי עזר
מידע מפורט על השירות הזה זמין במסמכי העזרה של Admin SDK Google Workspace Reseller API. כמו כל השירותים המתקדמים ב-Apps Script, שירות המפיץGoogle Workspace של Admin SDK משתמש באותם אובייקטים, שיטות ופרמטרים כמו ה-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('customerID:%s,datecreated:%s,planname:%s,skuid:%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-06-05 (שעון UTC)."],[[["The Admin SDK Google Workspace Reseller service enables authorized reseller admins to manage Google Workspace subscriptions and place customer orders via Apps Script."],["This advanced service requires prior enabling before use and mirrors the functionality of the Admin SDK Reseller API."],["Comprehensive reference documentation, support resources, and sample code are readily available for developers."],["Sample code showcases how to retrieve and log a list of subscriptions, demonstrating pagination for accessing the complete result set."]]],[]]