Endpoint Get Location
Name
get_location
Description
Gets a specific location. [API reference]
Related Tables
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: Location Id The ID of the location for which data should be read. |
YES |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_I8
|
bigint
|
||
Name |
DT_WSTR
|
nvarchar(255)
|
255 | |
Active |
DT_BOOL
|
bit
|
||
Address1 |
DT_WSTR
|
nvarchar(255)
|
255 | |
Address2 |
DT_WSTR
|
nvarchar(255)
|
255 | |
City |
DT_WSTR
|
nvarchar(255)
|
255 | |
Province |
DT_WSTR
|
nvarchar(255)
|
255 | |
Zip |
DT_WSTR
|
nvarchar(255)
|
255 | |
Country |
DT_WSTR
|
nvarchar(255)
|
255 | |
Phone |
DT_WSTR
|
nvarchar(255)
|
255 | |
ProvinceCode |
DT_WSTR
|
nvarchar(255)
|
255 | |
CountryCode |
DT_WSTR
|
nvarchar(255)
|
255 | |
CountryName |
DT_WSTR
|
nvarchar(255)
|
255 | |
LocalizedProvinceName |
DT_WSTR
|
nvarchar(255)
|
255 | |
LocalizedCountryName |
DT_WSTR
|
nvarchar(255)
|
255 | |
Legacy |
DT_BOOL
|
bit
|
||
CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
||
UpdatedAt |
DT_DBTIMESTAMP
|
datetime
|
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | 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 or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the Locations table, therefore it is better to use it, instead of accessing the endpoint directly:
Required Parameters | |
---|---|
Location Id | Fill-in the parameter... |

API Destination
This Endpoint belongs to the Locations table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get location:
Required Parameters | |
---|---|
Location Id | Fill-in the parameter... |

ODBC application
Use these SQL queries in your ODBC application data source:
Get location
SELECT * FROM Locations
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 Locations
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).