Goals

Update a goal

put/v1/goals/{id}

Request

  • Base URL: https://api.oviond.com
  • URL: https://api.oviond.com/v1/goals/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

Request body

namestring
descriptionstring nullable
target_valuenumber
operator'>=' | '=' | '<='
goal_type'static' | 'change'
symbol'numbers' | 'decimal' | '%' | 'currency' nullable
client_idstring nullable

Example request

{
  "query": {
    "filters": [
      {
        "field": "sessionMedium",
        "operator": "contains"
      }
    ]
  }
}

Response

Goal updated

successtrue required

Changes