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.
Request
- Base URL: https://voltplan.app
- URL: https://voltplan.app/de/{componentId}
- Auth: none declared
Query parameters
Click attribution prefix stored in the recorded click source; defaults to voltplan.
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.
Same as region; read only when region is absent or empty.
Headers
Region override header, used when no query override applies.
Read only when x-voltplan-region is absent or empty.
CDN country header; checked after the VoltPlan headers.
CDN country header; checked after x-vercel-ip-country.
CDN country header; checked after cf-ipcountry.
First address is GeoIP-resolved to a country when no header above yields a region.
GeoIP-resolved when x-forwarded-for is absent.
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.