Endpoint Delete an Order
Name
delete_order
Description
Deletes a specific order. [API reference]
Related Tables
Parameters
| Parameter | Required | Options | 
|---|---|---|
| 
                    Name:
                     Label: Order Id The ID of the order to be deleted. | 
                YES | 
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | 
|---|---|---|---|---|
| Id | 
                    DT_WSTR
                 | 
                
                    nvarchar(4000)
                 | 
                4000 | |
| Response | 
                    DT_WSTR
                 | 
                
                    nvarchar(255)
                 | 
                255 | 
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | 
|---|---|---|---|---|
| Id | 
                    DT_I8
                 | 
                
                    bigint
                 | 
                
Examples
SSIS
Use Shopify Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
| There are no parameters to configure. | 
API Destination
This Endpoint belongs to the Orders table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to delete an order:
| There are no parameters to configure. | 
ODBC application
Use these SQL queries in your ODBC application data source:
Delete an order
SELECT * FROM Orders
    
                delete_order endpoint belongs to
                    Orders
                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 an order
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Orders';
EXEC (@MyQuery) AT [LS_TO_SHOPIFY_IN_GATEWAY];
    
                delete_order endpoint belongs to
                    Orders
                table(s), and can therefore be used via those table(s).