Hi ,
I want to apply coupon on existing checkout. I have tried https://shopify.dev/api/storefront/2022-04/mutations/checkoutDiscountCodeApplyV2 this API but this returns checkoutUserErrors in checkoutID.
I am using checkout create webhook, that returns response from that I have taken
“abandoned_checkout_url”:"https:store.myshopify.com\69343117630/checkouts*XXXX*?key=YYYY
This is the checkout ID I used
$checkoutID = base64_encode(“gid://shopify/Checkout/XXXX?key=YYYY”);
Could anyone help me
Thanks ![]()
