Skip to content

Commit 9b9db43

Browse files
committed
testing variants
1 parent c4ba6f2 commit 9b9db43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigcommerce/resources/variants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Variants(ListableApiResource, CreateableApiSubResource,
99
parent_key = 'product_id'
1010
count_resource = 'products/variants'
1111

12-
def update_qty(self, product_id, id, inventory_level, **kwargs):
12+
def set_product_id(self, product_id, id, **kwargs):
1313
self.product_id = product_id
1414
self.id = id
1515

16-
self.update(inventory_level=inventory_level, **kwargs)
16+
return self

0 commit comments

Comments
 (0)