younifyd
Menu

Create Redirect Export Job

Create Redirects Export Job

POST/storefront/redirects/imex/export

Use it in a workflow

  1. Add a step and choose the BigCommerce Content connector.
  2. Pick the Create Redirect Export Job action (under Redirects).
  3. Fill in the fields below, then reference the result from later steps as {{createRedirectExportJob.response.data}}.

Request

Headers

Acceptstringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body.

Default "application/json"

Content-Typestringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.

Default "application/json"

Request body

Enter the body as JSON in the step's Body field.

site_idinteger

The site ID for which you wish to export redirects. If no site ID is provided, the request exports all redirects for all sites.

Default null

redirect_idsarray<integer>

A list of the redirect IDs you wish to export. If no redirect IDs are provided, the request exports all redirects for the given site selection.

Default []

include_dynamic_target_urlsboolean

If true, the exported CSV will contain an additional read-only column containing the target URL for dynamic redirects.

Default false

json
{
  "site_id": null,
  "redirect_ids": [],
  "include_dynamic_target_urls": false
}

Response

Returns 201 with an object. Read it in later steps with {{createRedirectExportJob.response.data.<field>}}.

idstring
json
{
  "id": "ab1c2de3-f4gh-5678-i90j-klm12n345o67"
}

Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.