CartItemOption

Request

Fields when send to the api inside a request.

Field Type Description
option_id Int An integer value
upload_id Int? Nullable. An integer value

Response

Fields when returned by the api in a response.

Field Type Description
option Option.detailed
upload CartUpload? Nullable.

Examples

Request

When used inside a request.

Example 1

{
    "option_id": 19,
    "upload_id": 18
}

Response

When returned in a response.

Example 1

{
    "option": {
        "id": 11,
        "name": "...",
        "price_change": {
            "value": 17,
            "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": false,
        "code": "...",
        "optionset": {
            "id": 12,
            "name": "...",
            "code": "..."
        }
    },
    "upload": {
        "id": 17,
        "url": "https://example.com"
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.5.0 stable