Working on products and carts

This commit is contained in:
Scott Idem
2021-08-01 19:46:14 -04:00
parent 1a493b85f8
commit c639c2b0a0
4 changed files with 74 additions and 26 deletions

View File

@@ -47,7 +47,8 @@ async def post_order_cart_obj(
async def patch_order_cart_obj(
order_cart_id: str = Query(..., min_length=1, max_length=22),
order_cart_obj: Order_Cart_Base = None,
repl_order_cart_line_li: Optional[bool] = False,
repl_order_cart_line_list: Optional[bool] = False, # Replace all the lines instead of trying to update
# was repl_order_cart_line_li # NOTE: It was with out _list, just _li
x_account_id: Optional[str] = Header(..., ),
return_obj: Optional[bool] = True,
inc_order_cart_line_li: Optional[bool] = True,