Send feedback
Method: accounts.products.localInventories.insert
Stay organized with collections
Save and categorize content based on your preferences.
Inserts a LocalInventory
resource to a product in your merchant account.
Replaces the full LocalInventory
resource if an entry with the same storeCode
already exists for the product.
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/v1beta/{parent=accounts/*/products/*}/localInventories:insert
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
parent
string
Required. The account and product where this inventory will be inserted. Format: accounts/{account}/products/{product}
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 .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-20 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-20 UTC."],[],[]]