Skip to content

Commit d821442

Browse files
committed
Merge pull request #136 from CODESIGN2/master
Delete Product Image
2 parents 638955f + 199c5d0 commit d821442

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Bigcommerce/Api/Resources/ProductImage.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@ public function update()
3434
$this->getUpdateFields()
3535
);
3636
}
37+
38+
public function delete()
39+
{
40+
Client::deleteResource('/products/' . $this->product_id . '/images/' . $this->id);
41+
}
3742
}

0 commit comments

Comments
 (0)