Exporting Offers from Mirakl
This task will export offer information (i.e. products) from your Mirakl account to an XML file.
Settings
Mirakl Connection
Required
The Mirakl connection to use. See the Connecting to Mirakl article if you require more information on how to create/manage connections.
Export Settings
Required
Settings to control the type of records to be exported from Mirakl. The following options are available:
- Export All Records - This task only supports exporting all records. The export of new or modified records only is not possible.
Offer State Codes
Optional
Filters the export by offer state code. You can provide multiple codes in the form of a comma separated list.
Page Size
Required
The maximum number of records to fetch from the Mirakl API at a time. The value must be between 1 and 100, inclusive. Defaults to 100.
Pricing Channel Code
Optional
Filters the export by pricing channel code.
Product IDs
Optional
Filters the export by product ID. You can provide multiple IDs in the form of a comma separated list.
Note
Specifying one or more product IDs will override the 'SKUs' setting. Any SKUs specified will be ignored.
Shop ID
Optional
If your user has access to multiple shops, use this setting to specify which shop the task should use. If not specified, your default shop will be used.
SKUs
Optinal
Filter the export by SKU. You can provide multiple SKUs in the form of a comma separated list. This setting will not take effect if one or more product IDs are specified via the 'Product IDs' setting.
Timeout
Optional
The length of time to wait for responses from the Mirakl API. If not specified, the timeout will default to 100 seconds.
Output File
Required
The name of the file to export the data to. The data will be output in XML format, a sample of which is shown below.
Zynk Settings
Examples
Sample output file:
<?xml version="1.0" encoding="utf-8"?>
<Offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Offer>
<Active>false</Active>
<AllPrices>
<AllPrice>
<Price>25.00</Price>
<UnitOriginPrice>25.00</UnitOriginPrice>
<VolumePrices>
<VolumePrice>
<Price>25.00</Price>
<QuantityThreshold>1</QuantityThreshold>
<UnitOriginPrice>25.00</UnitOriginPrice>
</VolumePrice>
</VolumePrices>
</AllPrice>
</AllPrices>
<AllowQuoteRequests>false</AllowQuoteRequests>
<ApplicablePricing>
<Price>25.00</Price>
<UnitOriginPrice>25.00</UnitOriginPrice>
<VolumePrices>
<VolumePrice>
<Price>25.00</Price>
<QuantityThreshold>1</QuantityThreshold>
<UnitOriginPrice>25.00</UnitOriginPrice>
</VolumePrice>
</VolumePrices>
</ApplicablePricing>
<CategoryCode>1020311415691</CategoryCode>
<CategoryLabel>T-Shirts</CategoryLabel>
<Channels>
<Channel>INIT</Channel>
</Channels>
<CurrencyIsoCode>USD</CurrencyIsoCode>
<Fulfillment>
<Center>
<Code>DEFAULT</Code>
</Center>
</Fulfillment>
<InactivityReasons>
<InactivityReason>ZERO_QUANTITY</InactivityReason>
</InactivityReasons>
<LeadtimeToShip>2</LeadtimeToShip>
<LogisticClass>
<Code>INIT</Code>
<Label>Default logistic family</Label>
</LogisticClass>
<MinShippingPrice>0.00</MinShippingPrice>
<MinShippingPriceAdditional>0.00</MinShippingPriceAdditional>
<MinShippingType>STD</MinShippingType>
<MinShippingZone>USA</MinShippingZone>
<OfferAdditionalFields>
<OfferAdditionalField Type="BOOLEAN">
<Code>preorder</Code>
<Value>false</Value>
</OfferAdditionalField>
</OfferAdditionalFields>
<OfferId>123456</OfferId>
<Price>25.00</Price>
<ProductBrand>Generic</ProductBrand>
<ProductDescription>This cotton tee features short sleeves, a V-neck, and a shrunken boyfriend fit with a longer back.</ProductDescription>
<ProductReferences>
<ProductReferences>
<Reference>729250088780</Reference>
<ReferenceType>UPC</ReferenceType>
</ProductReferences>
</ProductReferences>
<ProductSku>cc8f1d22-7139-484c-be67-4058113b8a5e</ProductSku>
<ProductTitle>Shrunken Boy Friend Tee</ProductTitle>
<Quantity>0</Quantity>
<ShippingDeadline>2026-03-12T03:59:59.999Z</ShippingDeadline>
<ShopSku>123456-BLK-M</ShopSku>
<StateCode>11</StateCode>
<TotalPrice>25.00</TotalPrice>
</Offer>
</Offers>