From 007ba5b81cd2d9654a2b3d7030904336ee8f1c92 Mon Sep 17 00:00:00 2001 From: Vikas Yadav Date: Tue, 23 Apr 2024 11:56:41 +0530 Subject: [PATCH] Added update method to the image api --- src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php b/src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php index dc25df42..5f3d1631 100644 --- a/src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php +++ b/src/BigCommerce/Api/Catalog/Products/ProductImagesApi.php @@ -42,4 +42,9 @@ public function create(ProductImage $productImage): ProductImageResponse { return new ProductImageResponse($this->createResource($productImage)); } + + public function update(ProductImage $productImage): ProductImageResponse + { + return new ProductImageResponse($this->updateResource($productImage)); + } }