Skip to content

Import Batch Pricing into SparkLayer

This task will update the pricing in SparkLayer in bulk, based on data provided via an XML file.

Settings

Connection

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

Fail File

Required
The XML file to save failed records to. The XML format will be the same as the input file.

Input File

Required
The XML file containing records to import into SparkLayer. An example of the XML format is shown below.

Success File

Required
The XML file to save successful records to. The XML format will be the same as the input file.

Prevent Reprocessing

Required
Set to true to prevent the same records being processed more than once, based on the value of the <ExternalId> element in the XML.

Batch Size

Required
The number of records to send to SparkLayer at a time. Defaults to 1000.

Zynk Settings

See Common Task Settings

Examples

A sample input file is shown below.

<?xml version="1.0" encoding="utf-8"?>
<BatchPricings>
    <BatchPricing>
        <Sku>7UP</Sku>
        <PriceListSlug>retail</PriceListSlug>
        <Pricing>
            <Price>
                <Quantity>1</Quantity>
                <Price>18.96</Price>
                <UnitOrMeasure>each</UnitOrMeasure>
            </Price>
        </Pricing>
    </BatchPricing>
    <BatchPricing>
        <Sku>7UP</Sku>
        <PriceListSlug>trade</PriceListSlug>
        <Pricing>
            <Price>
                <Quantity>1</Quantity>
                <Price>14.00</Price>
                <UnitOrMeasure>each</UnitOrMeasure>
            </Price>
            <Price>
                <Quantity>5</Quantity>
                <Price>13.00</Price>
                <UnitOrMeasure>each</UnitOrMeasure>
            </Price>
        </Pricing>
    </BatchPricing>
</BatchPricings>