Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter seanlane

    (@seanlane)

    I found my issue. For product variations, the property I was attempting to set was images, like for the product itself, but I should have been using image. For example:

    Incorrect example:

    
    var_data = {
        "variations": [
            {
                "id": var_id,
                "images": [image_data[2]]
            }
        ]
    }
    

    Correct example:

    
    var_data = {
        "variations": [
            {
                "id": var_id,
                "image": [image_data[2]]
            }
        ]
    }
    
Viewing 1 replies (of 1 total)