Route Mapping Object Reference
Overview
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.
| Property |
Value |
| API Name |
s_c__Route_Mapping__c |
| Label |
Route Mapping |
| Plural Label |
Route Mappings |
| Type |
Custom Object |
Fields
| Field Label |
API Name |
Type |
Required |
Description |
| From |
s_c__From__c |
Text(255) |
No |
This is the path the system looks for to trigger the route mapping. |
| 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. |
| Store |
s_c__Store_Id__c |
Lookup (s_c__Store__c) |
No |
Store where the route belongs |
| 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. |
| StoreConnect External ID |
s_c__sC_Id__c |
Text(36) |
No |
StoreConnect External ID, do not modify in Salesforce |
| sObject Type |
s_c__sObject_Type__c |
Text(255) |
No |
Connects the route mapping to a specific object such as Product2 |
Relationships
| Field |
Type |
Related Object |
Relationship Name |
s_c__Store_Id__c |
Lookup |
s_c__Store__c |
Route_Mappings |
Last updated March 6, 2025