I am trying to upload an image to a brand. I am using the PHP API client. I am doing this:
$params = [
$response = $sandboxClient->brands($brandId)->updateImage($params);
It executes, but does not upload the picture onto the brand.
The brand id for this example is set correctly, and the image exists at that location and is readable ("shocho-logo.png: PNG image data, 80 x 80, 8-bit/color RGB, non-interlaced").
What am I missing here? There's no example in the samples, but I see in the unit testing that the form I am using should be correct.
Please sign in to leave a comment.