Inserts a LocalInventory resource to a product in your merchant account.
Replaces the full LocalInventory resource if an entry with the same already exists for the product.storeCode
It might take up to 30 minutes for the new or updated LocalInventory resource to appear in products.
HTTP request
POST https://merchantapi.googleapis.com/inventories/v1/{parent=accounts/*/products/*}/localInventories:insert
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The account and product where this inventory will be inserted. Format: |
Request body
The request body contains an instance of LocalInventory.
Response body
If successful, the response body contains an instance of LocalInventory.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.