Skip to content

Commit 6f4a037

Browse files
committed
Update printify_util.py
1 parent eb8d149 commit 6f4a037

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

util/printify_util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ def create_product(self, blueprint_id, print_provider_id, variants, image_id):
203203
print(f"Failed to create product. Status code: {response.status_code}")
204204
return None
205205

206+
# def deactivate invalid products
207+
# get product by id then update the product with the variants that are available
208+
209+
206210
def publish_product(self, product_id):
207211
"""Publishes a product in Printify."""
208212
url = f"{self.BASE_URL}/shops/{self.store_id}/products/{product_id}/publish.json"

0 commit comments

Comments
 (0)