{"title":"Route Mapping Object Reference","slug":"route-mapping-object-reference","url":"https://support.storeconnect.com/articles/route-mapping-object-reference","url_markdown":"https://support.storeconnect.com/articles/route-mapping-object-reference.md","subtitle":null,"summary":"Route mappings allow the user to create permanent and temporary redirects for their store. Route mappings are created automatically when a product, article or page changes its path and can be deleted if the old path is no longer required.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Route Mapping, s_c__Route_Mapping__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nRoute mappings allow the user to create permanent and temporary redirects for their store. Route mappings are created automatically when a product, article or page changes its path and can be deleted if the old path is no longer required.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Route_Mapping__c` |\n| **Label** | Route Mapping |\n| **Plural Label** | Route Mappings |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| From | `s_c__From__c` | Text(255) | No | This is the path the system looks for to trigger the route mapping. |\n| Type | `s_c__Status_Code__c` | Picklist | Yes | This is the type of route mapping used when this route mapping is triggered, 301 or 302 or a special 'rewrite' which renders the existing content without any redirect. |\n| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | No | Store where the route belongs |\n| To | `s_c__To__c` | Text(255) | No | This is the URL the system will send the request to once the From__c path is matched. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n| sObject Type | `s_c__sObject_Type__c` | Text(255) | No | Connects the route mapping to a specific object such as Product2 |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Route_Mappings |"}