Menu
Create Redirect Import Job
Create Redirects Import Job
POST
/storefront/redirects/imex/importUse it in a workflow
- Add a step and choose the BigCommerce Content connector.
- Pick the Create Redirect Import Job action (under Redirects).
- Fill in the fields below, then reference the result from later steps as
{{createRedirectImportJob.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"import_file": "Domain,Old Path,Manual URL/Path,Dynamic Target Type,Dynamic Target ID \nstore.example.com,/old-path,/new-manual-path,, \nstore.example.com,/old-product,,Product,12 \nstore.example.com,/old-brand,,Brand,34 \nstore.example.com,/old-category,,Category,56 \nstore.example.com,/old-page,,Page,78 \nstore.example.com,/old-post,,Post,90"
}
Response
Returns 201 with an object. Read it in later steps with {{createRedirectImportJob.response.data.<field>}}.
{
"id": "ab1c2de3-f4gh-5678-i90j-klm12n345o67"
}
Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.
Was this page helpful?