Shopify Connector
Documentation
Version: 2
Documentation
Endpoint

Delete a product


Name

delete_product

Description

Deletes a specific product. [API reference]

Related Tables

Products

Parameters

Parameter Label Required Options Description
Id Product Id YES The ID of the product to be deleted.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(4000) 4000 False
Response DT_WSTR nvarchar(255) 255 False
If the column you are looking for is missing, consider customizing Shopify Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_I8 bigint False
Required columns that you need to supply are bolded.

Examples

SSIS

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

Delete rows 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:

Shopify
Products
Delete
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Delete a product

SELECT * FROM delete_product

Delete an existing product

This example shows how to delete an existing product.

DELETE FROM Products
Where Id=7348335771748

delete_product 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:

Delete a product

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

EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];

Delete an existing product

This example shows how to delete an existing product.

DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Products
Where Id=7348335771748';

EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];

delete_product endpoint belongs to Products table(s), and can therefore be used via those table(s).