Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I’m trying to calculate a refund via this REST endpoint in a Remix application.
When I calculate a refund with a full shipping refund - "shipping": {"full_refund": true} - everything works fine.
However, when I’m trying to do a partial shipping refund - "shipping": {"amount": 29} - it doesn’t work.
Instead, I get an HTTPError: Response code 422 (Unprocessable Entity).
It's not the most difficult endpoint in the world, so I suspect a bug. But hard to tell.
Help? 😅
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025