Skip to content

Commit b8044a4

Browse files
Implemented self-delete method
1 parent 501c226 commit b8044a4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Bigcommerce/Api/Resources/Category.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ public function update()
2626
{
2727
return Client::updateCategory($this->id, $this->getUpdateFields());
2828
}
29+
30+
public function delete()
31+
{
32+
return Client::deleteCategory($this->id);
33+
}
2934
}

0 commit comments

Comments
 (0)