# Update Feedback

## Update Feedback

<mark style="color:orange;">`PUT`</mark> `https://{{account_id}}.acquire.io/api/v1/crm/feedback/{{feedbackId}}`

Update feedback. The **feedbackId** must be passed in to the endpoint as a path parameter. The body requires keys of `"question"`, `"status"`, `"type"`, `"config"`, `"departments"`, and `"channels"`.&#x20;

#### Path Parameters

| Name       | Type    | Description       |
| ---------- | ------- | ----------------- |
| feedbackId | integer | The feedback's ID |

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{api\_key}} |

#### Request Body

| Name     | Type   | Description           |
| -------- | ------ | --------------------- |
| question | string | The feedback question |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "id": 36,
    "question": "How satisfied are you with our products?",
    "type": "rating",
    "config": {
      "error_message": "Invalid Input",
      "required": true,
      "rating_type": "star",
      "limit": 1,
      "multiline": false,
      "values": [
        {
          "icon": "settings/feedback-5.svg",
          "label": "LIKE",
          "value": "5"
        }
      ]
    },
    "departments": [
      1
    ],
    "channels": [
      "chat"
    ],
    "dateCreated": "2021-03-18T07:41:18.000Z",
    "status": "active"
  }
}

```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "id": "36",
  "question": "How satisfied are you with our products?",
  "status": "active",
  "type": "rating",
  "config": {
    "error_message": "Invalid Input",
    "required": true,
    "rating_type": "star",
    "limit": 1,
    "multiline": false,
    "values": [
      {
        "icon": "settings/feedback-5.svg",
        "label": "LIKE",
        "value": "5"
      }
    ]
  },
  "departments": [
    1
  ],
  "channels": [
    "chat"
  ]
}
```
