Method: accounts.lfpInventories.insert
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הוספת משאב LfpInventory
לחשבון היעד של המוכר. אם המשאב כבר קיים, הוא יוחלף. תוקף המלאי יפוג באופן אוטומטי אחרי 30 ימים.
בקשת HTTP
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpInventories:insert
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. החשבון של ספק ה-LFP. פורמט: accounts/{account}
|
גוף הבקשה
גוף הבקשה מכיל מופע של LfpInventory
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של LfpInventory
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/content
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-23 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-23 (שעון UTC)."],[],["This describes the process of inserting a `LfpInventory` resource for a merchant account via an HTTP POST request. The request URL includes a required `parent` path parameter specifying the provider account. The request body must contain an `LfpInventory` instance, and a successful response also returns an `LfpInventory` instance. The process utilizes gRPC Transcoding, and requires the `https://www.googleapis.com/auth/content` OAuth scope for authorization. Existing resources will be replaced, and inventories expire after 30 days.\n"],null,[]]