Pixels

Update an existing pixel

Changed on
patch/measurement/pixels/{id}

Request

  • Base URL
    https://api.magellan.ai/v2
  • URL
    https://api.magellan.ai/v2/measurement/pixels/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring required
Example:0123456789abcdef

Request body

Example request

{
  "measurementPixel": {
    "crmBrandId": "brand_0123456789abcdef",
    "name": "My Pixel"
  }
}

Response

OK

Example response

{
  "measurementPixel": {
    "id": "0123456789abcdef",
    "name": "Attribution Pixel",
    "brand": {
      "crmBrandId": "brand_0123456789abcdef",
      "name": "ACME Corp., Inc.",
      "domain": "acme.com"
    },
    "installationStatus": "installed",
    "lastEventAt": "2026-10-12T14:03:00Z"
  }
}

Changes

    • breaking

      the response's property type changed from object to no type for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added subschema #2 to the response property allOf list for the response status