Stock Location Object Reference

Overview

Represents a specific location where stock is held to be sold.

Property Value
API Name s_c__Stock_Location__c
Label Stock Location
Plural Label Stock Locations
Type Custom Object

Fields

Field Label API Name Type Required Description
Active s_c__Active__c Checkbox No Is this stock location active and holding stock.
Address Line 1 s_c__Address1__c Text(255) No The first line street address of the Stock_Location__c displayed to the end user if Stock_Location__c.Online_Fulfillment_Options__c is set to Click and Collect only or Shipping with Click and Collect.
Address Line 2 s_c__Address2__c Text(255) No The second line street address of the Stock_Location__c displayed to the end user if Stock_Location__c.Online_Fulfillment_Options__c is set to Click and Collect only or Shipping with Click and Collect.
Backorderable Default s_c__Backorderable_Default__c Checkbox No Sets the value for Stock_Level__c.Backorderable__c to match when auto created for this Stock Location. Does not change any existing Stock Level.
City s_c__City__c Text(255) No The city address of the Stock_Location__c displayed to the end user if Stock_Location__c.Online_Fulfillment_Options__c is set to Click and Collect only or Shipping with Click and Collect.
Contact Name s_c__Contact_Name__c Text(255) No The name of the contact for the Stock_Location.
Country s_c__Country_Id__c Lookup (s_c__Country__c) No The country within which this stock location is located, this is associated with the Country__c object so that Stock Locations and Taxes and Shipping are all referencing the same object for calculations.
Days to Restock s_c__Days_To_Restock__c Number(5,2) No If this item is out of stock at this location, how many days for the item to get into stock, this is then shown to the customer if they wish to click and collect from this location.
[DEPRECATED] Default s_c__Default__c Checkbox No [DEPRECATED] This fields is for a future release
Display Name s_c__Display_Name__c Text(255) No The name displayed to the customer if click and collect is enabled for this stock location.
Email s_c__Email__c Text(80) No The email address of the Stock_Location.
Geolocation s_c__Geolocation__c Location No The geolocation of this stock location, used for where to buy search if enabled on your store.
Hide From Search Default s_c__Hide_From_Search__c Checkbox No Sets the value for Stock_Level__c.Hide_From_Search__c to match when auto created for this Stock Location. Does not change any existing Stock Level.
Logo s_c__Media_Id__c Lookup (s_c__Media__c) No The image of this stock location.
Online Fulfillment Options s_c__Online_Fulfillment_Options__c Picklist No Should the stock location support shipping, click and collect, both, or none?
Phone s_c__Phone__c Phone No
[DEPRECATED] Priority Location? s_c__Priority__c Checkbox No [DEPRECATED] When enabled, orders will be fullfilled from this location first. Enabling this will disable any other location from being the priority.
Create Stock Levels for New Products s_c__Propagate_All_Variants__c Checkbox No When true, this stock location will automatically create a Stock_Level__c record for every product created and will recreate any missing Stock_Level__c object that gets deleted.
Require Stock for Click & Collect s_c__Require_Stock_For_Pickup__c Checkbox No If true, this location will not be available for click and collect if there is no stock available for the product at this location.
State/Province s_c__State__c Text(255) No The state address of the Stock_Location__c displayed to the end user if Stock_Location__c.Online_Fulfillment_Options__c is set to Click and Collect only or Shipping with Click and Collect.
Stock Import Filename s_c__Stock_Import_Filename__c Text(255) No The file name used to import stock levels into this stock location if used within your store. Contact support@getstoreconnect.com for usage.
Import ID s_c__Stock_Import_Id__c Text(255) No The stock import ID last used to import stock levels into this stock location if used within your store. Contact support@getstoreconnect.com for usage.
Stock Import Last Completed At s_c__Stock_Import_Last_Completed_At__c DateTime No The date the most recent stock import to import stock levels into this stock location was completed if used within your store. Contact support@getstoreconnect.com for usage.
Stock Import Last Started At s_c__Stock_Import_Last_Started_At__c DateTime No The date the most recent stock import to import stock levels into this stock location was started if used within your store. Contact support@getstoreconnect.com for usage.
Website s_c__Website__c Text(255) No The website of this stock location if it exists.
Zip/Postal Code s_c__Zip_Code__c Text(20) No The zip code of the Stock_Location__c displayed to the end user if Stock_Location__c.Online_Fulfillment_Options__c is set to Click and Collect only or Shipping with Click and Collect.
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Country_Id__c Lookup s_c__Country__c Stock_Locations_Countries
s_c__Media_Id__c Lookup s_c__Media__c Logo