v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
localinventory

Updates the local inventory of a product in your Merchant Center account.

post/{merchantId}/products/{productId}/localinventory

Path parameters

merchantIdstring required

The ID of the account that contains the product. This account cannot be a multi-client account.

productIdstring required

The REST ID of the product for which to update local inventory.

Request body

quantityinteger

The quantity of the product. Must be nonnegative.

kindstring

Identifies what kind of resource this is. Value: the fixed string "content#localInventory"

pickupSlastring

The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with pickupMethod. For accepted attribute values, see the local product inventory feed specification.

instoreProductLocationstring

The in-store product location.

availabilitystring

The availability of the product. For accepted attribute values, see the local product inventory feed specification.

pickupMethodstring

The supported pickup method for this offer. Unless the value is "not supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory feed specification.

storeCodestring

Required. The store code of this local inventory resource.

salePriceEffectiveDatestring

A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.

Response

Successful response