Skip to main content
Version: 202201

Update Redirect

PUT 

/openapi/2022-01/redirects/:id

Update the details of an existing url redirect using its unique identifier.

Request

Path Parameters

    id stringrequired

    Redirect‘s ID

Body

    from_urlstringrequired

    Original URL, for example: /collections/hot-selling

    redirect_urlstringrequired

    Redirected URL, for example: /collections/test1567

    statusstringrequired

    The status of the redirect:
    - open: available
    - close: unavailable

Responses

200

No schema