Get a specific 301 redirect

Retrieves a single 301 redirect by ID.

get/redirects/{id}

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/redirects/{id}
  • Auth
    HTTP basic

Path parameters

idinteger required

The unique identifier of the redirect.

Query parameters

fieldsstring

Comma-separated list of fields to include in the response.

Response

The 301 redirect details.

idinteger

Unique identifier for the redirect.

oldPathstring

The old URL path to redirect from (must start with '/').

newPathstring

The new URL path to redirect to (must start with '/').

createdAtstring date-time

Timestamp when the redirect was created.

Changes

No recorded changes to this operation across all 1 revision of this API.