Can a Storefront API managed cart be submitted to the Online Store sales channel?

Shopify Partner
7 0 2

I am working with a theme where carts are managed with the Storefront API. Currently the cart.checkoutUrl is retrieved so the customer is routed to the web checkout to place the order.


However, when the order is placed, the Custom App managing the Storefront API access is listed as the Sales Channel the order came through.


I am wondering if it is possible to continue to manage the cart using the Storefront API but to have the orders come through the Online Store sales channel.

Reply 1 (1)

Shopify Partner
7 0 2

Hi guy, you are not alone😂

Maybe you can try AJAX API,    While it is ok to implement "add to cart" button by cart AJAX API, in my opinion, it is not a clean way to implement "buy now" button.

I posted a similar issue but nobody has given an answer yet .