diff --git a/client/pizza_palace.py b/client/pizza_palace.py
index c593f955e06e2c5f38541de53b611a20d54e25a3..7f97ab927bb8f920ae22bd154cabb9d8b8f44f03 100644
--- a/client/pizza_palace.py
+++ b/client/pizza_palace.py
@@ -144,7 +144,8 @@ def order_item(item, people, stuffed_crust):
     if item_dict == {}:
         messagebox.showerror("Error", "Could not find pizza")
         return
-    res = requests.post(get_endpoint("/cart/add"), json={"cart_id": cart_id, "cart_key": cart_key, "pizza_id": item, "people": people, "stuffed_crust": stuffed_crust})
+    res = requests.post(get_endpoint("/cart/add"), json={"id": cart_id, "key": cart_key, "type": item, "num_people": people, "stuffed_crust": stuffed_crust})
+    print(res.text)
     if (res.status_code == 200):
         res_json = res.json()
         if (res_json != None and res_json["status"] == 200):