Skip to content

Commit 007ba5b

Browse files
authored
Added update method to the image api
1 parent e1b0c13 commit 007ba5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php

+5
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,9 @@ public function create(ProductImage $productImage): ProductImageResponse
4242
{
4343
return new ProductImageResponse($this->createResource($productImage));
4444
}
45+
46+
public function update(ProductImage $productImage): ProductImageResponse
47+
{
48+
return new ProductImageResponse($this->updateResource($productImage));
49+
}
4550
}

0 commit comments

Comments
 (0)