Checkout does not exist Error

Shopify Partner
3 0 5

Hey there,
I've been trying to use "checkoutLineItemsAdd" and keep getting this error:

    "data": {
        "checkoutLineItemsAdd": {
            "checkout": null,
            "checkoutUserErrors": [
                    "code": "INVALID",
                    "field": [
                    "message": "Checkout does not exist"

It works perfectly when I try it after using checkoutCreate using the storefront API, but not for dynamically extracting checkoutID from URL and cart token from localStorage, cookies, or Shopify.Checkout.cartToken. Even copy pasting the values gives me the same error when not using the checkoutCreate request & details.

Is it not possible to add/remove items on theme automatically created checkouts?


Replies 0 (0)