# Interface LfpInventoryServiceGrpc.AsyncService (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface LfpInventoryServiceGrpc.AsyncService

Service for a [LFP
partner](https://support.google.com/merchants/answer/7676652) to submit local
inventories for a merchant.

## Methods

### insertLfpInventory(InsertLfpInventoryRequest request, StreamObserver\<LfpInventory\> responseObserver)

    public default void insertLfpInventory(InsertLfpInventoryRequest request, StreamObserver<LfpInventory> responseObserver)

Inserts a `LfpInventory` resource for the given target merchant account. If
the resource already exists, it will be replaced. The inventory
automatically expires after 30 days.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/com.google.shopping.merchant.lfp.v1beta.InsertLfpInventoryRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/com.google.shopping.merchant.lfp.v1beta.LfpInventory>` |