Create a redirect
Create a redirect.
Rate Limit: 300 Max attempts within 1 minute.
Path Parameters
Parameter | Details |
---|---|
shopKey
| string Example: ms |
Request body
requiredParameter | Details |
---|---|
parent
| object id integerExample: 83070 source stringExample: https://forceful-poem.net/ target stringExample: https://extra-small-mouser.net/ statusCode integerExample: 302 isRegex booleanpriority integerExample: 700 id integer
Example: 83070 |
id | integer Example: 83070 |
source | string Example: https://forceful-poem.net/ |
target | string Example: https://extra-small-mouser.net/ |
statusCode | integer Example: 302 |
isRegex | boolean |
priority | integer Example: 700 |
error
| object errorKey stringmessage string |
createdAt
| string Example: 2023-05-10T10:00:00+00:00 |
updatedAt
| string Example: 2023-05-11T10:00:00+00:00 |
Responses
201
Redirect was successfully created.
application/json
Success
id
integer
Example:
83070
source
string
Example:
https://forceful-poem.net/
target
string
Example:
https://extra-small-mouser.net/
statusCode
integer
Example:
302
isRegex
boolean
object
priority
integer
Example:
700
object
createdAt
string
Example:
2023-05-10T10:00:00+00:00
updatedAt
string
Example:
2023-05-11T10:00:00+00:00
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
422
Unprocessable content
application/json
Error
POST
Request samples
Response samples
201CreateRedirectResponse:
Content type: application/json