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": 19,
    "name": "...",
    "code": "...",
    "options": [
        {
            "id": 12,
            "name": "...",
            "price_change": {
                "value": 13,
                "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": "...",
            "price_calculation": "PER_PIECE"
        },
        {
            "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
            },
            "require_image": false,
            "code": "...",
            "price_calculation": "PER_PIECE"
        },
        {
            "id": 15,
            "name": "...",
            "price_change": {
                "value": 18,
                "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
            },
            "require_image": true,
            "code": "...",
            "price_calculation": "PER_PIECE"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.6.0 stable