Preview a link replacement
preview_link_replacementRead-onlyIdempotent
Where a broken link actually appears in the store's content, before anything is edited: the pages, the occurrence counts, and any navigation menus containing it (menus belong to Shopify's menu editor and can't be rewritten here). Read-only. Run this before replace_link and show the merchant what would change.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brokenLinkId | Yes | From list_broken_links |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| menus | Yes | Menus containing the link, which the app cannot rewrite | |
| resources | Yes | ||
| totalOccurrences | Yes |