Tray Webhooks Integration

•
2
•

Implements real-time notification listeners for the Tray e-commerce platform to track changes in orders, products, and inventory.

This skill provides comprehensive guidance for implementing Tray's notification system (webhooks), enabling developers to build responsive integrations that react instantly to store events. It covers mandatory x-www-form-urlencoded payload handling, event routing for various scopes like orders and product stock, and architectural best practices such as asynchronous processing and idempotency. By using this skill, developers can ensure reliable data synchronization between Tray and external applications while adhering to Tray's specific retry logic and security requirements.

主要功能

01Configures real-time listeners for orders, products, customers, and stock.
02Handles standard x-www-form-urlencoded payload parsing and validation.
03Implements event routing based on scope_name and action parameters.
04Provides templates for asynchronous processing and rapid HTTP 200 responses.
05Includes MultiCD (Multi-Distribution Center) support for stock notifications.
062 GitHub stars

使用场景

01Automatically updating external inventory systems when product stock changes.
02Triggering shipping workflows or ERP synchronization upon new order insertion.
03Syncing customer data changes between Tray and a CRM in real-time.