Skip to content

Export Price Lists from SparkLayer

This task will export a list of all price lists from SparkLayer.

Note

The task doesn't output the prices that appear on each price list. If you require that information, please use the Export Price List Pricing task.

Settings

Connection

Required
The SparkLayer connection to use. See Connecting to SparkLayer.

Output File

Required
The XML file to save the exported records to. The XML format will be the same as the input file. An example of the XML format is shown below.

Examples

A sample output file is shown below. For full documentation see SparkLayer Price List XML.

<?xml version="1.0"?>
<PriceLists>
    <PriceList>
        <ExternalId>123</ExternalId>
        <Slug>trade-prices</Slug>
        <Name>Trade Prices</Name>
        <CurrencyCode>GBP</CurrencyCode>
        <Source>integration</Source>
        <Rules>
            <Rule>
                <SourcePriceListSlug>retail-prices</SourcePriceListSlug>
                <AdjustmentPercentage>0.10</AdjustmentPercentage>
                <AdjustmentDirection>minus</AdjustmentDirection>
                <CurrencyExchangeRate>1.254324</CurrencyExchangeRate>
            </Rule>
        </Rules>
    </PriceList>
    <PriceList>
        <ExternalId>456</ExternalId>
        <Slug>web-prices</Slug>
        <Name>Web Prices</Name>
        <CurrencyCode>GBP</CurrencyCode>
        <Source>integration</Source>
        <Rules>
            <Rule>
                <SourcePriceListSlug>retail-prices</SourcePriceListSlug>
                <AdjustmentPercentage>0.05</AdjustmentPercentage>
                <AdjustmentDirection>minus</AdjustmentDirection>
                <CurrencyExchangeRate>1.254324</CurrencyExchangeRate>
            </Rule>
        </Rules>
    </PriceList>
</PriceLists>