diff --git a/src/asquare.py b/src/asquare.py index 797f5ad..afe24a1 100644 --- a/src/asquare.py +++ b/src/asquare.py @@ -319,6 +319,10 @@ async def update_itm(item_id: str, lego_set: dict, item_data: dict = None): "variations": [variation_obj], }, } + + upsert_body = { + "idempotency_key": str(uuid.uuid4()), + "object": item_obj, } # Remove None values