{
  "id": "ACC-002",
  "name": "Update Account fields",
  "description": "Updating an existing Account's fields should persist the new values correctly.",
  "object": "Account",
  "method": "PATCH",
  "endpoint": "/services/data/v63.0/sobjects/Account/{seed_Account_0}",
  "setup": [
    {
      "name": "Create seed Account for ACC-002",
      "type": "sql",
      "sql": "INSERT INTO Account (Id, Name, Type, Phone) VALUES ('0015g00000LC001AA0', 'LC001 Account', 'Customer - Direct', '5550100') ON DUPLICATE KEY UPDATE Name=Name",
      "id_var": "seed_Account_0",
      "id_value": "0015g00000LC001AA0",
      "object": "Account"
    }
  ],
  "payload": {
    "Type": "Customer - Channel",
    "Industry": "FSI-Financial Service"
  },
  "expects": {
    "status_code": 204
  },
  "query_after": {
    "object": "Account",
    "assertions": [
      {
        "field": "Type",
        "operator": "eq",
        "value": "Customer - Channel"
      },
      {
        "field": "Industry",
        "operator": "eq",
        "value": "FSI-Financial Service"
      }
    ]
  },
  "priority": "P1",
  "scene": "account"
}
