Get Product Prices
Name
get_product_prices
Description
Related Tables
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
Country | Country Code | NO | ||
Currency | Currency Code | NO | ||
PageSize | PageSize | NO |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Product |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
Country |
DT_WSTR
|
nvarchar(8)
|
8 | False |
|
Currency |
DT_WSTR
|
nvarchar(12)
|
12 | False |
|
Price |
DT_R8
|
float
|
False |
||
PriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount2DiscountPercent |
DT_R8
|
float
|
False |
||
Discount2DiscountValue |
DT_R8
|
float
|
False |
||
Discount2DiscountValueDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount2UnitPrice |
DT_R8
|
float
|
False |
||
Discount2UnitPriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount3DiscountPercent |
DT_R8
|
float
|
False |
||
Discount3DiscountValue |
DT_R8
|
float
|
False |
||
Discount3DiscountValueDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount3UnitPrice |
DT_R8
|
float
|
False |
||
Discount3UnitPriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount4DiscountPercent |
DT_R8
|
float
|
False |
||
Discount4DiscountValue |
DT_R8
|
float
|
False |
||
Discount4DiscountValueDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount4UnitPrice |
DT_R8
|
float
|
False |
||
Discount4UnitPriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount5DiscountPercent |
DT_R8
|
float
|
False |
||
Discount5DiscountValue |
DT_R8
|
float
|
False |
||
Discount5DiscountValueDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Discount5UnitPrice |
DT_R8
|
float
|
False |
||
Discount5UnitPriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
DiscountReason |
DT_WSTR
|
nvarchar(64)
|
64 | False |
|
DiscountPeriodCount |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
AvailableStart |
DT_DBDATE
|
date
|
False |
||
AvailableEnd |
DT_DBDATE
|
date
|
False |
||
SetupFeePrice |
DT_R8
|
float
|
False |
||
SetupFeePriceDisplay |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
SetupFeeReason |
DT_WSTR
|
nvarchar(100)
|
100 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use FastSpring Connector in API Source component to read data or in API Destination component to read/write data:
Read from ProductPrices table using API Destination
This Endpoint belongs to ProductPrices table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
Get product prices
SELECT * FROM get_product_prices
Read product prices
List product prices for specified currency or country. If you do not pass Country or Currency Parameter then all prices for all countries listed
SELECT
Product,
Country,
Currency,
Price,
PriceDisplay,
Discount2DiscountPercent,
Discount2DiscountValue,
Discount2DiscountValueDisplay,
Discount2UnitPrice,
Discount2UnitPriceDisplay,
Discount3DiscountPercent,
Discount3DiscountValue,
Discount3DiscountValueDisplay,
Discount3UnitPrice,
Discount3UnitPriceDisplay,
Discount4DiscountPercent,
Discount4DiscountValue,
Discount4DiscountValueDisplay,
Discount4UnitPrice,
Discount4UnitPriceDisplay,
Discount5DiscountPercent,
Discount5DiscountValue,
Discount5DiscountValueDisplay,
Discount5UnitPrice,
Discount5UnitPriceDisplay,
DiscountReasonEn,
DiscountPeriodCount,
AvailableStart,
AvailableEnd,
SetupFeePrice,
SetupFeePriceDisplay,
SetupFeeReasonEn
FROM ProductPrices
--WITH(Country='US') --//get prices for a specific country
--WITH(Currency='USD') --//get proces for a specific currency
get_product_prices
endpoint belongs to
ProductPrices
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 product prices
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_product_prices';
EXEC (@MyQuery) AT [LS_TO_FASTSPRING_IN_GATEWAY];
Read product prices
List product prices for specified currency or country. If you do not pass Country or Currency Parameter then all prices for all countries listed
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT
Product,
Country,
Currency,
Price,
PriceDisplay,
Discount2DiscountPercent,
Discount2DiscountValue,
Discount2DiscountValueDisplay,
Discount2UnitPrice,
Discount2UnitPriceDisplay,
Discount3DiscountPercent,
Discount3DiscountValue,
Discount3DiscountValueDisplay,
Discount3UnitPrice,
Discount3UnitPriceDisplay,
Discount4DiscountPercent,
Discount4DiscountValue,
Discount4DiscountValueDisplay,
Discount4UnitPrice,
Discount4UnitPriceDisplay,
Discount5DiscountPercent,
Discount5DiscountValue,
Discount5DiscountValueDisplay,
Discount5UnitPrice,
Discount5UnitPriceDisplay,
DiscountReasonEn,
DiscountPeriodCount,
AvailableStart,
AvailableEnd,
SetupFeePrice,
SetupFeePriceDisplay,
SetupFeeReasonEn
FROM ProductPrices
--WITH(Country=''US'') --//get prices for a specific country
--WITH(Currency=''USD'') --//get proces for a specific currency';
EXEC (@MyQuery) AT [LS_TO_FASTSPRING_IN_GATEWAY];
get_product_prices
endpoint belongs to
ProductPrices
table(s), and can therefore be used via those table(s).