Skip to main content
PATCH
/
api
/
dashboard
/
redirects
/
{redirect_id}
Update Redirect
curl --request PATCH \
  --url https://api.example.com/api/dashboard/redirects/{redirect_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_path": "<string>",
  "target_path": "<string>",
  "is_permanent": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source_path": "<string>",
  "target_path": "<string>",
  "is_permanent": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Path Parameters

redirect_id
string<uuid>
required

Body

application/json
source_path
string | null
Required string length: 1 - 2048
target_path
string | null
Required string length: 1 - 2048
is_permanent
boolean | null

Response

Successful Response

Dashboard view of a single redirect rule.

id
string<uuid>
required
source_path
string
required
target_path
string
required
is_permanent
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required