Endpoint Get Locations
Name
get_locations
Description
Gets a list of locations. [API reference]
Related Tables
Parameters
Parameter | Required | Options | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no parameters |
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:
There are no parameters to configure. |

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 locations:
There are no parameters to configure. |

ODBC application
Use these SQL queries in your ODBC application data source:
Get Locations
SELECT * FROM Locations
get_locations
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 Locations
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Locations';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
get_locations
endpoint belongs to
Locations
table(s), and can therefore be used via those table(s).