• Resolved supermahesh

    (@supermahesh)


    Hi Team i am trying to update item quantity for guest users . but i am not able to update . can you please help me out.
    api end point: https://agivant.wpenginepowered.com/wp-json/cocart/v2/cart/item/
    body :

    {

        “quantity”: “12”,

        “item_key”: “182be0c5cdcd5072bb1864cdee4d3d6e”,

        “cart_key”: “ff904c79fec60d7461ea0f03ab0b49”,

        “return_cart”: true

    }
    Response

    {

        “code”: “cocart_item_not_in_cart”,

        “message”: “Item specified does not exist in cart.”,

        “data”: {

            “status”: 404

        }

    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    Hi @supermahesh

    Sorry for the late response. I have tested in Postman using your routes adding a product to cart and updating the item quantity and it was successful.

    curl --location --request POST 'https://agivant.wpenginepowered.com/wp-json/cocart/v2/cart/item/e369853df766fa44e1ed0ff613f563bd?cart_key=de94df7b24e24b8d4450f07e793a35&quantity=4'

    Are you still having issues?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.