Skip to content

Commit

Permalink
Merge aea42b1 into 9624f29
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Margarida Silva committed Apr 16, 2021
2 parents 9624f29 + aea42b1 commit 3a62a30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/shopify/product.py
Expand Up @@ -71,6 +71,10 @@ def get_product(self, id):
contents = self.get(url)
return contents["product"]

def delete_product(self, id):
url = self.base_url + "admin/products/%d.json" % id
self.delete(url)

def images_product(self, id, *args, **kwargs):
url = self.base_url + "admin/products/%d/images.json" % id
contents = self.get(url, **kwargs)
Expand Down

0 comments on commit 3a62a30

Please sign in to comment.