---
title: OF24 - Update or Delete Existing Offers
slug: of24-update-or-delete-existing-offers
docTags: 
createdAt: 2023-02-28T19:24:00.000Z
---

:::ApiMethodV2
```json
{
  "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"
  },
  "autoGeneratedAnchorSlug": "of24-update-or-delete-existing-offers",
  "legacyHash": "evru1yXdgP10BRHpf7ls_"
}
```
:::

::::VerticalSplit{layout="middle"}
:::VerticalSplitItem
**CALL FREQUENCIES**
:::

:::VerticalSplitItem
Recommended: Every 5 minutes

Maximum: Once per minute
:::
::::

