AI-generated Key Takeaways
-
Inserts a
RegionalInventory
for a given product within your merchant account, replacing existing entries with the same region. -
Utilizes an HTTP POST request to a specific endpoint with path parameters indicating the account and product.
-
Requires a request body containing a
RegionalInventory
instance and returns the same in the response upon success. -
It can take up to 30 minutes for the inserted/updated
RegionalInventory
to be reflected in products. -
Needs authorization with the
https://www.googleapis.com/auth/content
scope.
Inserts a RegionalInventory
to a given product in your merchant account.
Replaces the full RegionalInventory
resource if an entry with the same
already exists for the product.region
It might take up to 30 minutes for the new or updated RegionalInventory
resource to appear in products.
HTTP request
POST https://merchantapi.googleapis.com/inventories/v1beta/{parent=accounts/*/products/*}/regionalInventories: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 RegionalInventory
.
Response body
If successful, the response body contains an instance of RegionalInventory
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.