Cart API

Cart API

miguelcabgil
Shopify Partner
14 0 8

Hey community. As we know Shopify has deprecated the Storefront Checkout APIs, so we must use the Cart API. Anyone knows how to complete a cart, like we used to using the Checkout API resources? We are using Stripe to complete the checkout programmatically using checkoutCompleteWithTokenizedPaymentV3, but right now it is not possible to use that mutation.

Reply 1 (1)

tgloc
Shopify Partner
1 0 0

I encountered the same problem. I migrated the application from CheckoutAPI to CartAPI and got stuck at the native payment step. According to Shopify's roadmap, native payment via APPLE PAY and GOOGLE PAY will be supported. You can find more information here: https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/cart#product-roadmap.

In the StorefrontAPI version 2024-07, I found two mutations: shopPayPaymentRequestSessionCreate and shopPayPaymentRequestSessionSubmit. I assume these two mutations will handle native payments. However, the documentation for these mutations is not clear. I don't know what information is required to make the request.