ورودی محصول را در حساب Merchant Center شما آپلود می کند. اگر ورودی با همان contentLanguage، offerId و dataSource از قبل وجود داشته باشد، این روش جایگزین آن ورودی می شود.
پس از درج، بهروزرسانی یا حذف ورودی محصول، ممکن است چند دقیقه طول بکشد تا محصول پردازش شده بازیابی شود.
درخواست HTTP
POST https://merchantapi.googleapis.com/products/v1beta/{parent=accounts/*}/productInputs:insert
مورد نیاز. حسابی که این محصول در آن درج خواهد شد. قالب: حسابها/{حساب}
پارامترهای پرس و جو
پارامترها
data Source
string
مورد نیاز. نام منبع داده محصول اولیه یا تکمیلی. اگر محصول از قبل وجود داشته باشد و منبع داده ارائه شده متفاوت باشد، محصول به منبع داده جدیدی منتقل می شود.
تاریخ آخرین بهروزرسانی 2025-02-06 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-02-06 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis method uploads a product input to your Merchant Center account, replacing existing entries with the same contentLanguage, offerId, and dataSource.\u003c/p\u003e\n"],["\u003cp\u003eThe product input can be inserted into a specified account using the \u003ccode\u003ePOST\u003c/code\u003e method and may take several minutes to be processed and retrievable.\u003c/p\u003e\n"],["\u003cp\u003eRequests require specifying the parent account and dataSource via path and query parameters, respectively, with the body containing the ProductInput.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses return the inserted ProductInput object, and authorization necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This describes the process of uploading a product input to a Merchant Center account via a POST request. The request requires a `parent` path parameter specifying the account and a `dataSource` query parameter. The request body contains `ProductInput` data, and if successful, the response body will also contain `ProductInput`. The upload may replace an existing entry if it shares `contentLanguage`, `offerId`, and `dataSource`. Processing can take several minutes. The API method is authorized by `https://www.googleapis.com/auth/content` scope.\n"],null,[]]