Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Get Cart Key from Webhook

Get Cart Key from Webhook

milovanpinxtere
Shopify Partner
3 0 3

Since the recent developer changelog from Shopify (https://shopify.dev/changelog/storefront-api-changes-when-cart-id-is-missing-the-key-param), cart mutations require the cart key in addition to the cart ID. However, I cannot find where to get the key. It is not visible from other queries (e.g. GetCartFromId) and it is not in the payload the webhook CARTS_UPDATE sends. Can someone tell me where to get the key when I have the cartID?

Reply 1 (1)

lokki54
Shopify Partner
56 0 15

Also looking for a solution. Migrated app to latest API but this does not help