younifyd
Menu

Update Account Setting

Update a setting

PUT/api/account/settings/{id}

Use it in a workflow

  1. Add a step and choose the Gorgias connector.
  2. Pick the Update Account Setting action (under Account).
  3. Fill in the fields below, then reference the result from later steps as {{updateAccountSetting.response.data}}.

Request

Path parameters

idintegerrequired

The ID of the setting to update.

Request body

Enter the body as JSON in the step's Body field.

dataany
typestringrequired
json
{
  "type": "business-hours",
  "data": {
    "timezone": "UTC",
    "business_hours": {
      "days": "1,2,3,4,5",
      "from_time": "09:00",
      "to_time": "22:00"
    }
  }
}

Response

Returns 200 with a oneOf. Read it in later steps with {{updateAccountSetting.response.data.<field>}}.

Need more? See the Gorgias guide for connection setup and behaviour shared by every action.

Update Account Setting — Gorgias — Documentation