OptionSet.detailed

Field Type Description
id Int Id of the option set
name String Name of the option set (translated)
allow_attachment Bool Allow the attachment of a picture (not supported anymore)
options [Option.simple] Array of Option.simple

Examples

Example 1

{
    "id": 12,
    "name": "...",
    "allow_attachment": false,
    "options": [
        {
            "id": 10,
            "name": "...",
            "price_change": {
                "value": 15,
                "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": false
            }
        },
        {
            "id": 19,
            "name": "...",
            "price_change": {
                "value": 19,
                "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": false
            }
        },
        {
            "id": 14,
            "name": "...",
            "price_change": {
                "value": 14,
                "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
            }
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.4.0 stable