Option.detailed

Field Type Description
id Int Id of the product price
name String Name of the product price (translated)
price_change Price Price change in cents. Positive for price increase, negative for discount.
image Image? Nullable.
require_image Bool A boolean value
code String? Nullable. ID or key that you a third party can associate with an option
optionset OptionSet.simple

Examples

Example 1

{
    "id": 10,
    "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": false,
    "code": "...",
    "optionset": {
        "id": 17,
        "name": "...",
        "code": "..."
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.5.2 stable