{"title":"StockLocation - Liquid Object Reference","slug":"stock-location-liquid-object-reference","url":"https://support.storeconnect.com/articles/stock-location-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/stock-location-liquid-object-reference.md","subtitle":null,"summary":"The StockLocation object contains information about a Stock Location.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, StockLocation, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe StockLocation object contains information about a Stock Location.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `active?` | Boolean | Returns whether this StockLocation is active |\n| `address1` | String | Returns the first address line for this StockLocation |\n| `address2` | String | Returns the second address line for this StockLocation |\n| `city` | String | Returns the city for this StockLocation |\n| `country` | String | Returns the country for this StockLocation |\n| `days_to_restock` | Number | Returns the number of days in normally takes to restock items at this StockLocation |\n| `id` | String | Returns the unique id for this StockLocation |\n| `latitude` | String | Returns the latitude for this StockLocation |\n| `logo` | [Medium](medium-liquid-object-reference) | Returns the medium for this StockLocation |\n| `longitude` | String | Returns the longitude for this StockLocation |\n| `name` | String | Returns the name of this StockLocation |\n| `online_fulfillment_options` | String | Returns the online fulfillment options for this StockLocation |\n| `phone` | String | Returns the phone number for this StockLocation |\n| `require_stock_for_pickup?` | Boolean | Returns whether stock is required to enable pickups at this StockLocation |\n| `state` | String | Returns the state for this StockLocation |\n| `website` | String | Returns the website address for this StockLocation |\n| `zip_code` | String | Returns the zip/postal code for this StockLocation |\n\n## Available on\n\n- [CollectionPoint - Liquid Object Reference](collection-point-liquid-object-reference) — `stock_location`\n- [Fulfillment - Liquid Object Reference](fulfillment-liquid-object-reference) — `stock_location`\n- [PickupOption - Liquid Object Reference](pickup-option-liquid-object-reference) — `stock_location`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `pickup_locations`"}