Order Edit Cancel using Storefront API

Mayank_Kumar
Shopify Partner
7 0 3

Can order created with Storefront API Android SDK be modified or cancelled ?

There is no mutation query option for either modifying or cancelling order created using Checkout.

 

Also, how to access admin APIs from Storefront Android SDK

for modifying or cancelling order as defined in below Shopify link;

 

https://shopify.dev/docs/admin-api/rest/reference/orders/order

 

 

Replies 7 (7)

vix
Shopify Staff
540 103 121

Hi @Mayank_Kumar 

 

At this time orders created by apps are unable to be edited. This includes orders created by the Storefront API. This is something however that we plan to build in the future - keep an eye on the changelog for details. 

To learn more visit the Shopify Help Center or the Community Blog.

cbodtorf
Shopify Partner
7 0 2

@vix 

Just found out orders cannot be edited in our use case.

We have a store utilizing the storefront api which creates checkouts and redirects to the webUrl to complete checkouts.

This is completely unacceptable as it is not documented anywhere, and now our client is understandably upset.

We really need a solution for this asap.

vix
Shopify Staff
540 103 121

This is something that has been brought up internally with our development team. I will update here when the feature is released. 

To learn more visit the Shopify Help Center or the Community Blog.

cbodtorf
Shopify Partner
7 0 2

@vix 
Thank you for the quick response!

vix
Shopify Staff
540 103 121

Just following up on this old thread because it tends to come up in search results. You can edit orders created through the Storefront API 100%. This launched a while ago but wanted to close the loop. 

 
 

To learn more visit the Shopify Help Center or the Community Blog.

proxamama
Shopify Partner
6 0 2

Hi, is there a storefront API yet to cancel/edit the order, also for listing all orders of a customer?

dotkonnek
Shopify Partner
9 0 0

Hi @vix , Is it possible through Storefront Api to Cancel and Edit Order? Please provide details. Thanks