redirects

Redirect a component short link to its affiliate target (German locale)

Looks up the component (plus its originalId variant) and redirects to the stored affiliate link for the visitor's region, otherwise to a localized Amazon search for the component on that marketplace. Region comes from the region parameters in their listed precedence, falling back to de. The click is recorded in component_click_events with source <src>_affiliate or <src>_amazon_search, except in development or for bot User-Agents. A malformed or unknown id answers 404.

get/de/{componentId}

Request

  • Base URL: https://voltplan.app
  • URL: https://voltplan.app/de/{componentId}
  • Auth: none declared

Query parameters

srcstring

Click attribution prefix stored in the recorded click source; defaults to voltplan.

regionstring

Marketplace override, highest precedence. Accepts a marketplace code (de, us, uk, fr, es, it, au), a country alias (at, ch, lu, nl, se, dk, no → de; be → fr; ca, mx → us; nz → au; ie, gb → uk; pt → es), a language code (en → us, de, fr, es, it) or a lang-COUNTRY tag (country part tried first, then language). Case-insensitive; any other value is ignored and the next region signal applies.

countrystring

Same as region; read only when region is absent or empty.

Headers

x-voltplan-regionstring

Region override header, used when no query override applies.

x-voltplan-countrystring

Read only when x-voltplan-region is absent or empty.

x-vercel-ip-countrystring

CDN country header; checked after the VoltPlan headers.

cf-ipcountrystring

CDN country header; checked after x-vercel-ip-country.

x-country-codestring

CDN country header; checked after cf-ipcountry.

x-forwarded-forstring

First address is GeoIP-resolved to a country when no header above yields a region.

x-real-ipstring

GeoIP-resolved when x-forwarded-for is absent.

accept-languagestring

Last signal: the first language range that normalizes to a region wins.

Changes

No recorded changes to this operation across all 1 revision of this API.