bigcommerce-api-php
bigcommerce-api-php copied to clipboard
issue adding / updating images
Hi
I have previously used the following code to add a product image once the product was created.
$image = new Bigcommerce_Api_ProductImage(); $image->product_id = $prodid; $image->image_file = $image; // etc..
$image->create();
Now I get the error "Fatal error: Class 'Bigcommerce_Api_ProductImage' not found"
Can anyone assist with how i can add product images via the api?