انتقل إلى المحتوى الرئيسي

Option

Product Options Resource

KeyTypeDescription
idIntegerThis is the unique identifier for the product option.
nameStringThis specifies the name of the option in English.
name_arStringThis is the name of the option in Arabic. It provides a localized translation for the option's name.
typeStringThe "type" field indicates the type of the option. The value "1" could represent a text, "2" represent a color code, "3" represent a Image, "4" represent a product image finally the value "5" represent a input.
valuesArrayContain the available choices or values for the product option.

Product Options Values Resource

KeyTypeDescription
idIntegerThe unique identifier for the option value.
nameStringThe name of the option value.
name_arStringThe localized name of the option value in Arabic.
color_codeIntegerThe color code associated with the option value. The color code is typically represented as a string, such as a hexadecimal value or RGB value.