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.

Cancellation on shopify

Cancellation on shopify

omuni
Shopify Partner
2 0 0

is it possible to cancel a particular item of a multi quantity/item order on shopify platform using rest api's or graphQl  queries?
if not, what are the alternatives to achieve similar outcome. 
use case :  end user(customer) want to cancel a particular item for an orders but not the whole order.

Reply 1 (1)

Liam
Community Manager
3108 344 899

The refundCreate mutation has an input argument where you can specify `refundLineItems` to select the ID of the line item you want to refund - would this work for your use case?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog