s_c__Stock_Location__c Object Reference
Name | s_c__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 |
---|---|---|---|
s_c__Active__c | Checkbox(true) | No | No |
Is this stock location active and holding stock. | |||
s_c__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. | |||
s_c__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. | |||
s_c__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. | |||
s_c__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. | |||
s_c__Click_And_Collect_Allowed__c | Checkbox(false) | No | No |
[DEPRECATED] Use Online_Fulfillment_Options__c instead | |||
s_c__Country_Id__c | Lookup (s_c__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. | |||
s_c__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. | |||
s_c__Default__c | Checkbox(false) | No | No |
[DEPRECATED] This fields is for a future release | |||
s_c__Display_Name__c | Text | No | No |
The name displayed to the customer if click and collect is enabled for this stock location. | |||
s_c__Fulfill_Online_Orders__c | Checkbox(true) | No | No |
[DEPRECATED] Use Online_Fulfillment_Options__c instead | |||
s_c__Geolocation__c | Location(5) | No | No |
The geolocation of this stock location, used for where to buy search if enabled on your store. | |||
s_c__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. | |||
s_c__Media_Id__c | Lookup (s_c__Media__c) | No | No |
The image of this stock location. | |||
s_c__Online_Fulfillment_Options__c | Picklist | No | No |
Should the stock location support shipping, click and collect, both, or none? | |||
s_c__Phone__c | Phone | No | No |
s_c__Priority__c | Checkbox(false) | No | No |
[DEPRECATED] When enabled, orders will be fullfilled from this location first. Enabling this will disable any other location from being the priority. | |||
s_c__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. | |||
s_c__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. | |||
s_c__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. | |||
s_c__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. | |||
s_c__Stock_Import_Id__c | Text [External ID] | 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. | |||
s_c__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. | |||
s_c__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. | |||
s_c__Website__c | Text | No | No |
The website of this stock location if it exists. | |||
s_c__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. | |||
s_c__sC_Id__c | Text [External ID] | 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