Watch a sold-out listing for restock
watch_back_in_stockStarts a poll-only watch on one listing the store itself currently shows as sold out, and returns a bearer token to poll or stop it. Refused not_sold_out on any listing that is not shown as sold out right now (unknown or not-published stock counts as available, never sold out), and listing_not_found for a store, product or variant RoboTrunk does not hold. Nothing is emailed or called back; poll get_back_in_stock_watch to learn when it flips. Use when a shopper wants to know when a sold-out listing comes back in stock. Keep the watch_token; stop with stop_back_in_stock_watch. Error recovery: invalid_request names the field to fix; listing_not_found means call search_catalog; not_sold_out means no watch is needed; rate_limited means wait a minute; watch_failed (or any other unexpected error): retry once, then call submit_feedback. Next: get_back_in_stock_watch to poll for the restock. Full guide: get_tool_guide or /agent/tools.json#watch_back_in_stock Example call: {"merchant":"anbbaby-com","product_id":"gid://shopify/Product/1234567890"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant | Yes | The store slug from the earlier search_catalog result. | |
| product_id | Yes | The product_id from search_catalog or get_product, or its bare numeric Shopify id. Example: "gid://shopify/Product/1234567890" or "1234567890", never a page link. | |
| variant_id | No | One sold-out variant to watch, or null/omitted to watch the whole product, which alerts as soon as any variant is available again. | |
| shopping_session_id | No | Optional server-issued shopping session correlation ID. It is not purchase authority. |