These docs are for v1.0. Click to read the latest docs for v1.0.9.

As the "Update Link" endpoint is a PUT request, you must send the entire link model in your request.
For example, if you have two locales "All" (i.e. global) and "DK", you must include all both locale models, even if you only update data in the "DK" locale.

The link model fields can be extrapolated from the response object in the Get campaign link endpoint.

{
  "images": [
    "http://imageurl.com/image"
  ],
  "code": "tbSAh0",
  "domainId": "cb54d38b-ec35-4cb3-bdb9-5d6b404ef667",
  "locales": [
    {
      "mediaServices": [
        {
          "mediaServiceId": "7a586f9f-9e2d-4383-83cc-b2aa5bd1798d",
          "mediaServiceName": "spotify",
          "buttonText": "Play",
          "sortOrder": 0,
          "enabled": true,
          "url": "https://play.spotify.com/track/6L5X383KFSUMJDenXg4khV",
          "uri": "spotify:track:6L5X383KFSUMJDenXg4khV"
        },
      ],
      "retargetings": [],
      "affiliates": [],
      "widget": null,
      "images": [],
      "isoCode": "All",
      "enabled": true,
      "title": "Title All",
      "subTitle": null,
      "autoRedirect": false,
      "sampleBehaviour": "PlayNothing",
      "hideDontKnow": false,
      "dontKnowButtonText": null,
      "enableTracking": false
    },
    {
      "mediaServices": [
        {
          "mediaServiceId": "7a586f9f-9e2d-4383-83cc-b2aa5bd1798d",
          "mediaServiceName": "spotify",
          "buttonText": "Play",
          "sortOrder": 0,
          "enabled": true,
          "inherited": true,
          "url": "https://play.spotify.com/track/6L5X383KFSUMJDenXg4khV",
          "uri": "spotify:track:6L5X383KFSUMJDenXg4khV"
        },
      ],
      "retargetings": [],
      "affiliates": [],
      "widget": null,
      "images": [],
      "isoCode": "DK",
      "enabled": true,
      "title": "Title DK",
      "subTitle": null,
      "autoRedirect": true,
      "sampleBehaviour": "PlayNothing",
      "hideDontKnow": false,
      "dontKnowButtonText": null,
      "enableTracking": false
    }
  ],
  "id": "5d971a76-3f17-44a1-be87-d3867b820113",
  "mediaType": "Music",
  "subMediaType": "Track",
  "title": "Nana",
  "description": null,
  "baseUrl": "https://open.spotify.com/track/6L5X383KFSUMJDenXg4khV",
  "isrc": null,
  "upc": null,
  "status": "Published"
}
Language
Click Try It! to start a request and see the response here!