Shopify Connector
Documentation
Version: 2
Documentation

Table OrderItems


Parameters

Parameter Label Required Options Description Help
There are no parameters

Supported Operations

Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.
Method Supported Reference EndPoint
SELECT get_order_items
INSERT
UPDATE
UPSERT
DELETE
LOOKUP get_order_items

Examples

SSIS

Use Shopify Connector in API Source component to read data or in API Destination component to read/write data:

Read from OrderItems table using API Source

Shopify
OrderItems
SSIS API Source - Read from table or endpoint

Read/write to OrderItems table using API Destination

Shopify
OrderItems
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get line items for all orders

SELECT * FROM OrderItems

Get line items for a specific order by the order ID

SELECT * FROM OrderItems Where OrderId=1111111111111

Get line items for multiple specific orders by their order IDs

SELECT * FROM OrderItems WITH(ids='1111111111111,2222222222222,3333333333333')

SQL Server

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

Get line items for all orders

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

EXEC (@MyQuery) AT [LINKED_SERVER_TO_SHOPIFY_IN_DATA_GATEWAY];

Get line items for a specific order by the order ID

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM OrderItems Where OrderId=1111111111111';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_SHOPIFY_IN_DATA_GATEWAY];

Get line items for multiple specific orders by their order IDs

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM OrderItems WITH(ids=''1111111111111,2222222222222,3333333333333'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_SHOPIFY_IN_DATA_GATEWAY];