Reference

Endpoint Get Location


Name

get_location

Description

Gets a specific location. [API reference]

Related Tables

Locations

Parameters

Parameter Required Options
Name: Id

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
If the column you are looking for is missing, consider customizing Shopify Connector.

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:

API Source - Shopify
Shopify Connector can be used to integrate Shopify REST API in your App / BI Tools. You can read/write data about Customers, Orders, OrderItems, Products and more.
Shopify
Locations
Required Parameters
Location Id Fill-in the parameter...
SSIS API Source - Read from table or endpoint

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:

API Destination - Shopify
Shopify Connector can be used to integrate Shopify REST API in your App / BI Tools. You can read/write data about Customers, Orders, OrderItems, Products and more.
Shopify
Locations
Lookup
Required Parameters
Location Id Fill-in the parameter...
SSIS API Destination - Access table operation

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).