Menu
Get Redirects
Get Redirects
GET
/storefront/redirectsUse it in a workflow
- Add a step and choose the BigCommerce Content connector.
- Pick the Get Redirects action (under Redirects).
- Fill in the fields below, then reference the result from later steps as
{{getRedirects.response.data}}.
Request
Query parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getRedirects.response.data.<field>}}.
{
"data": [
{
"id": 0,
"site_id": 0,
"from_path": "/old-url",
"to": {
"type": "product",
"entity_id": 0,
"url": "/new-url/"
},
"to_url": "https://store-domain.com/new-url"
}
],
"meta": {
"pagination": {
"total": 246,
"count": 5,
"per_page": 5,
"current_page": 1,
"total_pages": 50,
"links": {
"next": "?limit=5&page=2",
"current": "?limit=5&page=1"
}
}
}
}
Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.
Was this page helpful?