Url Handle
url_handleTurn a product title into a valid, unique Shopify URL handle. FREE.
Shopify handles are lowercase, may contain letters, numbers and dashes, and may not contain spaces. Typical input {"title": "Men's Merino Wool Socks (2-Pack)"} returns {"handle": "mens-merino-wool-socks-2-pack", "valid": true, "changed": true, "collisions": []}.
Use when generating handles for an import, or checking one you already have. Not for validating a whole header row — that is product_csv_check. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "title must not be empty"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The product title or a candidate handle, e.g. "Men's Merino Wool Socks". | |
| existing | No | Handles already used in the store or the file, so a collision can be reported and a suffixed alternative suggested. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||