I was able to connect and change my shopdata with a API instruction.
The data string looks like this :
cData := '{"images":["5101000.jpg"],"sku":"skuData","ean":"98745123456","name":"Noyca","description":"Memo<b>Data</b>"}'
the API docs gives this a example data :
{
"model": "string",
"sku": "string",
"ean": "string",
"name": "string",
"description": "string",
"introDescription": "string",
"extraDescription": "string",
"metaTitle": "string",
"metaKeyword": "string",
"metaDescription": "string",
"quantity": 0,
"categoryId": 0,
"price": 0,
"purchasePrice": 0,
"status": true,
"taxRate": 0,
"manufacturerId": 0,
"width": 0,
"height": 0,
"weight": 0,
"images": [
"ImageOne"
],
"imagesAlt": [
"ImageOneAlt"
],
"resources": [
{
"resourceKey": "key",
"resourceValue": "value",
"resourceType": "type"
}
]
}
My question : Look at the last data : resources. It has several subdata's like Key, Value, Type....
I suspect that FWH has functions already build for generating this kind of strings, thinking that the data origin in my case sits in a dbf.
I know that i have to make a matching function for the dbf data to the online data.
Do these functions exist ? of do I have to make a function myself to generate this kind of string (cData as example)