{
  "id": "CON-003",
  "name": "Update Contact fields",
  "description": "Updating an existing Contact's fields should persist the new values correctly.",
  "object": "Contact",
  "method": "PATCH",
  "endpoint": "/services/data/v63.0/sobjects/Contact/{seed_Contact_0}",
  "setup": [
    {
      "name": "Create seed Contact for CON-003",
      "type": "sql",
      "sql": "INSERT INTO Contact (Id, LastName, Email, Phone) VALUES ('0035g00000CMP002AA0', 'CMP002_TestContact', 'cmp002@test.com', '5550101') ON DUPLICATE KEY UPDATE LastName=LastName",
      "id_var": "seed_Contact_0",
      "id_value": "0035g00000CMP002AA0",
      "object": "Contact"
    }
  ],
  "payload": {
    "Title": "VP of Engineering",
    "Department": "Engineering"
  },
  "expects": {
    "status_code": 204
  },
  "query_after": {
    "object": "Contact",
    "assertions": [
      {
        "field": "Title",
        "operator": "eq",
        "value": "VP of Engineering"
      },
      {
        "field": "Department",
        "operator": "eq",
        "value": "Engineering"
      }
    ]
  },
  "priority": "P1",
  "scene": "contact"
}
