Authenticate using an Ecwid OAuth token with the read_catalog and update_catalog scopes and fetch the full product catalog via the Products endpoint with pagination using limit and offset parameters
Map Ecwid product combinations (the Ecwid term for variants) and their combinationNumber identifiers to the multichannel system's SKU structure, preserving the combinationNumber for write-back
Subscribe to Ecwid webhooks for product.updated and order.created events to receive real-time inventory change signals without continuous polling
On order creation via webhook, decrement the corresponding SKU's quantity in the multichannel inventory ledger, then push the updated quantity back to Ecwid using the PUT Products endpoint with the quantity field
Handle Ecwid's inventory tracking modes: products with unlimited stock have quantity set to null and should not be decremented in the ledger
Run a nightly reconciliation job that compares Ecwid product quantity values against the multichannel ledger and flags discrepancies exceeding a configurable threshold for manual review
Known gotchas
Ecwid uses a single quantity field per combination (variant); if the multichannel system tracks warehouse-level quantities, aggregate across all warehouse locations before writing back to Ecwid
Ecwid's API rate limits are per-store and relatively low; bulk catalog fetches should use the maximum allowed page size and cache responses to avoid exhausting the hourly quota
The Ecwid product.updated webhook fires on any product change including description edits; filter by checking whether the quantity field actually changed before triggering inventory sync logic
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp