get_listing_inventory
Retrieves the inventory record for a listing you own, including product offerings and optional deleted items, to inspect stock data.
Instructions
Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. Only the owner of the listing may retrieve its inventory record.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listing_id": "<listing_id>"
},
"name": "get_listing_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includes | No | An enumerated string that attaches a valid association. Default value is null. | |
| listing_id | Yes | The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. | |
| show_deleted | No | A boolean value for inventory whether to include deleted products and their offerings. Default value is false. |