Reference

Endpoint Get Inventory Item


Name

get_inventory_item

Description

Gets a specific inventory item. [API reference]

Parameters

Parameter Required Options
Name: location_ids

Label: Inventory Item Id(s) - Comma separated

Restrict results to records specified by a comma-separated list of IDs. Max IDs per request controlled by BatchSize property (found in PaginationParams)

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_I8 bigint
Sku DT_WSTR nvarchar(255) 255
Cost DT_WSTR nvarchar(255) 255
Tracked DT_BOOL bit
RequiresShipping DT_BOOL bit
CountryCodeOfOrigin DT_WSTR nvarchar(50) 50
ProvinceCodeOfOrigin DT_WSTR nvarchar(50) 50
CountryHarmonizedSystemCodes DT_WSTR nvarchar(4000) 4000
HarmonizedSystemCode DT_I8 bigint
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

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
Get Inventory Item
Optional Parameters
Inventory Item Id(s) - Comma separated
SSIS API Source - Read from table or endpoint

API Destination

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
Get Inventory Item
Optional Parameters
Inventory Item Id(s) - Comma separated
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Get inventory item

SELECT * FROM get_inventory_item

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get inventory item

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_inventory_item';

EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];