Update Conditional
PATCH /api/v1/workspaces/{workspace_id}/conditionals/{id}
PATCH
/api/v1/workspaces/{workspace_id}/conditionals/{id}
Updates a conditional.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
integer
Workspace ID
id
required
integer
Conditional ID
Request Body
Section titled “Request Body ”object
label
string
Example
Over Age 30s can_be_used_in_subject_and_preheader
boolean
branches
Array<object>
object
key
required
string
Example
key label
required
string
Example
label default_syntax
object
closing
required
string
branch_values
Key-value pairs where the key is the branch key and the value is the branch syntax
object
key
additional properties
string
dynamic_content_profile_values
object
key
additional properties
string
Responses
Section titled “ Responses ”Successful
object
id
required
integer
Example
12345 label
required
string
Example
Over age 30s default_syntax
required
object
closing
required
string
branch_values
Key-value pairs where the key is the branch key and the value is the branch syntax
object
key
additional properties
string
branches
required
Array<object>
object
key
required
string
Example
key label
required
string
Example
label can_be_used_in_subject_and_preheader
required
boolean
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z updated_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z organization_id
required
integer
Example
12345 dynamic_content_profile_syntaxes
required
object
key
additional properties
object
closing
required
string
branch_values
Key-value pairs where the key is the branch key and the value is the branch syntax
object
key
additional properties
string
Unauthorized
object
message
required
string
Example
Record not foundForbidden
object
message
required
string
Example
Record not foundNot Found
object
message
required
string
Example
Record not foundUnprocessable Entity
object
message
required
string
Example
Failed to save errors
required
object
key
additional properties
Array<string>
Example
{ "errors": { "username": [ "Username is required.", "Username must be unique." ], "email": [ "Invalid email format." ] }}