Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Currently, I have my own admin app that adds/removes items from existing, paid for orders. Here is the scenario I'm trying to resolve...
When adding an item to an order using Shopify's Admin API, an invoice is emailed to the customer, requesting for them to pay for the item. This works as intended. Now, if the customer no longer wants us to keep the item on the order, we have two different edge cases:
1. The customer paid for the item already. We use the Admin API to cancel and refund the item (which works successfully).
2. The customer does not want to pay for the item via the invoice and wants it removed from the order.
Currently, I cannot find a way to just remove the item from the order via Shopify Admin API without refunding the item. So, say the item is $30. Even if the customer hasn't paid for the item, a refund of $30 is issued when removing it from the order. The invoice isn't updated either! Here is a screenshot of what it looks like in Shopify Admin after trying to cancel the item:
To be clear, using the Edit button in Shopify Admin works correctly, updating the invoice and removing the item from the order. Any help would be greatly appreciated!
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022