OBJECT

CustomOption

A single product custom option that can be configured before putting the product into the cart

link GraphQL Schema definition

  • type CustomOption {
  • # If the custom option is an image - this is the width
  • image_size_x: Int
  • # If the custom option is an image - this is the height
  • image_size_y: Int
  • # Maximum length if the custom option is a text
  • max_characters: Int
  • # Available values for this custom option
  • values: [CustomOptionValue]
  • # Option identifier
  • option_id: ID
  • # Is this option required
  • is_require: Boolean
  • # Option title
  • title: String
  • # Option type - text, drop_down, field, checkbox, radio
  • type: String
  • }