Integration Overview
...
Products & Offers
OF24 - Update or Delete Existing Offers
{ "tab" "examples", "url" "https //saksus2 dev mirakl net/api/offers", "name" "of24 update or delete existing offers", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[ { "kind" "optional", "name" "shop id", "type" "integer", "children" \[], "description" "use this parameter when your user has access to several shops if not specified, the shop id from your default shop will be used " } ], "headerparameters" \[ { "kind" "required", "name" "authorization", "type" "string", "children" \[], "description" "" } ], "bodydataparameters" \[ { "kind" "required", "name" "offers", "type" "array", "children" \[], "description" "offers list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "xmfx98ly0wgpen tg0xc", "code" "", "language" "201", "customlabel" "" } ], "selectedlanguageid" "xmfx98ly0wgpen tg0xc" }, "examples" { "languages" \[ { "id" "igrouv17od08zc7b4kqvj", "code" "curl location g request get 'https //saksus2 dev mirakl net/api/offers/imports/{import}/error report?shop id=integer' \\\\\n header 'accept application/json' \\\\\n header 'authorization string'", "language" "curl", "customlabel" "" }, { "id" "ffqblwo aw02gki2u4f8w", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //saksus2 dev mirakl net/api/offers/imports/{import}/error report?shop id=integer',\n 'headers' {\n 'accept' 'application/json',\n 'authorization' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "language" "nodejs", "customlabel" "" }, { "id" " 8pggwprjuoow61tiavsb", "code" "var myheaders = new headers();\nmyheaders append(\\"accept\\", \\"application/json\\");\nmyheaders append(\\"authorization\\", \\"string\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"https //saksus2 dev mirakl net/api/offers/imports/{import}/error report?shop id=integer\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "language" "javascript", "customlabel" "" }, { "id" "4f337zbak hzpz0c4 c1t", "code" "import requests\n\nurl = \\"https //saksus2 dev mirakl net/api/offers/imports/{import}/error report?shop id=integer\\"\n\npayload={}\nheaders = {\n 'accept' 'application/json',\n 'authorization' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "language" "python", "customlabel" "" }, { "id" "6ewy79siajj3ckqtpeadx", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //saksus2 dev mirakl net/api/offers/imports/{import}/error report?shop id=integer\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"accept\\"] = \\"application/json\\"\nrequest\[\\"authorization\\"] = \\"string\\"\n\nresponse = https request(request)\nputs response read body\n", "language" "ruby", "customlabel" "" } ], "selectedlanguageid" "igrouv17od08zc7b4kqvj" }, "description" "returns the import identifier to track the status of the update \n\nyou must send all offer fields offer fields that are not sent are reset to their default value ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } call frequencies recommended every 5 minutes maximum once per minute