Skip to main content
POST
/
api
/
v1
/
:team_slug
/
:app_slug
/
redirects
Error
A valid request URL is required to generate request examples
{
  "data": {
    "id": "<string>",
    "item_id": "<string>",
    "locale": "<string>",
    "new_slug": "<string>",
    "old_slug": "<string>",
    "type": "product"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

app_slug
string
required

App slug

team_slug
string
required

Team slug

Body

application/json

Redirect payload

locale
string
required
new_slug
string
required
old_slug
string
required
item_id
string
type
any

Response

Redirect created successfully

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean