---
title: "Modify Invite Settings by id"
method: PATCH
path: "/invite-settings/{id}"
---

# Modify Invite Settings by id

`PATCH /invite-settings/{id}`

Modifies parts of the Invite Settings entity object with the identifier matching the provided id value.

## Path parameters

- `id` string, required

## Request body

- InviteSettingsSpecificUpdateRequestBody
  - `enabled` boolean
  - `productInviteConfiguration` object
    - `sendingDelayInDays` number
    - `sendingTimeOfDay` string, ^([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]Z$ — The time of day at which Product Review Invites should be scheduled to be sent, in 24h UTC format, without timezone specification.
    - `inviteTemplateId` string
    - `questionnaireTemplateId` string
    - `enabled` boolean
  - `serviceInviteConfiguration` object
    - `sendingDelayInDays` number
    - `sendingTimeOfDay` string, ^([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]Z$ — The time of day at which Service Review Invites should be scheduled to be sent, in 24h UTC format, without timezone specification.
    - `inviteTemplateId` string
    - `questionnaireTemplateId` string
    - `enabled` boolean

## Response `200`

The modified Invite Settings entity object.

- InviteSettingsAllFields
  - `id` string, required
  - `channelId` string, required
  - `eventTypeId` string, required
  - `enabled` boolean, required
  - `productInviteConfiguration` object, required
    - `sendingDelayInDays` number, required
    - `sendingTimeOfDay` string, ^([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]Z$, required — The time of day at which Product Review Invites should be scheduled to be sent, in 24h UTC format, without timezone specification.
    - `inviteTemplateId` string, required
    - `questionnaireTemplateId` string, required
    - `enabled` boolean, required
  - `serviceInviteConfiguration` object, required
    - `sendingDelayInDays` number, required
    - `sendingTimeOfDay` string, ^([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]Z$, required — The time of day at which Service Review Invites should be scheduled to be sent, in 24h UTC format, without timezone specification.
    - `inviteTemplateId` string, required
    - `questionnaireTemplateId` string, required
    - `enabled` boolean, required
  - `createdAt` string, datetime, required
  - `updatedAt` string, datetime, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/etrusted/apis/accounts-api.md) · [All operations](https://skmtc.net/etrusted/apis/accounts-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/etrusted/accounts-api/versions/649ef7dac98c/schema)
