younifyd
Menu

Admin GraphQL: List URL Redirects

List URL redirects configured in BigCommerce via Admin GraphQL — the query is editable, so you decide exactly what comes back

Use it in a workflow

  1. Add a step and choose the BigCommerce Admin GraphQL connector.
  2. Pick the Admin GraphQL: List URL Redirects action (under bigcommerce).
  3. Fill in the fields below, then reference the result from later steps as {{adminGraphqlListUrlRedirects.response.data}}.

Fields

querystring

Editable GraphQL query sent to the Admin API.

Default "query BCListRedirects($filter: RedirectsFiltersInput, $first: Int!, $after: String) {\n store {\n redirects(filter: $filter, first: $first, after: $after) {\n pageInfo { hasNextPage endCursor }\n edges {\n node {\n entityId\n fromPath\n to { ... on ManualRedirect { url } ... on ExistingPageRedirect { entityType entityId } }\n statusCode\n siteId\n }\n }\n }\n }\n}"

variablesstring

JSON object of query variables — set filter.siteId, first, and after.

Default "{\n \"first\": 50,\n \"filter\": { \"siteId\": 1 }\n}"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded to BigCommerce. Headers below override forwarded ones.

Default false

headerskeyvalue

HTTP headers to include in the request to BigCommerce

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

Was this page helpful?