Loop Returns · Schema

Loop Returns - Webhook

A programmatic webhook subscription in Loop for receiving real-time event notifications.

ReturnsE-CommerceExchangesRefundsShippingPost-PurchaseShopifyFraud PreventionRetail

Properties

Name Type Description
id integer The webhook's unique identifier.
shop_id integer The unique identifier of the shop that created the webhook.
topic string The category of events this webhook covers.
trigger string The specific event condition that fires this webhook notification.
url string The URL where webhook notifications are sent.
status string Whether the webhook subscription is active.
View JSON Schema on GitHub

JSON Schema

loop-returns-webhook.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/loop-returns/main/json-schema/loop-returns-webhook.json",
  "title": "Loop Returns - Webhook",
  "description": "A programmatic webhook subscription in Loop for receiving real-time event notifications.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The webhook's unique identifier.",
      "examples": [12345]
    },
    "shop_id": {
      "type": "integer",
      "description": "The unique identifier of the shop that created the webhook.",
      "examples": [65432]
    },
    "topic": {
      "type": "string",
      "description": "The category of events this webhook covers.",
      "enum": ["return", "label", "restock", "label.request", "giftcard", "happy.returns.shipment"],
      "examples": ["return"]
    },
    "trigger": {
      "type": "string",
      "description": "The specific event condition that fires this webhook notification.",
      "enum": [
        "return.created",
        "return.updated",
        "return.closed",
        "label.created",
        "label.updated",
        "restock.requested",
        "label.request.issued",
        "label.request.cancelled",
        "giftcard.requested",
        "shipment.processed"
      ],
      "examples": ["return.created"]
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL where webhook notifications are sent.",
      "examples": ["https://example.com/webhook"]
    },
    "status": {
      "type": "string",
      "description": "Whether the webhook subscription is active.",
      "enum": ["active", "inactive"],
      "default": "inactive",
      "examples": ["active"]
    }
  },
  "required": ["topic", "trigger", "url"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/loop-returns-webhook"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.