Get Location
Name
get_location
Description
Gets a specific location. [API reference]
Related Tables
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
Id | Location Id | YES | The ID of the location for which data should be read. |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_I8
|
bigint
|
False |
||
Name |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Active |
DT_BOOL
|
bit
|
False |
||
Address1 |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Address2 |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
City |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Province |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Zip |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Country |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Phone |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
ProvinceCode |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
CountryCode |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
CountryName |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
LocalizedProvinceName |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
LocalizedCountryName |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Legacy |
DT_BOOL
|
bit
|
False |
||
CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
UpdatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Shopify Connector in API Source component to read data or in API Destination component to read/write data:
Lookup a row in Locations table using API Destination
This Endpoint belongs to Locations table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
Get location
SELECT * FROM get_location
WHERE Id = 'abcd-1234-id'
get_location
endpoint belongs to
Locations
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get location
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_location
WHERE Id = ''abcd-1234-id''';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
get_location
endpoint belongs to
Locations
table(s), and can therefore be used via those table(s).