> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Restock



## OpenAPI

````yaml webhook Restocking
openapi: 3.1.0
info:
  title: Restocking Webhook
  version: 1.0.0
  description: >
    This webhook is sent out when a return is processed and you have the Restock
    setting in Loop

    set to webhooks rather than restocking set to Shopify directly. The response
    can be used to

    restock the item in your inventory management system. This setting is found
    in the Loop admin

    under Returns management > Policy settings >
    [**General**](https://admin.loopreturns.com/settings/general).


    | Response Header  | Description               |

    | ---------------- | ------------------------- |

    | X-Loop-Signature | Hashed Webhook Secret Key |


    The X-Loop-Signature is a base64, HMAC hash of body payload using the
    Webhook Secret provided

    by Loop.


    Note: Before attempting to create your hash of the POST request body, make
    sure slashes have

    been escaped & newlines have been removed from the JSON.
servers: []
security: []
paths: {}

````