I am trying to use the Bol API documentation to send my products directly to the platform. I created a scenario where an Excel file is filled out and then sent to my WordPress site (which works) and simultaneously to the Bol API (https://api.bol.com/retailer/offers).
I tried 2 different json formats:
{
"ean": "{{9.`12`}}",
"condition": "{{9.`49`}}",
"conditionComment": "Geen beschadigingen, gloednieuw",
"referenceCode": "{{9.`21`}}",
"onHoldByRetailer": false,
"unknownProductTitle": "{{9.`0`}}",
"description": "{{9.`23`}}",
"pricing": {
"bundlePrices": [
{
"quantity": 1,
"price": {{9.`8`}}
}
]
},
"stock": {
"amount": {{9.`5`}},
"managedByRetailer": true
},
"fulfilment": {
"method": "{{9.`10`}}",
"deliveryCode": "24uurs"
}
}
and
{
"language": "nl",
"attributes": [
{
"id": "EAN",
"values": [
{
"value": "{{9.`12`}}"
}
]
},
{
"id": "condition",
"values": [
{
"value": "{{9.`49`}}"
}
]
},
{
"id": "referenceCode",
"values": [
{
"value": "{{9.`21`}}"
}
]
},
{
"id": "onHoldByRetailer",
"values": [
{
"value": false
}
]
},
{
"id": "unknownProductTitle",
"values": [
{
"value": "{{9.`0`}}"
}
]
},
{
"id": "description",
"values": [
{
"value": "{{9.`23`}}"
}
]
},
{
"id": "pricing",
"values": [
{
"quantity": 1,
"price": {{9.`8`}}
}
]
},
{
"id": "stock",
"values": [
{
"amount": {{9.`5`}},
"managedByRetailer": true
}
]
},
{
"id": "fulfilment",
"values": [
{
"method": "{{9.`10`}}",
"deliveryCode": "24uurs"
}
]
}
]
}
But still get a 400 error. Any one who can help me out?