OptionSet.detailed

Field Type Description
id Int Id of the option set
name String Name of the option set (translated)
code String? Nullable. ID or key that you a third party can associate with an option set
options [Option.simple] Array of Option.simple

Examples

Example 1

{
    "id": 12,
    "name": "string",
    "code": "string",
    "options": [
        {
            "id": 12,
            "name": "string",
            "price_change": {
                "value": 12,
                "currency": "EUR"
            },
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": true
            },
            "require_image": true,
            "code": "string"
        },
        {
            "id": 12,
            "name": "string",
            "price_change": {
                "value": 12,
                "currency": "EUR"
            },
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": true
            },
            "require_image": true,
            "code": "string"
        },
        {
            "id": 12,
            "name": "string",
            "price_change": {
                "value": 12,
                "currency": "EUR"
            },
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": true
            },
            "require_image": true,
            "code": "string"
        }
    ]
}
1.5.0 stable