Menu
Create a redirect
Create a redirect.
POST
/shops/{shopKey}/redirectsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create a redirect action (under Redirects).
- Fill in the fields below, then reference the result from later steps as
{{createARedirect.response.data}}.
Request
Path parameters
Response
Returns 201 with an object. Read it in later steps with {{createARedirect.response.data.<field>}}.
{
"id": 83070,
"source": "https://forceful-poem.net/",
"target": "https://extra-small-mouser.net/",
"statusCode": 302,
"isRegex": false,
"parent": {},
"priority": 700,
"error": {
"errorKey": "string",
"message": "string"
},
"createdAt": "2023-05-10T10:00:00+00:00",
"updatedAt": "2023-05-11T10:00:00+00:00"
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?