Get Products
Name
get_products
Description
Gets a list of products. [API reference]
Related Tables
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_I8
|
bigint
|
False |
||
Title |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
BodyHtml |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
Vendor |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
ProductType |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
UrlHandle |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
UpdatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
PublishedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
TemplateSuffix |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
Status |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
PublishedScope |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
Tags |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
AdminGraphqlApiId |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
Variants |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
Options |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
Images |
DT_NTEXT
|
nvarchar(MAX)
|
4000 | False |
|
Image |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
ImageId |
DT_I8
|
bigint
|
False |
||
ImageProductId |
DT_I8
|
bigint
|
False |
||
ImagePosition |
DT_I4
|
int
|
False |
||
ImageCreatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
ImageUpdatedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
ImageAlt |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
ImageWidth |
DT_I4
|
int
|
False |
||
ImageHeight |
DT_I4
|
int
|
False |
||
ImageSrc |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
ImageVariantIds |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
ImageAdminGraphqlApiId |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
Metafields |
DT_NTEXT
|
nvarchar(MAX)
|
False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
ProductId |
DT_I8
|
bigint
|
False |
Examples
SSIS
Use Shopify Connector in API Source component to read data or in API Destination component to read/write data:
Read from Products table using API Destination
This Endpoint belongs to Products 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 products
SELECT * FROM get_products
Get list of products
SELECT * FROM Products
Get a specific product by its ID
SELECT * FROM Products WITH Id=1111111111111
Get multiple specific products by their IDs
SELECT * FROM Products WITH(ids='1111111111111,2222222222222,3333333333333')
get_products
endpoint belongs to
Products
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 products
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_products';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
Get list of products
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Products';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
Get a specific product by its ID
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Products WITH Id=1111111111111';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
Get multiple specific products by their IDs
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Products WITH(ids=''1111111111111,2222222222222,3333333333333'')';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
get_products
endpoint belongs to
Products
table(s), and can therefore be used via those table(s).