Homepage

CustomAttributeInputType

Last edit: Oct 13, 2026

A value for one property, identified by name. Provide name and exactly one of
the value arguments (value, value_int, value_float, value_boolean, value_array,
value_json) or atomic operations (array_append, array_remove, increment, decrement)

type CustomAttributeInputType {
  array_append: String
  array_remove: String
  decrement: Float
  increment: Float
  name: String!
  value: String
  value_array: [String]
  value_boolean: Boolean
  value_float: Float
  value_int: Int
  value_json: JSONPayload
}

Fields

array_append (String)

Appends the value at the end of an array property, creating the array when the
property is empty. Atomic: applied directly in the database before the rest of
the update, so concurrent changes are not lost; it skips validations and
callbacks. Only applied by update mutations

array_remove (String)

Removes every occurrence of the value from an array property. Atomic: applied
directly in the database before the rest of the update, so concurrent changes
are not lost; it skips validations and callbacks. Only applied by update mutations

decrement (Float)

Subtracts the value from a numeric property, treating an empty property as 0.
Atomic: applied directly in the database before the rest of the update, so
concurrent changes are not lost; it skips validations and callbacks. Only
applied by update mutations

increment (Float)

Adds the value to a numeric property, treating an empty property as 0. Atomic:
applied directly in the database before the rest of the update, so concurrent
changes are not lost; it skips validations and callbacks. Only applied by
update mutations

name (String)

Name of the property

value (String)

New value as a string; it is converted to the type of the property

value_array (String)

New value of an array property

value_boolean (Boolean)

New value of a boolean property

value_float (Float)

New value of a float property

value_int (Int)

New value of an integer property

value_json (JSONPayload)

New value of a JSON property, as any JSON value

Questions?

We are always happy to help with any questions you may have.

contact us