A product option represents the possible values for an option on a product. For example, a t-shirt could come in many sizes. In this case Size would be a product option and the values property would list the finite list of possible sizes.

Properties:

id - Integer - Unique id of the option

name - String - The name of the option (Size, Color, etc)

guid - String - The value used for lookup on a product variant

values - [String] - Array of possible values for the option

to_json - Hash - Hash representation

Did this answer your question?