Method: accounts.lfpInventories.insert
Menyisipkan resource LfpInventory
untuk akun penjual target yang diberikan. Jika sudah ada, resource akan diganti. Masa berlaku inventaris akan otomatis berakhir setelah 30 hari.
Permintaan HTTP
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpInventories:insert
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Akun penyedia LFP. Format: accounts/{account}
|
Isi permintaan
Isi permintaan memuat instance LfpInventory
.
Isi respons
Jika berhasil, isi respons memuat instance LfpInventory
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-23 UTC."],[[["Inserts or replaces an `LfpInventory` resource for a given merchant account, with automatic 30-day expiration."],["Uses a POST request to the specified URL with path parameter indicating the target account."],["Requires an `LfpInventory` object in the request body and returns the same in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],[]]