Retailer Offer
Retailer Offer is a data model used by the Bol Marketplace Component and implemented as such in Dovetail. To be able to dynamically set some properties Dovetail provides specific
DovetailBol
headers, defined as below. There is also the possibility to provide the entire XML, as the example below shows.
Bol Documentation
https://developers.bol.com/documentatie/
Header Mappings
The Bol Marketplace Component allows the user to override certain fields using pre-specified headers. The property-header
mapping for this data-model is specified below:
Property | Header |
---|---|
EAN | DovetailBolEan |
Condition | DovetailBolCondition |
Price | DovetailBolPrice |
Delivery | DovetailBolDeliveryCode |
Quantity In Stock | DovetailBolQuantityInStock |
Publish | DovetailBolPublish |
Reference Code | DovetailBolReferenceCode |
Description | DovetailBolDescription |
Title | DovetailBolTitle |
Fulfillment Method | DovetailBolFulfillmentMethod |
Header Types
Header | Type |
---|---|
DovetailBolEan | String |
DovetailBolCondition | NEW , AS_NEW , GOOD , REASONABLE , MODERATE |
DovetailBolPrice | Decimal (Max: 9999) |
DovetailBolDeliveryCode | 24uurs-23 , 24uurs-22 , 24uurs-21 , 24uurs-20 , 24uurs-19 , 24uurs-18 , 24uurs-17 , 24uurs-16 , 24uurs-15 , 24uurs-14 , 24uurs-13 , 24uurs-12 , 1-2d , 2-3d , 3-5d , 4-8d , 1-8d |
DovetailBolQuantityInStock | Integer (Min: 0, Max: 999) |
DovetailBolPublish | true , false |
DovetailBolReferenceCode | String (Maximum amount of characters: 20) |
DovetailBolDescription | String (Maximum amount of characters: 2000) |
DovetailBolTitle | String (Maximum amount of characters: 500) |
DovetailBolFulfillmentMethod | FBR , FBB |
Use Body Examples
<?xml version="1.0" encoding="UTF-8"?>
<UpsertRequest>
<RetailerOffer>
<EAN>9789076174082</EAN>
<Condition>REASONABLE</Condition>
<Price>7.50</Price>
<DeliveryCode>3-5d</DeliveryCode>
<QuantityInStock>1</QuantityInStock>
<Publish>true</Publish>
<ReferenceCode>HarryPotter-2ehands</ReferenceCode>
<Description>boek met koffievlekken</Description>
<Title></Title>
<FulfillmentMethod>FBR</FulfillmentMethod>
</RetailerOffer>
<RetailerOffer>
<EAN>9789076174083</EAN>
<Condition>NEW</Condition>
<Price>17.50</Price>
<DeliveryCode>3-5d</DeliveryCode>
<QuantityInStock>1</QuantityInStock>
<Publish>true</Publish>
<ReferenceCode>got1</ReferenceCode>
<Description>Nieuw boek</Description>
<Title></Title>
<FulfillmentMethod>FBR</FulfillmentMethod>
</RetailerOffer>
</UpsertRequest>