Loop Restock Functionality & API Calls

Overview

Loop has functionality that allows merchants to mark products as returned and restock them into Shopify directly from the Loop admin. A high level overview of how this feature works and how to turn it on can be found in the Inventory section of this article.

Loop marks products as returned and restocks them the way Shopify expects those actions to be performed. Because we do it in a way that Shopify expects, we also align with most third party systems as far as how restocking should be done.

How does Loop Restock?

Loop is now restocking using native Shopify restock functionality in the Refund API, specifically the restock_type field.  More information on the Refund API can be found directly from Shopify, here.

The  restock_type field indicates how this refund line item affects inventory levels in Shopify. Valid values that can be passed along here are:

  • no_restock: Refunding these items won’t affect inventory. The number of fulfillable units for this line item will remain unchanged. For example, a refund payment can be issued but no items will be returned or made available for sale again.
  • cancel: The items have not yet been fulfilled. The canceled quantity will be added back to the available count. The number of fulfillable units for this line item will decrease.
  • return: The items were already delivered, and will be returned to the merchant. The returned quantity will be added back to the available count. The number of fulfillable units for this line item will remain unchanged.
  • legacy_restock: The deprecated restock property was used for this refund. These items were made available for sale again. This value is not accepted when creating new refunds.

Loop will use no_restock and return when processing returned products. Those calls will in turn drive the "restock": true or "restock": false flags. Though it may not be true for all third party systems, many of the ones we work with look for these flags to authorize restocking. Check with the system you use before leveraging this functionality.

If restocking is turned off in Loop, a setting that can be changed in your General Settings, Loop will pass no_restock when the return is processed.


If you have any questions about how restocking works in Loop, please reach out to us at support@loopreturns.com.