Create a redirect
Sends an address that has nothing at it to one that has. It is followed only once the first address has turned out to be nothing, so a redirect can never take a page away. Adding one for a broken link takes that link off the list. Answers the store’s redirects as they now stand.
Needs the seo.write permission (Change Search Settings).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Body
The address that has nothing at it, as a path on the store (/old-page). A whole address of the store is cut down to its path.
"/product/?name=old-name"
Where it leads, as a path on the store. A redirect never leaves the store, and never leads to an address that is itself redirected.
"/product/?name=new-name"

