Endpoint List All Customers
Name
get_customers
Description
Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. [API reference]
Related Tables
Parameters
Parameter | Required | Options | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name:
Label: Email Id A case-sensitive filter on the list based on the customer’s email field. The value must be a string. |
||||||||||||||||||||||||||||||||
Name:
Label: Created later than (yyyy-MM-dd) Return results where the created field is greater than this value. |
|
|||||||||||||||||||||||||||||||
Name:
Label: Created on or later than (yyyy-MM-dd) Return results where the created field is greater than or equal to this value. |
|
|||||||||||||||||||||||||||||||
Name:
Label: Created earlier than (yyyy-MM-dd) Return results where the created field is less than this value. |
|
|||||||||||||||||||||||||||||||
Name:
Label: Created on or earlier than (yyyy-MM-dd) Return results where the created field is less than or equal to this value. |
|
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(100)
|
100 | |
Object |
DT_WSTR
|
nvarchar(100)
|
100 | |
Name |
DT_WSTR
|
nvarchar(255)
|
255 | |
DT_WSTR
|
nvarchar(100)
|
100 | ||
Description |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
Phone |
DT_WSTR
|
nvarchar(100)
|
100 | |
PaymentMethod |
DT_WSTR
|
nvarchar(100)
|
100 | |
DefaultSource |
DT_WSTR
|
nvarchar(100)
|
100 | |
DefaultCurrency |
DT_WSTR
|
nvarchar(100)
|
100 | |
Balance |
DT_WSTR
|
nvarchar(100)
|
100 | |
Coupon |
DT_WSTR
|
nvarchar(100)
|
100 | |
PreferredLocales |
DT_WSTR
|
nvarchar(100)
|
100 | |
PromotionCode |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressLine1 |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressLine2 |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressCity |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressState |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressCountry |
DT_WSTR
|
nvarchar(100)
|
100 | |
AddressPostalCode |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingName |
DT_WSTR
|
nvarchar(255)
|
255 | |
ShippingPhone |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressLine1 |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressLine2 |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressCity |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressCountry |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressState |
DT_WSTR
|
nvarchar(100)
|
100 | |
ShippingAddressPostalCode |
DT_WSTR
|
nvarchar(100)
|
100 | |
TaxIDType |
DT_WSTR
|
nvarchar(100)
|
100 | |
TaxIDValue |
DT_WSTR
|
nvarchar(100)
|
100 | |
InvoicePrefix |
DT_WSTR
|
nvarchar(100)
|
100 | |
InvoiceSettingsDefaultPaymentMethod |
DT_WSTR
|
nvarchar(100)
|
100 | |
InvoiceSettingsFooter |
DT_WSTR
|
nvarchar(100)
|
100 | |
NextInvoiceSequence |
DT_WSTR
|
nvarchar(100)
|
100 | |
TaxExempt |
DT_WSTR
|
nvarchar(100)
|
100 | |
Created |
DT_DBTIMESTAMP
|
datetime
|
||
LiveMode |
DT_WSTR
|
nvarchar(100)
|
100 | |
Metadata |
DT_WSTR
|
nvarchar(1000)
|
1000 |
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 Stripe Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
This Endpoint belongs to the Customers table, therefore it is better to use it, instead of accessing the endpoint directly:
Optional Parameters | |
---|---|
Email Id | |
Created later than (yyyy-MM-dd) | |
Created on or later than (yyyy-MM-dd) | |
Created earlier than (yyyy-MM-dd) | |
Created on or earlier than (yyyy-MM-dd) |

API Destination
This Endpoint belongs to the Customers table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to list all customers:
Optional Parameters | |
---|---|
Email Id | |
Created later than (yyyy-MM-dd) | |
Created on or later than (yyyy-MM-dd) | |
Created earlier than (yyyy-MM-dd) | |
Created on or earlier than (yyyy-MM-dd) |

ODBC application
Use these SQL queries in your ODBC application data source:
Get all Customers
Read all customers
SELECT * FROM Customers
get_customers
endpoint belongs to
Customers
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 all Customers
Read all customers
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Customers';
EXEC (@MyQuery) AT [LS_TO_STRIPE_IN_GATEWAY];
get_customers
endpoint belongs to
Customers
table(s), and can therefore be used via those table(s).