Stock_Location__c Object Reference

Object Name Stock_Location__c
Type Custom StoreConnect Object
Description Represents a specific location where stock is held to be sold.

Field Definitions

Field Name Type Required Unique Description
Active__c Checkbox(true) No No Is this stock location active and holding stock.
Address1__c Text No No The first line street address of the Stock_Location__c displayed to the end user if Stock_Location__c.Click_And_Collect_Allowed__c is enabled.
Address2__c Text No No The second line street address of the Stock_Location__c displayed to the end user if Stock_Location__c.Click_And_Collect_Allowed__c is enabled.
Backorderable_Default__c Checkbox(false) No 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__c Text No No The city address of the Stock_Location__c displayed to the end user if Stock_Location__c.Click_And_Collect_Allowed__c is enabled.
Click_And_Collect_Allowed__c Checkbox(false) No No [DEPRECATED] Use Online_Fulfillment_Options__c instead
Country_Id__c Lookup(Country__c) No 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__c Number(5, 2) No 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.
Default__c Checkbox(false) No No This fields is for a future release
Display_Name__c Text No No The name displayed to the customer if click and collect is enabled for this stock location.
Fulfill_Online_Orders__c Checkbox(true) No No [DEPRECATED] Use Online_Fulfillment_Options__c instead
Geolocation__c Location(5) No No The geolocation of this stock location, used for where to buy search if enabled on your store.
Hide_From_Search__c Checkbox(false) No 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.
Media_Id__c Lookup(Media__c) No No The image of this stock location.
Online_Fulfillment_Options__c Picklist No No Should the stock location support shipping, click and collect, both, or none?
Phone__c Phone No No  
Priority__c Checkbox(false) No No When enabled, orders will be fullfilled from this location first. Enabling this will disable any other location from being the priority.
Propagate_All_Variants__c Checkbox(true) No 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_Pickup__c Checkbox(true) No 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__c Text No No The state address of the Stock_Location__c displayed to the end user if Stock_Location__c.Click_And_Collect_Allowed__c is enabled.
Stock_Import_Filename__c Text No No The file name used to import stock levels into this stock location if used within your store. Contact support@getstoreconnect.com for usage.
Stock_Import_Id__c Text No 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__c DateTime No 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__c DateTime No 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__c Text No No The website of this stock location if it exists.
Zip_Code__c Text No No The zip code of the Stock_Location__c displayed to the end user if Stock_Location__c.Click_And_Collect_Allowed__c is enabled.
sC_Id__c Text No Yes StoreConnect External ID, do not modify in Salesforce

For more information about how or when to use the above, see our documentation.

 

 
Back to Documentation