xcladeDocs

Webhooks & Integrations

Inbound provider webhooks on Store Pods & Control Plane, plus outbound tenant webhook subscriptions

Webhooks & Integrations

xclade handles webhooks across three layers: inbound store-pod provider webhooks, inbound Control Plane webhooks, and outbound tenant event webhooks.


1. Store Pod Inbound Webhooks

Mounted directly on every isolated store pod (https://{shortId}.api.myxclade.com):

EndpointProviderVerification
POST /webhooks/stripeStripeStripe-Signature HMAC verification against the store's webhook secret.
POST /webhooks/authorizenetAuthorize.NetX-ANET-Signature SHA-512 HMAC verification.
POST /webhooks/idrabbitID RabbitCryptographic signature check updating cart/order identity & 21+ verification state.
POST /webhooks/shipstationShipStationCarrier shipment & tracking synchronization.
POST /webhooks/easypostEasyPostReal-time carrier tracking event ingestion.
POST /webhooks/shippoShippoFulfillment label & tracking updates.
POST /webhooks/zoho-orderZoho Books / InventoryOrder status and invoice sync.
POST /webhooks/zoho-skuvaultZoho / SkuVaultWarehouse stock level synchronization.

2. Control Plane Inbound Webhooks

Mounted directly at root on https://api.xclade.com:

EndpointProviderPurpose
POST /webhooks/stripeStripe BillingSubscription lifecycle, invoices, and add-on entitlements.
POST /webhooks/sesAWS SNS (SES)Cryptographically verified SNS notifications for email deliveries, bounces, complaints, opens, and clicks in Growth Studio.
POST /webhooks/github/storefrontGitHubAutomatic sync for merchant repositories linked to Storefront Studio.
POST /webhooks/github/store-templatesGitHubAutomatic registry updates when templates push to xclade/store-templates.

3. Outbound Tenant Webhooks

Subscribe your ERP, WMS, or custom microservices to store events via Merchant Admin GraphQL (POST /admin/graphql) or the Store Admin Console:

mutation CreateWebhook {
  upsertWebhookEndpoint(
    url: "https://erp.yourbrand.com/hooks/xclade"
    events: ["order.placed", "order.fulfilled", "quote.accepted", "inventory.adjusted"]
    enabled: true
  ) {
    id
    url
    events
    enabled
  }
}

Inspect active endpoints with:

query ListWebhooks {
  webhookEndpoints {
    id
    url
    events
    enabled
    created_at
  }
}

Best Practices for Webhook Receivers

  • Verify signatures before processing any payload.
  • Process idempotently using event/order IDs so retries never create duplicate ERP orders or inventory adjustments.
  • Return 2xx quickly (under 5 seconds) and offload heavy downstream work to your own background queue.

On this page