We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4ba6f2 commit 9b9db43Copy full SHA for 9b9db43
1 file changed
bigcommerce/resources/variants.py
@@ -9,8 +9,8 @@ class Variants(ListableApiResource, CreateableApiSubResource,
9
parent_key = 'product_id'
10
count_resource = 'products/variants'
11
12
- def update_qty(self, product_id, id, inventory_level, **kwargs):
+ def set_product_id(self, product_id, id, **kwargs):
13
self.product_id = product_id
14
self.id = id
15
16
- self.update(inventory_level=inventory_level, **kwargs)
+ return self
0 commit comments