younifyd
Menu

Create Account Setting

Create a setting

POST/api/account/settings

Use it in a workflow

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

Request

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 201 with a oneOf. Read it in later steps with {{createAccountSetting.response.data.<field>}}.

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

Was this page helpful?