INPUT_OBJECT

OptionTypeCreateOrUpdateMutationInput

Autogenerated input type of OptionTypeCreateOrUpdateMutation

link GraphQL Schema definition

  • input OptionTypeCreateOrUpdateMutationInput {
  • # A unique identifier for the client performing the mutation.
  • clientMutationId: String
  • # ID of the OptionType to update
  • id: ID
  • # ID for associated Prototypes. Note: Making changes to prototypes (e.g.
  • # adding/removing option types) may cause related products to become undisplayable
  • prototypeIds: [ID!]
  • # ID for associated Prototypes we want to remove. Note: Making changes to
  • # prototypes (e.g. adding/removing option types) may cause related products to
  • # become undisplayable
  • prototypeIdsToRemove: [ID!]
  • # Name for the OptionType - eg. 'size'
  • name: String
  • # How the the OptionType should be displayed publically - eg. 'Size'
  • displayName: String
  • # Is the option type optional?. Note: Changing an existing option type from
  • # optional to required may cause related products to become undisplayable. When
  • # this value is not provided, true will be set for advert single_select and advert
  • # free_text option types. For other types, false will be set
  • optional: Boolean
  • # DEPRECATED: This field is deprecated. Use appliedTo and fieldType instead.
  • # Specifies the purpose of the option type i.e how it relates to either the advert
  • # or variant
  • category: PurposeEnum
  • # Where the option type is applied, which can only be on either variant or advert
  • # level. This value cannot be changed to existing option types
  • appliedTo: AppliedToEnum
  • # The character of the option type on how option values are stored. This value
  • # cannot be changed to existing option types
  • fieldType: FieldTypeEnum
  • # IDs used by external systems to fetch Prototypes
  • externalIds: [KeyValueInput!]
  • }